How can I set up a Direct Connect gateway?

2 minute read
0

I want to know how to set up an AWS Direct Connect gateway.

Short description

Before you create a Direct Connect gateway, determine if this type of gateway is appropriate for your use case. Note that when you use a Direct Connect gateway, you can't do the following tasks:

  • Associate a virtual private gateway with more than one Direct Connect gateway.
  • Use a Direct Connect gateway to connect to a Virtual Private Cloud (VPC) in the China Region.
  • Connect to VPCs with overlapping CIDR blocks.
  • Create a public virtual interface to a Direct Connect gateway.
  • Associate a virtual private gateway with a Direct Connect gateway, unless the virtual private gateway is attached to a VPC.
  • Tag a Direct Connect gateway (unlike how you can tag virtual private gateways).
  • Use a Direct Connect gateway with AWS VPN CloudHub. Note: Direct Connect gateway doesn't break existing CloudHub functionality. You can have a working CloudHub setup with VGW-VPN and VGW-VIF and create a new DXGW-based VIF.
  • Directly communicate between VPCs attached to a Direct Connect gateway that uses a private virtual interface.

Resolution

  1. Create a Direct Connect gateway. You can use a Direct Connect gateway to globally connect to any AWS Region. This includes AWS GovCloud (US), but not AWS Chine Regions.
  2. Associate a virtual private gateway. You can associate a Direct Connect gateway with multiple virtual private gateways to access multiple VPCs across Regions.
  3. Provision a private virtual interface to a Direct Connect gateway. You can attach multiple private virtual interfaces across Regions to a Direct Connect gateway to isolate traffic for your use case.
    Note: One private virtual interface is sufficient to access VPCs (attached to virtual private gateways) across Regions and reduce Border Gateway Protocol (BGP) sessions.

Refer to the AWS Direct Connect quotas to determine the following limitations:

  • The number of Direct Connect gateways supported per account
  • The number of virtual private gateways supported per Direct Connect gateway
  • The number of virtual interfaces supported per Direct Connect gateway

Related information

How do I move a Direct Connect connection from one AWS account to another?

AWS OFFICIAL
AWS OFFICIALUpdated 4 months ago