> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MVE Diversity

> This help topic describes the functionality and specifications of the diversity of Megaport Virtual Edge (MVE).

export const InlineImage = ({src, alt, height = 16, shadow, width}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: InlineImage -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  if (typeof alt !== 'string') {
    alt = String(alt);
  }
  if (alt === 'undefined') {
    console.error(`${errorPrefix} \`alt\` is required (use "" for decorative images) — rendering an empty string instead`);
    return <></>;
  }
  if (height) {
    height = height.toString().replaceAll(/\D/g, '');
  }
  if (width) {
    width = width.toString().replaceAll(/\D/g, '');
  }
  return <img className={['inline-icon', shadow ? 'shadow' : null, 'm-0'].filter(Boolean).join(' ')} src={src} alt={alt} height={height} width={width} style={{
    display: 'inline',
    verticalAlign: 'middle',
    maxHeight: height ? `${height}px` : undefined,
    maxWidth: width ? `${width}px` : undefined,
    height: height ? `${height}px` : undefined,
    width: width ? `${width}px` : undefined
  }} />;
};

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

export const productLong_0 = "Megaport Virtual Edge"

export const productShort_0 = "MVE"

Diverse connections improve the robustness of your network by using different physical infrastructure to provide network services. Diverse connections build in redundancy and eliminate single points of failure.

{ productLong_0 } ({ productShort_0 }) simplifies the deployment of diverse connections by establishing diversity zones. A diversity zone is a group of devices at a single Megaport location. { productShort_0 }s in different diversity zones are physically separated on Megaport devices and connected to different devices.

During Megaport scheduled maintenance, no more than one diversity zone in a given metro will experience downtime at any time. Whenever possible, diversity zones in the same city have maintenance periods scheduled for different days.

Each { productShort_0 } indicates its diversity zone with either a red or blue icon.

## Selecting a diversity zone

When you select the location for your { productShort_0 }, you can select the diversity zone.

When you choose a diversity zone, the location results list will be filtered by that zone:

* **Auto (default)** -- This will show all locations where { productShort_0 } is available.
* **Red or Blue diversity zone** -- If you select Red or Blue diversity zone, only locations that have availability in that zone will be displayed.

<Image src="/images/snippets/diversity-zones.png" alt="This image shows the buttons available to select a diversity zone. There is a half-blue and half-red circle for auto selection, a red circle for red diversity zone, and a blue circle for blue diversity zone." shadow={true} width={400} />

|                                                      Icon                                                      | Meaning                    | Use case                                                   |
| :------------------------------------------------------------------------------------------------------------: | :------------------------- | :--------------------------------------------------------- |
| <InlineImage src="/images/snippets/diversity-auto.png" alt="Auto diversity zone." shadow={true} height={35} /> | Auto select diversity zone | Allow Megaport to allocate the diversity zone              |
|  <InlineImage src="/images/snippets/diversity-red.png" alt="Red diversity zone." shadow={true} height={35} />  | Red diversity zone         | Allocate the { productShort_0 } to the red diversity zone  |
| <InlineImage src="/images/snippets/diversity-blue.png" alt="Blue diversity zone." shadow={true} height={35} /> | Blue diversity zone        | Allocate the { productShort_0 } to the blue diversity zone |

### Auto diversity zone

If you choose the Auto diversity zone option, Megaport will select the zone to which your service is allocated.\
The following rules apply:

* If both diversity zones are available, one zone will be chosen.
* If only one zone is available, that zone will be chosen.
