Peering Connection 2 VPC within a Region or another region

1.    Create VPC-1

2.    Create a Subnet for VPC-1

3.    Create IGW for VPC-1

4.    Attach IGW with VPC-1

5.    Define the Route Table for VPC-1 and add Rule for IGW and Peering Connection (VPC-2).

6.    Associate subnet with VPC-1

7.    Create EC2 Instance for VPC-1 and enable public IP

8.    Create VPC-2

9.    Create a Subnet for VPC-2

10.           Create IGW for VPC-2

11.           Attach IGW with VPC-2

12.           Define the Route Table for VPC-2 and add Rule for IGW and Peering Connection (VPC-1).

13.           Associate subnet with VPC-2

14.           Create EC2 Instance for VPC-2 and enable public IP

15.           Create a Peering Connection

16.           Define VPC Requester: VPC-1

17.           Select Account (same or other AWS account) and Region (Same and other AWS region)

18.           Define VPC Accepter: VPC-2

19.           Peering Connection -> Actions-> Accept Request

20.           Change the Security Group inbound rule and add All ICMP- IPv4 (for ping) in VPC-1 and VPC-2 Security group.

21.           Access the EC2 Machine through RDP or SSH.

22.           Ping EC2 Machine with each other (VPC-1 Machine or VPC-2 Machine).

 

                                      ******************Happy Learning*************

Comments

Popular posts from this blog