Configure a Classic connection

Configure a Classic connection when you have existing Direct Connect connections.

Step 1: Sign up for AWS

To use AWS Direct Connect, you need an account if you don't already have one.

Sign up for an AWS account

If you do not have an AWS account, complete the following steps to create one.

To sign up for an AWS account
  1. Open https://portal.aws.amazon.com/billing/signup .
  2. Follow the online instructions. Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad. When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.

AWS sends you a confirmation email after the sign-up process is complete. At any time, you can view your current account activity and manage your account by going to https://aws.amazon.com/ and choosing My Account.

Create a user with administrative access

After you sign up for an AWS account, secure your AWS account root user, enable AWS IAM Identity Center, and create an administrative user so that you don't use the root user for everyday tasks.

Secure your AWS account root user
  1. Sign in to the AWS Management Console as the account owner by choosing Root user and entering your AWS account email address. On the next page, enter your password. For help signing in by using root user, see Signing in as the root user in the AWS Sign-In User Guide.
  2. Turn on multi-factor authentication (MFA) for your root user. For instructions, see Enable a virtual MFA device for your AWS account root user (console) in the IAM User Guide.
Create a user with administrative access
  1. Enable IAM Identity Center. For instructions, see Enabling AWS IAM Identity Center in the AWS IAM Identity Center User Guide.
  2. In IAM Identity Center, grant administrative access to a user. For a tutorial about using the IAM Identity Center directory as your identity source, see Configure user access with the default IAM Identity Center directory in the AWS IAM Identity Center User Guide.
Sign in as the user with administrative access
Assign access to additional users
  1. In IAM Identity Center, create a permission set that follows the best practice of applying least-privilege permissions. For instructions, see Create a permission set in the AWS IAM Identity Center User Guide.
  2. Assign users to a group, and then assign single sign-on access to the group. For instructions, see Add groups in the AWS IAM Identity Center User Guide.

Step 2: Request an AWS Direct Connect dedicated connection

For dedicated connections, you can submit a connection request using the AWS Direct Connect console. For hosted connections, work with an AWS Direct Connect Partner to request a hosted connection. Ensure that you have the following information:

Note

You cannot use the AWS Direct Connect console to request a hosted connection. Instead, contact an AWS Direct Connect Partner, who can create a hosted connection for you, which you then accept. Skip the following procedure and go to Accept your hosted connection.

To create a new AWS Direct Connect connection
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane choose Connections, and then choose Create a connection.
  3. Choose Classic.
  4. On the Create Connection pane, under Connection settings, do the following:
  1. For Name, enter a name for the connection.
  2. For Location, select the appropriate AWS Direct Connect location.
  3. If applicable, for Sub Location, choose the floor closest to you or your network provider. This option is only available if the location has meet-me rooms (MMRs) in multiple floors of the building.
  4. For Port Speed, choose the connection bandwidth.
  5. For On-premises, select Connect through an AWS Direct Connect partner when you use this connection to connect to your data center.
  6. For Service provider, select the AWS Direct Connect Partner. If you use a partner that is not in the list, select Other.
  7. If you selected Other for Service provider, for Name of other provider, enter the name of the partner that you use.
  8. (Optional) Add or remove a tag. [Add a tag] Choose Add tag and do the following:

[Remove a tag] Next to the tag, choose Remove tag.

It can take up to 72 hours for AWS to review your request and provision a port for your connection. During this time, you might receive an email with a request for more information about your use case or the specified location. The email is sent to the email address that you used when you signed up for AWS. You must respond within 7 days or the connection is deleted.

Accept your hosted connection

You must accept the hosted connection in the AWS Direct Connect console before you can create a virtual interface. This step only applies to hosted connections.

To accept a hosted virtual interface
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane, choose Connections.
  3. Select the hosted connection, and then choose Accept. Choose Accept.

(Dedicated connection) Step 3: Download the LOA-CFA

After you request a connection, we make a Letter of Authorization and Connecting Facility Assignment (LOA-CFA) available to you to download, or emails you with a request for more information. The LOA-CFA is the authorization to connect to AWS, and is required by the colocation provider or your network provider to establish the cross-network connection (cross-connect).

To download the LOA-CFA
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane, choose Connections.
  3. Select the connection and choose View Details.
  4. Choose Download LOA-CFA. The LOA-CFA is downloaded to your computer as a PDF file.
Note

If the link is not enabled, the LOA-CFA is not yet available for you to download. Check your email for a request for more information. If it's still unavailable, or you haven't received an email after 72 hours, contact AWS Support .

AWS Direct Connect locations that are listed as multiple sites (for example, Equinix DC1-DC6 & DC10-DC11) are set up as a campus. If your or your network provider’s equipment is located in any of these sites, you can request a cross-connect to your assigned port even if it resides in a different campus building.

Important

A campus is treated as a single AWS Direct Connect location. To achieve high availability, configure connections to different AWS Direct Connect locations.

If you or your network provider experience issues establishing a physical connection, see Troubleshooting layer 1 (physical) issues.

Step 4: Create a virtual interface

To begin using your AWS Direct Connect connection, you must create a virtual interface. You can create a private virtual interface to connect to your VPC. Or, you can create a public virtual interface to connect to public AWS services that aren't in a VPC. When you create a private virtual interface to a VPC, you need a private virtual interface for each VPC to which to connect. For example, you need three private virtual interfaces to connect to three VPCs.

Before you begin, ensure that you have the following information:

Resource Required information
Connection The AWS Direct Connect connection or link aggregation group (LAG) for which you are creating the virtual interface.
Virtual interface name A name for the virtual interface.
Virtual interface owner If you're creating the virtual interface for another account, you need the AWS account ID of the other account.
(Private virtual interface only) Connection For connecting to a VPC in the same AWS Region, you need the virtual private gateway for your VPC. The ASN for the Amazon side of the BGP session is inherited from the virtual private gateway. When you create a virtual private gateway, you can specify your own private ASN. Otherwise, Amazon provides a default ASN. For more information, see Create a Virtual Private Gateway in the Amazon VPC User Guide. For connecting to a VPC through a Direct Connect gateway, you need the Direct Connect gateway. For more information, see Direct Connect Gateways.
VLAN A unique virtual local area network (VLAN) tag that's not already in use on your connection. The value must be between 1 and 4094 and must comply with the Ethernet 802.1Q standard. This tag is required for any traffic traversing the AWS Direct Connect connection.

If you have a hosted connection, your AWS Direct Connect Partner provides this value. You can’t modify the value after you have created the virtual interface.

Note

We cannot guarantee that we will be able to fulfill all requests for AWS-provided public IPv4 addresses.

Public IPv4 routes or IPv6 routes to advertise over BGP. You must advertise at least one prefix using BGP, up to a maximum of 1,000 prefixes.

We request additional information from you if your public prefixes or ASNs belong to an ISP or network carrier. This can be a document using an official company letterhead or an email from the company's domain name verifying that the network prefix/ASN may be used by you.

For private virtual interface and public virtual interfaces, the maximum transmission unit (MTU) of a network connection is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either 1500 or 9001 (jumbo frames). The MTU of a transit virtual interface can be either 1500 or 8500 (jumbo frames). You can specify the MTU when you create the interface or update it after you create it. Setting the MTU of a virtual interface to 8500 (jumbo frames) or 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether a connection or virtual interface supports jumbo frames, select it in the AWS Direct Connect console and find Jumbo Frame Capable on the Summary tab.

When you create a public virtual interface, it can take up to 72 hours for AWS to review and approve your request.

To provision a public virtual interface to non-VPC services
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane, choose Virtual Interfaces.
  3. Choose Create virtual interface.
  4. Under Virtual interface type, for Type, choose Public.
  5. Under Public virtual interface settings, do the following:
  1. For Virtual interface name, enter a name for the virtual interface.
  2. For Connection, choose the Direct Connect connection that you want to use for this interface.
  3. For VLAN, enter the ID number for your virtual local area network (VLAN).
  4. For BGP ASN, enter the The Border Gateway Protocol Autonomous System Number of your on-premises peer router for the new virtual interface. The valid values are 1-2147483647.
  1. To configure an IPv4 BGP or an IPv6 peer, do the following: [IPv4] To configure an IPv4 BGP peer, choose IPv4 and do one of the following:

[IPv6] To configure 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.

[Remove a tag] Next to the tag, choose Remove tag.

To provision a private virtual interface to a VPC
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane, choose Virtual Interfaces.
  3. Choose Create virtual interface.
  4. Under Virtual interface type, for Type, choose Private.
  5. Under Private virtual interface settings, do the following:
  1. For Virtual interface name, enter a name for the virtual interface.
  2. For Connection, choose the Direct Connect connection that you want to use for this interface.
  3. For Gateway type, choose Virtual private gateway, or Direct Connect gateway.
  4. For Virtual interface owner, choose Another AWS account, and then enter the AWS account.
  5. For Virtual private gateway, choose the virtual private gateway to use for this interface.
  6. For VLAN, enter the ID number for your virtual local area network (VLAN).
  7. For BGP ASN, enter the Border Gateway Protocol Autonomous System Number of your on-premises peer router for the new virtual interface. The valid values are 1 to 2147483647.
  1. To configure an IPv4 BGP or an IPv6 peer, do the following: [IPv4] To configure an IPv4 BGP peer, choose IPv4 and do one of the following:
Important

If you let AWS auto-assign IPv4 addresses, a /29 CIDR will be allocated from 169.254.0.0/16 IPv4 Link-Local according to RFC 3927 for point-to-point connectivity. AWS does not recommend this option if you intend to use the customer router peer IP address as the source and/or destination for VPC traffic. Instead you should use RFC 1918 or other addressing, and specify the address yourself.

[IPv6] To configure 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.

[Remove a tag] Next to the tag, choose Remove tag.

Step 5: Download the router configuration

After you have created a virtual interface for your AWS Direct Connect connection, you can download the router configuration file. The file contains the necessary commands to configure your router for use with your private or public virtual interface.

To download a router configuration
  1. Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home .
  2. In the navigation pane, choose Virtual Interfaces.
  3. Select the connection and choose View Details.
  4. Choose Download router configuration.
  5. For Download router configuration, do the following:
    1. For Vendor, select the manufacturer of your router.
    2. For Platform, select the model of your router.
    3. For Software, select the software version for your router.

    After you configure your router, the status of the virtual interface goes to UP . If the virtual interface remains down and you cannot ping the AWS Direct Connect device's peer IP address, see Troubleshooting layer 2 (data link) issues. If you can ping the peer IP address, see Troubleshooting layer 3/4 (Network/Transport) issues. If the BGP peering session is established but you cannot route traffic, see Troubleshooting routing issues.

    Step 6: Verify your virtual interface

    After you have established virtual interfaces to the AWS Cloud or to Amazon VPC, you can verify your AWS Direct Connect connection using the following procedures.

    To verify your virtual interface connection to the AWS Cloud
    To verify your virtual interface connection to Amazon VPC
    1. Using a pingable AMI, such as an Amazon Linux AMI, launch an EC2 instance into the VPC that is attached to your virtual private gateway. The Amazon Linux AMIs are available in the Quick Start tab when you use the instance launch wizard in the Amazon EC2 console. For more information, see Launch an Instance in the Amazon EC2 User Guide. Ensure that the security group that's associated with the instance includes a rule permitting inbound ICMP traffic (for the ping request).
    2. After the instance is running, get its private IPv4 address (for example, 10.0.0.4). The Amazon EC2 console displays the address as part of the instance details.
    3. Ping the private IPv4 address and get a response.

    (Recommended) Step 7: Configure redundant connections

    To provide for failover, we recommend that you request and configure two dedicated connections to AWS, as shown in the following figure. These connections can terminate on one or two routers in your network.

    Redundant connection diagram

    There are different configuration choices available when you provision two dedicated connections:

    How you configure the connections doesn't affect redundancy, but it does affect the policies that determine how your data is routed over both connections. We recommend that you configure both connections as active.

    If you use a VPN connection for redundancy, ensure that you implement a health check and failover mechanism. If you use either of the following configurations, then you need to check your route table routing to route to the new network interface.

    To achieve high availability, we strongly recommend that you configure connections to different AWS Direct Connect locations.

    For more information about AWS Direct Connect resiliency, see AWS Direct Connect Resiliency Recommendations .