What is transit gateway in aws?

AWS Transit Gateway (TGW) is a networking service that acts as a central hub to connect multiple Amazon VPCs, on-premises networks, and remote offices through a single gateway.

What are the key features of AWS Transit gateway?

Centralized Connectivity

Scalability and High Availability

Segmentation with Route Tables

Global Transit Gateway (Inter-Region Peering)

Integration with AWS Services

Performance and Monitoring

Policy-based Routing (via Connect attachments)

Cost Efficiency

how many VPC can be attached to Transit gateway?

AWS Transit Gateway can support up to 5,000 VPC attachments per Region

Why to use Transit gateway instead of VPC peering?

using Transit Gateway instead of VPC Peering comes down to scalability, manageability, and network complexity

What is the difference between NAT gateway & Transit Gateway?

NAT Gateway
Allows instances in a private subnet to access the internet

Transit Gateway
Connects multiple VPCs and on-premises networks via a central hub, simplifying network architecture