From the course: AWS Certified Data Engineer Associate (DEA-C01) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

VPC peering

VPC peering

- Hello and welcome to this lesson. There are quite a few circumstances where we might want to be able to connect machines that we're running in different VPCs together using IPv4 or IPv6. So for instance, we might have two VPCs, which could be in the same region, they could be in a different region or even a different account. And we want the EC2 instances in those two VPCs to be able to communicate using private IPv4 addresses, or maybe IPv6 addresses. Now, a way that we can do that is to use VPC peering. VPC peering allows routing for those addresses internally between those VPCs. And when I say internally, what I mean is it's not going out to the internet. It's using the AWS global network to route traffic between the VPCs so it never touches the internet. It does get encrypted when it moves between regions and it uses private IPv4 and also IPv6 addresses. So it's a great technology for lots of use cases. Let's have a look at how we can use VPC peering. So let's say we have a VPC,…

Contents