Menu
AWS Direct Connect
User Guide

Creating a Hosted Virtual Interface

You can create a public or private hosted virtual interface. Before you begin, ensure that you have read the information in Prerequisites for Virtual Interfaces.

To create a hosted virtual interface

  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/.

  2. If necessary, change the region in the navigation bar. For more information, see Regions and Endpoints.

  3. In the navigation pane, choose Connections.

  4. In the Connections pane, select the connection to which to add a virtual interface and choose Create Virtual Interface.

  5. On the Create a Virtual Interface screen, select the Private option.

  6. Under Define Your New Private Virtual Interface, do the following:

    1. For Virtual Interface Name, enter a name for the virtual interface.

    2. For Virtual Interface Owner, choose Another AWS Account. For Account ID, enter the AWS account ID number to associate as the owner of this virtual interface.

    3. For VLAN #, enter the ID number for your virtual local area network (VLAN).

    4. If you're configuring an IPv4 BGP peer, choose IPv4, and do the following:

      • To have AWS generate your router IP address and Amazon IP address, select Auto-generate peer IPs.

      • To specify these IP addresses yourself, clear the Auto-generate peer IPs check box. For Your router peer IP, enter the destination IPv4 CIDR address to which Amazon should send traffic. For Amazon router peer IP, enter the IPv4 CIDR address to use to send traffic to AWS.

    5. If you're configuring an IPv6 BGP peer, choose IPv6. The peer IPv6 addresses are automatically assigned from Amazon's pool of IPv6 addresses. You cannot specify custom IPv6 addresses.

    6. For BGP ASN, enter the Border Gateway Protocol (BGP) Autonomous System Number (ASN) of your gateway.

    7. Select the Auto-generate BGP key check box if you would like AWS to generate one for you.

      To provide your own BGP key, clear the Auto-generate BGP key check box. For BGP Authentication Key, enter your BGP MD5 key.

  7. Choose Continue. The new interface is added to the list of virtual interfaces on the Virtual Interfaces pane.

  8. After the hosted virtual interface is accepted by the owner of the other AWS account, you can download the router configuration file.

To create a hosted private virtual interface using the command line or API

To create a hosted public virtual interface using the command line or API