From the course: VPC Networking: Designing a Software Defined Data Center on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Peering VPCs together

Peering VPCs together - Amazon Web Services (AWS) Tutorial

From the course: VPC Networking: Designing a Software Defined Data Center on AWS

Start my 1-month free trial

Peering VPCs together

- [Mark] You will probably run into the situation where you have applications hosted in multiple VPCs or resources in multiple VPCs with multiple AWS accounts and you'll want to connect resources together. And one way we can do that at AWS is through something called a peer. Peering is setup in the VPC console. One the left at the bottom is Peering Connections. When we create a Peering Connection, we'll have to give it a name. We're going to create a Peering Connection between the Transit_VPC and HPlusSports. So for the local VPC to peer with, the Requester of this process, we'll pick Transit. Now for the VPC that we want to peer with, it can be within my account, it could be another account, it could be this region, it could be another region, so it can be worldwide. For the Accepter, we're going to pick HPlusSports. Now look at the CIDRs for both of the VPCs. They're different and that's good. That means that they'll communicate. If they were the same, a peer would not work…

Contents