Thursday, March 24, 2022

AWS Compute - Transit Gateway

 


Transit Gateway is 1 to 1 relationship with VPC.

1 VPC can only have 1 Transit Gateway


1. Create Transit Gateway:

Step 1: Remove the peering connection from Route Tables and also delete the peering connection

Step 2: Select Transit Gateway From VPC left panel option.

Step 3: Click on Create Transit Gateway.

Step 4: Define the following properties

  • Name:  irfan-tsgw
  • Rest of the properties are same
  • Click on Create Transit Gateway
2. Create Transit Gateway Attachment:

Step 1: Create the transit gateway attachments by selecting Transit Gateway Attachment link.

Step 2: Click on Create Transit Gateway button.

Step 3: Provide following details.

  • Name: irfan-tsgwattch
  • Transit Gateway:  irfan-tsgw
  • Attachment Type: VPC
  • select VPC : irfan-vpc-pn-1
  • Click on Create Transit Gateway attachment.

Step 4: Repeat Step 3 for irfan-vpc-pn-2

Step 5: Update Route tables of each VPC by adding CIDR range of other VPCs and connection type should be Transit Gateway.

Step 6: Create EC2 instances in each VPC and you will find that they can communicate to each other with a private network.


No comments:

Post a Comment

Fluentd

Open-source log data collector > why logs? - for compliance (auditing, company, business) - for security (transparency, monitoring, admin...