Creating an AWS Hosted VIF for an MVE with Aruba EdgeConnect 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.
To create a Hosted VIF from an MVE to AWS
- In the Megaport ONE Portal, choose Networking > Services.
- Click the Gear icon next to the MVE you want to use.
- Select Add Connection.
- Specify the General connection details:
- Connection Type – Select Cloud Virtual Cross Connect.
- Cloud Provider – Select Amazon Web Services.
- AWS Connection Type – Select Hosted VIF.
- 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.
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 – An optional field, specifies 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 – An optional field to 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 – (Public connections only) An optional field for 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.
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 – This is 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 – Optionally, 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.
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.
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.
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 you are viewing the correct region.
To review and accept the private virtual interface
From the AWS Direct Connect > Virtual Interfaces page, click the ID of the interface to display the configuration and peering details.
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.
Select the gateway type and then the specific gateway for this new virtual interface.
Click Accept virtual interface.
The state of the connection changes from confirming to pending, and then changes to available once BGP is 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
- From the AWS Direct Connect > Virtual Interfaces page, click the ID of the interface to display the configuration and peering details.
- 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 72 hours. When verified, the state changes to available.
Adding AWS connection details to Aruba 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 Aruba Orchestrator. This involves adding a LAN interface and configuring BGP settings, ASNs, VLANs, and MD5 values.
To add a LAN interface in Aruba Orchestrator
Collect the connection details from the Megaport ONE Portal.
To display the details, click the Gear icon for the AWS connection from your MVE and select Edit. Select the Details tab and note the values for the A-End VLAN, Customer Address (and CIDR), Amazon Address, and Customer ASN.
Log in to Aruba Orchestrator.
Go to Configuration > Networking | Deployment.
Locate the appliance by the hostname and click the Edit (pencil) icon.
If you do not have a wan0 LAN side interface: Click +Add next to LAN Interfaces and in the Interface drop-down menu, choose wan0.
If you already have a wan0 LAN interface, click +IP to add a new configuration.
In the VLAN field, enter the A-End VLAN for the AWS connection from the Megaport ONE Portal.
- Optionally, select a preconfigured Label or select None.
In the IP/Mask field, enter the IP address and mask for the MVE side of the AWS connection.
This value is the Customer Address from the AWS connection details in the Portal.
For the Next Hop, enter the IP address for the Amazon side of the connection.
Specify in and out bandwidth values.
The bandwidth must be equal to or less than the MVE bandwidth limit.
This image shows sample configuration values.
If prompted, reboot the appliance.
A reboot is required only when adding the first LAN interface, as the system switches the appliance from server mode to router mode.
Once the device is reachable from Orchestrator, you can configure a BGP session.
- In Orchestrator, go to Configuration > Networking | Routing | BGP.
- Click the Edit (pencil) icon for the appliance.
- Move the slider to Enable BGP.
Provide the Autonomous System Number.
This is the Customer ASN (your local MVE), collected in Step 1.
In the Router ID field, enter a system IP as required by your network design.
You can use any IP address on the MVE, such as the loopback 0 IP specified during the initial acceptance of the appliance, the interface IP on the MVE side of the VXC, or the transit IP address.
In the BGP Peers section, click Add and provide the following information:
- Peer IP – This is the Amazon IP address, collected in Step 1 from the connection details.
- Local Interface – Choose the associated LAN interface (the interface is in the format wan0+VLAN).
- Peer ASN – This is the AWS ASN. By default, this value is 64512.
- Peer Type – Choose Branch.
- Enable MD5 Password – If required, select this and then enter and confirm your MD5 password.
- Click Apply.
It takes several seconds for the configuration to be pushed to the appliance. Click the refresh icon to update the data from the appliance.
When successful, the Peer State indicates Established:
You can also check the BGP status for the VIF in the AWS console and verify the AWS BGP session is up:
Validating your AWS connection
You can review connection details, including the connection state, from the CLI with these commands:
show interface wan0.<subinterface id>– Displays configuration details and current status for the appliances.
show bgp neighborsor
show bgp summary– Displays configuration details and current status for the BGP neighbors.
To start a CLI session from Orchestrator
In Orchestrator, use the mouse to hover over the appliance and click the Appliance Menu icon to the right of the appliance name.
Choose CLI Session from the menu.
Enter enable mode to use the recommended CLI commands to display configuration details.