Amazon Direct Connect gateways and transit gateway associations - Amazon Direct Connect
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Direct Connect gateways and transit gateway associations

You can use Amazon Direct Connect gateway to connect your Direct Connect connection over a transit virtual interface to the VPCs or VPNs that are attached to your transit gateway. You associate a Direct Connect gateway with the transit gateway. Then, create a transit virtual interface for your Amazon Direct Connect connection to the Direct Connect gateway.

The following rules apply to transit gateway associations:

  • You cannot attach a Direct Connect gateway to a transit gateway when the Direct Connect gateway is already associated with a virtual private gateway or is attached to a private virtual interface.

  • There are limits for creating and using Direct Connect gateways. For more information, see Direct Connect quotas.

  • A Direct Connect gateway supports communication between attached transit virtual interfaces and associated transit gateways.

  • If you connect to multiple transit gateways that are in different Regions, use unique ASNs for each transit gateway.

  • Any point-to-point connectivity address using a /30 range — for example, 192.168.0.0/30 — does not propagate to a transit gateway.

Associating a transit gateway across accounts

You can associate an existing Direct Connect gateway or a new Direct Connect gateway with a transit gateway that is owned by any Amazon account. The owner of the transit gateway creates an association proposal and the owner of the Direct Connect gateway must accept the association proposal.

An association proposal can contain prefixes that will be allowed from the transit gateway. The owner of the Direct Connect gateway can optionally override any requested prefixes in the association proposal.

Allowed prefixes

For a transit gateway association, you provision the allowed prefixes list on the Direct Connect gateway. The list is used to route traffic from on-premises to Amazon into the transit gateway even if the VPCs attached to the transit gateway do not have assigned CIDRs. Prefixes in the Direct Connect gateway allowed prefix list originate on the Direct Connect gateway and are advertised to the on-premises network. For more information on how allowed prefixes interact with transit gateway and virtual private gateways, see Allowed prefixes interactions.