Skip to content

Creating an AWS Hosted VIF for an MVE with VMware SD-WAN

Hosted VIFs can connect to public or private AWS cloud services: a Hosted VIF cannot connect to a transit virtual interface. These connections share bandwidth.

  1. In the Megaport ONE Portal, choose Networking > Services.
  2. Click the gear icon Gear icon next to the MVE you want to use.
  3. Select Add Connection.
    Add Connection
  4. Specify the General connection details:
    • Connection Type – Select Cloud Virtual Cross Connect.
    • Cloud Provider – Select Amazon Web Services.
    • AWS Connection Type – Select Hosted VIF.
  5. Select the AWS destination port.
    You can search for your preferred AWS port using the Region drop-down list, or enter a search term to filter results as you type. Click Clear Filters to reset the filters.
  6. Specify the AWS Configuration details:

    • AWS Connection Name – This is a text field and will be the name of your virtual interface that appears in the AWS console. The AWS Connection Name is automatically populated with the name specified in a previous step.
    • AWS Account ID – This is the ID of the account you want to connect. You can find this value in the management section of your AWS console.
    • Customer ASN (optional) – Specify the ASN used for BGP peering sessions on any VXCs connected to the MVE. This value is defined when you configure the MVE and, once defined, it cannot be changed.
    • Type – Select Public or Private.
      • Private – Access private AWS services such as a VPC, EC2 instances, load balancers, RDS DB instances, on private IP address space.
      • Public – Access public AWS services such as Amazon Simple Storage Service (S3), DynamoDB, CloudFront, and Glacier. You’ll also receive Amazon’s global IP prefixes (approximately 2,000 prefixes).
        Note: Public VIFs require manual intervention from Amazon and could take up to 72 hours.
    • BGP Password (optional) – Specify the BGP MD5 key. If you leave this blank, Megaport negotiates a key automatically for you with AWS, and displays the key in the Megaport ONE Portal. (The key is not displayed in the AWS console.)
    • Customer IP Address – The IP address space (in CIDR format) used on your network for peering. This field is optional for private connections and if left blank, Megaport ONE assigns an address.
    • Amazon IP Address – The IP address space in CIDR format assigned in the AWS VPC network for peering. This field is optional for private connections and if left blank, Megaport ONE automatically assigns an address.
    • Prefixes (optional) – (visible for Public connections only) Specifies IP Prefixes to announce to AWS. Specify the prefixes you will advertise when deploying a Public Direct Connect (RIR-assigned IPv4 addresses only).

      After you configure Prefixes for a Public connection, you cannot change them and the field is dimmed. To change this value, create a support ticket with AWS so they can make this change in a non-impacting way. Or, you can cancel the Hosted VIF and reorder. In both cases, you need to wait for AWS to manually approve the request.
      Connection details

  7. Specify these VXC Configuration details:

    • VXC Name – The name of your VXC to be shown in the Megaport ONE Portal. (Tip – match this to the AWS Connection Name on the next screen for easy mapping.)
    • Rate Limit – The speed of your connection in Mbps. Accepted values range from 1 Mbps to 5 Gbps in 1 Mbps increments. Note the sum of all hosted virtual VXCs to a service can exceed the MVE capacity, but the total aggregate will never burst beyond the MVE capacity.
    • A-End VLAN (optional) – Specify an unused VLAN ID for this connection. This must be a unique VLAN ID on this MVE and can range from 2 to 4093. If you specify a VLAN ID that is already in use, the system displays the next available VLAN number. The VLAN ID must be unique to proceed with the order. If you don’t specify a value, Megaport ONE will assign one.
      Connection details
  8. Specify the Billing Details:

    • Service Level Reference (optional) – Specify a unique identifying number for the VXC to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.

      Note

      Partner-managed accounts can apply a Partner Deal to a service.

    • Promo Code – If you have a promo code, enter it and click Add Code.

  9. Click Create Connection.

The AWS VXC appears as a connection for the MVE in the Megaport ONE Portal.

Next, accept the connection in AWS.

Accepting the Virtual Interface for Private Connections

A few minutes after ordering a private Hosted VIF VXC, the corresponding inbound VIF request is visible on the AWS Direct Connect > Virtual Interfaces page in the AWS console. (This is specific to the region associated with the target AWS port.) If your VIF doesn’t appear after a few minutes, confirm that you are viewing the correct region.

To review and accept the private virtual interface

  1. From the AWS Direct Connect > Virtual Interface page, click the ID of the interface to display the configuration and peering details.
    Accepting AWS Virtual Interfaces

    The name and account ID of the VIF should match the values supplied in the Portal and the BGP ASN should match the Customer ASN configured with the VXC. The Amazon ASN is the default region’s AWS ASN and not the value specified during the configuration - this is updated when the virtual interface is accepted and assigned.

  2. Click Accept.

  3. Select the gateway type and then the specific gateway for this new virtual interface.
    Specify a gateway

  4. Click Accept virtual interface.

The state of the connection changes from confirming to pending, and then changes to available once BGP has established. Note that sometimes there is a delay in the available BGP status appearing on the AWS end, though you can confirm the current state of the Layer 3 link through the Portal view.

Accepting the Virtual Interface for Public Connections

Several minutes after ordering a public Hosted VIF VXC, the corresponding inbound VIF request appears on the AWS Direct Connect > Virtual Interfaces page in the AWS console. (This is specific to the region associated with the target AWS port.)

To review and accept the public virtual interface

  1. From the AWS Direct Connect > Virtual Interface page, click the ID of the interface to display the configuration and peering details.
  2. Review the configuration details and click Accept, and when prompted, click Confirm.

The state of the connection changes from confirming to verifying. At this point, the connection needs to be verified by Amazon - a process that can take up to 48 hours. When verified, the state changes to available.

Adding AWS connection details to Orchestrator

After you create the connection from your MVE to AWS and set up the connection in the AWS console, you need to configure it in Orchestrator. This involves configuring BGP settings, ASNs, VLANs, and MD5 values.

To add the AWS connection in Orchestrator

  1. Collect the connection details from the Megaport ONE Portal.
    To display the details, click the gear icon Gear icon for the AWS connection from your MVE and select the Details tab. Note the values for the A-End VLAN, Customer Address (and CIDR), and Amazon Address.

  2. In Orchestrator, go to Configure > Edges and click the MVE device.
    Select the Edge

  3. Click the Device tab and scroll down to the Interface Settings.

  4. Click +Add Subinterface.
    Add Subinterface
    The Select Interface dialog box appears.

  5. From the Select Interface menu, choose GE3 and for the Subinterface ID enter the A-End VLAN ID configured on the MVE in the Megaport ONE Portal.
    Select Interface
    The subinterface settings appear.

  6. Change the Addressing Type to Static and provide the IP Address, CIDR value, and Gateway.
    These values are available in the connection details on the Megaport ONE Portal. The IP address and CIDR appear in the Customer Address field; the Gateway appears in the Amazon Address field. Subinterface Settings

  7. Ensure Enable VLAN Tagging is enabled.
    The field is automatically populated with the VLAN ID you specified for the subinterface ID.

  8. Click Update GE3:vlan-id.

  9. In the upper-right corner of the Configure > Edges window, click Save Changes and then confirm.
    This configures the interface, VLAN tags, and IP addresses so you can test with ping commands through the CLI. (BGP is not yet configured.)

    Note

    Adding the subinterface momentarily disrupts the connection.

To configure BGP for the AWS connection in Orchestrator

  1. In Orchestrator, go to Configure > Edges and click the MVE device.

  2. Click the Device tab and in the Configure Segments section click Enable Edge Override for BGP Settings.
    This override lets us define BGP values specific for this device beyond the profile definition.
    Enable BGP

  3. Click the toggle button to turn on BGP and click Edit.
    The BGP Editor appears.

  4. For Local ASN, add the Customer ASN from the Megaport ONE connection details.

  5. For the Neighbor IP, add the Amazon Address from the Megaport ONE connection details.

  6. Add the Amazon ASN to the ASN field for the neighbor.
    By default this is 64512.

  7. View all Additional Options and select MD5 Auth and enter your MD5 Password from the Megaport ONE connection details.
    BGP Settings

  8. Click OK and then click Save Changes.

Validating your connection

The BGP connection can take approximately 5 minutes to establish. Once connected, you can verify the connection in both Orchestrator and AWS.

Under Test & Troubleshoot > Remote Diagnostics, select the MVE and click Run for Troubleshoot BGP - Show BGP Summary to verify the BGP session and ensure the AWS router is up.

You can also check connectivity and BGP status from the CLI of the edge device. For details, see Reviewing your VMware MVE connection settings.

From the AWS console, confirm the state of the Virtual Interface (under the General Configuration tab) is available. The state changes to available when the BGP connection is established.


Last update: 2023-05-26