AWS Transit Gateway (original) (raw)

Last Updated : 23 Jul, 2025

In the powerful world of cloud computing, managing network availability between different parts can immediately become complex and challenging. Amazon Web Services (AWS) perceived this need and presented AWS Transit Gateway as a solution to work on network architecture and improve networks inside the AWS Cloud environment.

AWS Transit Gateway is a completely managed service intended to serve as a center point for interfacing numerous virtual private clouds (VPCs) and on-premises networks. It fills in as a main issue for routing and managing traffic, offering a versatile and productive answer for associations with different organizational necessities. In this article, we'll dive into the key terminologies, functionalities, and advantages of the AWS Transit Gateway. We'll explore its center ideas, step-by-step execution cycle, and address normal inquiries to give a complete comprehension of this fundamental AWS service.

Primary Terminologies

What is AWS Transit Gateway?

AWS Transit Gateway is a completely managed service provided by Amazon Web Services (AWS) that improves network performance in the cloud by acting as a unified center point for associating various virtual private clouds (VPCs) and on-premises networks. It permits associations to unite their organizational architecture, streamline routing, and manage networks all the more effectively.

Key features of AWS Transit Gateway

Step-By-Step Process to Create AWS Transit Gateway

Step 1: Create Transit Gateway

Name

click on create Transit Gateway

gateway successfully created

Step 2: Configuring VPCs

Configuring VPCs

VPC are created

Step 3: Transit Gateway Attachments

Transit Gateway attachments

Details

click on Create Transit gateway

VPC2

Click on transit gateway

 VPC1 and VPC2

Step 4: Creating route Tables

Creating routing tables

Transit gateway

Route table

 VPC2 target

VPC2 Route table

Step 5: Configuring security groups

Configuring security groups

Step 6: Launch EC2 Instance

Instance-1

Launce the instance from the vpc one with the private subnet.

Launch EC2 Instance

Instance-2

Launce the instance from the vpc two with the public subnet.

Instance-2

Here is the command to be execute in terminal

ssh -i /path/to/your/keypair.pem ec2-user@bastion-host-public-ip

scp -i /path/to/your/keypair.pem ec2-user@ec2-instance-private-ip:/path/to/destination/

chmod 400

ssh -i /path/to/destination/keypair.pem ec2-user@ec2-instance-private-ip

ping <private IP address of 2nd instance>

Output

Here we see VPC 1 to VPC 2 and VPC3

 VPC 1 to VPC 2 and VPC3

Here we see VPC 2 to VPC 1 and VPC3

VPC 2 to VPC 1 and VPC3

Conclusion

AWS Transit Gateway reforms cloud network availability by filling in as a centralized hub for connecting different VPCs and on-premises networks. With worked on administration and transitive routing capacities, it smoothest out network architecture, improves versatility, and advances consistent correspondence between resources. This versatile arrangement obliges great many associations, ensuring adaptability for advancing cloud conditions. By integrating consistently with AWS services, Transit Gateway augments functional effectiveness and works with light-footed network deployments, its inter region looking element empowers global network, engaging associations to construct strong, geographically distributed architectures.