- Newest
- Most votes
- Most comments
To share your Direct Connect connections with other AWS accounts within your organization, you have a couple of options:
- Using Direct Connect Gateway with Virtual Private Gateway associations:
- Account A (DX owner) creates a Direct Connect Gateway
- Account B creates a Virtual Private Gateway and attaches it to their VPC
- Account B creates an "association proposal" to connect their Virtual Private Gateway to Account A's Direct Connect Gateway
- Account A accepts the association proposal
- This allows Account B to route traffic from their VPC through Account A's Direct Connect connection
The association proposal is what links the Virtual Private Gateway in Account B to the Direct Connect Gateway in Account A. The owner of the Direct Connect Gateway (Account A) must accept this proposal for the connection to be established. The proposal can include prefixes that will be allowed from the Virtual Private Gateway, which Account A can optionally override.
- Using hosted private virtual interfaces:
- Account A (DX owner) creates a hosted private virtual interface specifically for Account B
- Account B accepts the hosted virtual interface
- When accepting, Account B can choose to attach it either to a Virtual Private Gateway or to a Direct Connect Gateway in their account
- Yes, Account B would still need a Virtual Private Gateway attached to their VPC to use the hosted private virtual interface
For your specific scenario of connecting VPCs to access S3 buckets via private links, either approach would work, but the Direct Connect Gateway with Virtual Private Gateway associations might be more scalable if you're planning to connect multiple accounts.
Sources
AWS Direct Connect virtual private gateway associations - AWS Direct Connect
Associate an AWS Direct Connect virtual private gateway across accounts - AWS Direct Connect
Hosted AWS Direct Connect virtual interfaces - AWS Direct Connect
AWS Direct Connect gateways - AWS Direct Connect
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
