Transit Gateway ¶
A transit gateway is a network transit hub that you can use to interconnect your virtual private clouds (VPCs) and on-premises networks.
As your cloud infrastructure expands globally, inter-Region peering connects transit gateways together using the AWS Global Infrastructure.
All network traffic between AWS data centers
is automatically encrypted at the physical layer.
Use Cases đš¶
Centraized Router đ¶
The following diagram shows the key components of the configuration for this scenario. In this scenario, there are three VPC attachments
and one Site-to-Site VPN
attachment to the transit gateway.
Packets from the subnets in VPC A
, VPC B
, and VPC C
that are destined for a subnet in another VPC or for the VPN connection first route through the transit gateway.
`
Peered transit gateways âŠī¸¶
The following diagram shows the key components of the configuration for this scenario. Transit gateway 1 has two VPC attachments, and transit gateway 2 has one Site-to-Site VPN attachment. Packets from the subnets in VPC A and VPC B that have the internet as a destination first route through transit gateway 1, then transit gateway 2, and then route to the VPN connection.
Centralized outbound-route đ¶
You have applications in VPC A
and VPC B
that need outbound only internet access. You configure VPC C
with a public NAT gateway
and an internet gateway
, and a private subnet for the VPC attachment.
Connect all VPCs to a transit gateway
. Configure routing so that outbound internet traffic from VPC A
and VPC B
traverses the transit gateway to VPC C
.
The NAT gateway
in VPC C
routes the traffic to the internet gateway
.