The Basics Of Quick And Secure Peering

Today’s Overall Goal. AWS VPC Peering.

First we use our VPC Resource map to quickly create both our VPCs.

Secondly we will select the VPCs to peer with.

Then we will need to create our connection and setup up a VPC as a requestor and an accepter.

Next we will create a route to allow VPC traffic in.

Next will launch an EC2 Instance in each VPC.

In order to connect to our EC2 instance we would normally need a key pair. It this case we will use EC2 Connect to manage authentication for us.

It looks like we still can’t connect. We are getting errors about the resource not having a public IPv4 address and we don’t have SSH port setup yet.

Next we are going to give our instance an Elastic IP Address so that it has a permanent address and we don’t have to pull from the range of IP addresses from our CIDR block.

Wait lets not forget to setup SSH traffic port so that we don’t get the below message. Next we have to setup ICMP traffic as well so that we can test connectivity.

After setting up SSH traffic port, we try to connect again.

Hooray 🎉🥳, finally we are peering with both VPCs. The diagram shows where we are at and what we want to happen.

Go through the step by step guide below.

mmoorewebdev.com
mmoorewebdev.com