> ## 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.

# Understanding Locations

> This help topic describes how to use the Megaport Enabled Locations page.

export const Video = ({url, text, duration, description}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Video -';
  if (typeof url !== 'string') {
    url = String(url);
  }
  if (typeof text !== 'string') {
    text = String(text);
  }
  if (!url || url === 'undefined') {
    console.error(`${errorPrefix} the \`url\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (!text || text === 'undefined') {
    console.error(`${errorPrefix} the \`text\` property is required — rendering an empty string instead`);
    return <></>;
  }
  const youtubeIconMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232 336V176l142.7 80z'/%3E%3C/svg%3E\")";
  return <div className="video-callout">
      <div className="callout my-4 flex gap-3 overflow-hidden rounded-2xl border px-5 py-4">
        <div className="mt-0.5 w-4 shrink-0" data-component-part="callout-icon">
          <svg aria-hidden="true" className="size-4 shrink-0" style={{
    WebkitMaskImage: youtubeIconMask,
    maskImage: youtubeIconMask,
    WebkitMaskRepeat: 'no-repeat',
    maskRepeat: 'no-repeat',
    WebkitMaskPosition: 'center',
    maskPosition: 'center',
    backgroundColor: '#0284c7'
  }} />
        </div>
        <div className="min-w-0 w-full text-sm" data-component-part="callout-content">
          <strong>
            Video:{' '}
            <a href={url} target="_blank" rel="noopener noreferrer">
              {text}
              <span className="sr-only"> (opens in a new tab)</span>
            </a>
          </strong>
          {}
          {duration && <> ({duration})</>}
          {}
          {description && <p className="mt-1 mb-0 text-xs text-gray-500 dark:text-gray-400">
              {description}
            </p>}
        </div>
      </div>
    </div>;
};

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;
};

Megaport’s global network infrastructure consists of carrier grade switching equipment hosted in data centers around the world. On the [Megaport Enabled Locations page](https://www.megaport.com/megaport-enabled-locations/), you can search for nearby Megaport Points of Presence (PoPs) where you can connect to the Megaport network.

<Image src="/images/enabled-locations/enabled-locations-map.png" alt="Enabled Locations map" shadow={true} width={1000} />

## Using the Enabled Locations map

There are two types of locations where you can connect to Megaport’s network:

* **Installed** -- These locations contain Megaport networking hardware, and you can connect to any of them through the Megaport Portal.
* **Extended** -- These locations share the same campus or metro area as an Installed Location. Megaport hardware is not located within the Extended Location facility, but you can access it through a private intra-campus or intra-metro cross connect. You can order this cross connect to the Megaport Installed location from your Data Center Operator at the Extended Location.

Enabled Locations encompass both Installed and Extended Locations.

**To find a PoP on the Enabled Locations map**

1. On the [Megaport Enabled Locations page](https://www.megaport.com/megaport-enabled-locations/), click Find My Location.
   <Image src="/images/enabled-locations/find-location.png" alt="Find My Location" shadow={true} width={200} />
   You can also click Locations and filter by provider, geographical location, or Megaport service availability. You can search for locations where you can connect to a Megaport Virtual Edge (MVE), a 100 G Port, or a Megaport Cloud Router (MCR).
2. Enter a street address to drop a pin on the map.\
   The map zooms in on your specified address to include the pin and at least one Extended Location, if available.

   <Image src="/images/enabled-locations/extended-zoomed.png" alt="Zoomed in location" shadow={true} width={500} />

   A red pin represents an Installed Location, or Megaport PoP. A purple pin represents an Extended Location.

   When you zoom out, a black marker indicates a geographical area with a cluster of locations. The number on the black marker indicates how many red pins are located in the cluster. Click the black marker to zoom in on the locations.

   <Image src="/images/enabled-locations/black-markers.png" alt="Black markers" shadow={true} width={400} />

   To connect to an extended location, click the purple pin and then click **Enquire about this location**. After you complete an inquiry form, a Megaport sales representative will reach out to you with information on setting up the physical cross connect.

   <Image src="/images/enabled-locations/extended-pin.png" alt="Extended location" shadow={true} width={400} />

## Viewing latency times

The data used to calculate Megaport's network latency is collected from monitoring equipment in Megaport-enabled data centers worldwide, in 5-minute intervals. Monthly latency and packet delivery statistics are calculated by averaging all samples from that month.

There are two ways to view latency times for a PoP:

* On the [Megaport Enabled Locations page](https://www.megaport.com/megaport-enabled-locations/), click **View latency** on any Megaport PoP.
* On the [Megaport Network Latency page](https://www.megaport.com/network-latency/), use location filters to search for a site.

<Image src="/images/enabled-locations/latency.png" alt="View latency link" shadow={true} width={300} />

<Video url="https://youtu.be/XSNm5q3d3n0" text="How to Check the Network Latency" duration="1:23" description="This video shows how to check latency between Megaport points of presence and compare latency values across the Megaport network." />

## Using location IDs for reliable configurations

In the Megaport API, data center location names and site codes might occasionally change as facilities are rebranded, merged, or updated. However, the location ID remains constant and is the most reliable way to identify a data center.

If your Terraform configurations or API scripts rely on a location name or code that changes, those integrations will fail to execute until the references are manually updated. This can lead to automation failures, deployment delays, or service disruptions.

To ensure consistency and reliability, we strongly recommend using the location ID instead of the name or site code when integrating with the Megaport API or defining resources in Terraform.

For the most up-to-date list of Megaport data center locations, see [Megaport Location IDs](/enabled-locations/location-ids).

Location IDs are also available through the [GET /v3/locations Megaport API](https://dev.megaport.com/#7c8e0706-e138-4d9a-bc4f-0419d97604cf).

## Helpful references

* [Creating a Megaport Terraform Provider Configuration File](/terraform/megaport-terraform-configuration)
* [Megaport API Overview](/api)
