2 minutes read

Create a Virtual Interface

Create a public or private virtual interface to route traffic over your AWS Direct Connect connection.
Milica Dancuk
· Updated
November 26, 2026

Traffic cannot route over AWS Direct Connect without a virtual interface (VIF). One physical connection can support multiple VIFs. Create a public VIF for public AWS resources, or a private VIF for an Amazon Virtual Private Cloud (VPC).

Prerequisites

Have a connection with the Available status (if you use a hosted connection, accept it first). Gather the network parameters (VLAN ID, peer IP addresses, BGP keys). For a private VIF, have a public or private ASN and the virtual private gateway (VPG).

Note

Hosted connections below 1 Gbps support only one virtual interface. To reach multiple isolated VPCs, create a private VIF for each VPC.

Method 1: Create a Public Virtual Interface

A public VIF reaches public-facing AWS resources, such as Amazon S3, DynamoDB, or public service endpoints, without crossing the public internet.

Note

A public VIF does not connect to an Amazon VPC. To reach a VPC, create a private VIF instead.

2. In the navigation pane, click Connections, and select the connection to use.

3. Click Actions, then select Create Virtual Interface.

4. Select Public as the virtual interface type.

5. In the Define Your New Public Virtual Interface form, enter the following values, then click Continue:

FieldDescriptionExample
ConnectionSelect an existing physical connection for the VIF.phoenixNAP Connection
Virtual Interface NameEnter a name for the VIF.phoenixNAP Virtual Interface
Virtual Interface OwnerSelect the owner of the interface.My AWS Account
Connection toCreate a Direct Connect gateway (DCG) from this screen, or select an existing DCG from the dropdown. You can deploy a DCG in any supported public AWS Region.N/A
VLANEnter the VLAN tag for traffic across the connection, from 2 to 4094. The ID must be unique and not conflict with other VLANs in your network. Do not use VLAN 1, which is typically reserved for default management traffic. For colocated infrastructure, the hosting provider allocates the VLAN ID.200
Address FamilySelect IPv4 or IPv6. For an IPv6 BGP peer, select IPv6. AWS assigns IPv6 addresses automatically, and you cannot specify a custom address.IPv4
BGP ASNEnter the BGP ASN of your gateway. Select Auto-generate BGP key to have AWS generate a BGP MD5 key.65000

Method 2: Create a Private Virtual Interface

A private VIF creates a secure, direct connection to a specific VPC.

Note

If you connect to the phoenixNAP AWS Direct Connect endpoint, configure every option except the VLAN field. phoenixNAP provides the VLAN number, which must comply with the Ethernet 802.1Q standard.

2. In the navigation pane, click Connections, and then select the connection to use.

3. Click Actions, then select Create Virtual Interface.

4. Select Private as the virtual private interface type.

5. Enter the values from the table in Method 1.

After you create the VIF, its status is pending.

Note

If you created the VPC with the AWS VPC Wizard, route propagation is typically on by default. AWS then advertises routes to the associated route tables. To stop this behavior, turn off automatic propagation in the route table configuration.