Questions tagged [vpc-peering]

A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.

See this link: https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html

86 questions
0
votes
2 answers

Google Cloud Platform VPN and multiple projects

Is it possible, and does it make sense, to route traffic for multiple GCP projects through a single project back to my head office over VPN? Before I get too far down the rabbit hole the idea was to peer a given project's VPC network with the "VPN…
drumboots
  • 111
  • 5
0
votes
1 answer

Connecting from an AWS Lambda function or service within a VPC to a customer's private network over VPN tunnel

We are currently running AWS Lambda functions within a VPC and for example already have a peering connection setup to MongoDB Atlas to have our AWS Lambda's within the VPC communicate to our MongoDB Atlas-hosted database. Now a requirement has come…
0
votes
1 answer

How can you connect two Amazon VPCs through VPC peering if they are already configured with the network IPs?

According to AWS documentation you can connect up to 50 VPC through VPC peering but you have to make sure there's not IP overlapping so my questions here are: How can you come up with so many different local addresses. I don't think there are so…
VaTo
  • 221
  • 6
  • 22
0
votes
2 answers

How to route traffic from host in VPC via host in different VPC

tl;dr Is there any way to route traffic from 172.20.0.100 to 200.0.0.100 in the diagram via 10.0.0.6 ? I have a setup where we have an existing AWS VPC (172.20.0.0/16) with a number of hosts in it. We are attempting to setup a VPN to a vendor who…
Anonymouslemming
  • 891
  • 4
  • 15
  • 26
0
votes
1 answer

Issue connecting EC2 instances in 2 separate VPCs (same region)

I have 2 VPCs (default and special) each hosting 1 EC2 instance. Both instances have the same security group (say name = internal). The security group allows All Traffic from internal (a circular reference for inbound traffic). Also, I have VPC…
Jedi
  • 458
  • 1
  • 5
  • 20
0
votes
2 answers

Google Cloud routing with VPCs peered in a partially connected mesh topology

we are dividing our Google Cloud infrastructure into multiple projects, each with it's own VPC. We have one central VPC, let's call it vpcA, to which we connect via pritunl VPN and site-to-site tunnel from the outside. We've also connected vpcA to…
0
votes
0 answers

How an Ec2 node can contact eni of a different node in different AWS account and vpc

I have a requirement that one of my EC2 instance's originating traffic to a specific ip address needs to land to a ENI of a different EC2 instance which is present in different account and different VPC. To explain, lets say I have a ec2 instance…
0
votes
1 answer

Is it possible to share same AWS Elastic IP addresses between two and more VPC?

I have "VPC-A" with NAT and attached Elastic IP address. Couple of services are running inside under load and couldn't be easily moved. Also I have "VPC-B" with own NAT for subnet and, of course, with other Elastic IP address. A peering connection…
0
votes
1 answer

AWS VPC peering using security groups

I setup a VPC peering connection between two regions (us-west-2, eu-central-1) in a single AWS account. In the documentation I see: You cannot reference the security group of a peer VPC that's in a different region. Let's say I want to create a…
Justin
  • 5,328
  • 19
  • 64
  • 84
0
votes
2 answers

Does AWS RDS read replication require peering?

If you create an RDS instance in one region with a read replica in another (in private VPCs, no public access), is it required to peer the private VPCs for replication to occur or does AWS magically make communication happen in the background?
0
votes
0 answers

Unable to Resolve Machine Names via Domain Controller

I have two Amazon AWS VPC's connected via a peering connection, where I have enabled DNS resolution between them like so: I am also using an internal domain controller to provide DNS using the AWS DHCP Options Sets (I have also tried using Amazon…
0
votes
1 answer

Routing on an AWS OpenVPN multi-VPC + ClassicLink

I am having trouble connecting between servers in a multi-region network I’m setting up in AWS, as not all servers are able to be reached from any point in the network. I’m connecting a VPC (A) in eu-central-1 to another one (B) in eu-southeast-1…
RogerFC
  • 344
  • 1
  • 2
  • 11
0
votes
1 answer

server can't find 2.0.9.10.in-addr.arpa: NXDOMAIN

I have set up a VPC peering between two different project's VPC on GCP and it works fine when i ping my vm-instance and i'm also able to ssh to my instance with private ips. However, if I query it for reverse dns from one vm-instance to another…
0
votes
2 answers

Private RDS in VPC, connect from EC2 in different VPC and region

I want to connect from a EC2 in US VPC to a private RDS in a EU VPC. The AWS docs don't seem to mention this scenario - does anyone know if it's possible? Thanks,
rix
  • 277
  • 4
  • 10
0
votes
1 answer

VPC peering sharing security group ingress rules

If I have VPC1 with security group (sg-aaaaaaaa) that allows ssh access from source 10.10.10.10/32 and I peer VPC1 with VPC2 that has a security group (sg-bbbbbbbb) that allows ssh access from source sg-aaaaaaaa (the SG from VPC1). If I assign the…