Questions tagged [aws-vpc-peering]

50 questions
3
votes
0 answers

AWS CDK Cross-Account VPC Peering with Route Tables

I'm trying to set up a multi-account environment with VPC peering using AWS CDK (type script), but I'm facing some issues when trying to set up related routing tables. I'm working on Account A which is the ops environment, that is trusted by…
3
votes
2 answers

VPC Peering is replaced all the time by Terraform

I'm trying to create VPC Peering between two VPCs in two different accounts. One is managed by me and another one by others and I don't have access to it. I'm using the next snippet of Terraform script. resource "aws_vpc_peering_connection" "a" { …
2
votes
1 answer

PAM authentication failed for user ""

come here, after attempting so many times. Use-Case: We are trying to connect to RDS DB intsance from another aws account with RDS IAM authentication token. Abled to connect to db after configuring all the necessary requirement.(creating db user,…
2
votes
1 answer

VPC peering between Atlas cluster and AWS failing without 0.0.0.0/0 IP whitelisted

I have set up VPC peering between my AWS VPC and my mongodb Cluster. A lambda function is connected to the VPC, triggered by cognito, and responsible for talking to Mongo. The VPC is configured as follows in terraform: data "aws_availability_zones"…
2
votes
1 answer

How to reach host behind site-to-site VPN connection through peering VPC connection

I actually have following situation: I successfully reach host C from Host A using VPN static routes. I need now to reach it from host B. I thought to create a route table from VPC B that forward request with ip/32 of host C through Peering…
2
votes
1 answer

Troubleshooting Lambda to RDS connection with VPC peering

My AWS Lambda function times out when it ties to connect to an RDS instance in another VPC. The VPCs are peered. Things I have checked: Lambda is inside the correct VPC RDS is inside the other VPC RDS exists in subnets that are peered VPC Peering…
sdgfsdh
  • 33,689
  • 26
  • 132
  • 245
1
vote
1 answer

Unable to delete documents when AWS lambda is in VPC (pymongo)

I am using MongoDB Atlas and AWS Lambda. My backend lambdas are written in python and i am using pymongo[aws] to connect to my cluster. I have setup peering to allow connectivity only from inside my VPC. When i run a query col.find, col.update_one,…
Tom3652
  • 2,540
  • 3
  • 19
  • 45
1
vote
1 answer

AWS Cross-Region VPC Peering Cloudformation doesn't recognise the VPC in the other region

I have been working on creating a VPC Peering Connection that can peer from eu-west-1 to us-east-1 with the use of a cloudformation. This is the cloudformation as of right now: AWSTemplateFormatVersion: 2010-09-09 Description: This templates creates…
1
vote
1 answer

VPC Peering - DNS resolves to public IP

I have configured VPC peering connection between VPC A and VPC B (they are in different accounts but in the same region), and when I try to resolve the domain name of a service (e.g. sometest.com) that is in the VPC B from an instance VPC A, it is…
1
vote
0 answers

Connection from Lambda to RDS in a different account

I have an RDS in one AWS Account - say Acct-1. The RDS is public (i know it's not a good idea and there are other solutions for that) I have a lambda in another AWS Account - say Acct-2 which runs in a VPC. I have setup VPC peering between the 2…
1
vote
1 answer

VPC Peering (cross account) resolve Private Route53

I have an issue with private route53 via VPC peering (cross-account) I configured VPC Peering between 2 VPC (cross-account - same region). I have one Private Route53 in one account. I enabled VPC Peering DNS resolved at 2 VPC I add full route to…
1
vote
2 answers

Unable to configure cross-account communication between AWS Lambda and AWS Kafka (MSK cluster)

I have an ultimate goal of making AWS Lambda triggered from Kafka topics where Kafka is an MSK cluster running on another AWS account. Setup. Lambda and MSK cluster live on different AWS accounts. Each is connected to its own VPC, i.e. Subnet…
Simon
  • 158
  • 1
  • 7
1
vote
0 answers

Lambda -> Atlas connection timeout (private subnet - peering)

We have 1 Atlas cluster that is already peered to 1 VPC in 1 region (eu-west-1). This peering connection has worked fine for years. At the moment, I'm trying to setup another peering connection to another VPC we have in another region…
1
vote
1 answer

Possible to call the aws interface endpoint in a peered vpc?

I am having two vpcs, one is a mgmt vpc with all the necessary vpc interface endpoints connecting to AWS services, and another peered vpc established peering connection with the mgmt vpc. I have tried to ssh into my instance (call it instance A) in…
tnkh
  • 1,749
  • 2
  • 14
  • 30
0
votes
0 answers

Amazon AWS VPC peering network connectivity issues

VPC Peering two system, but can't ping, creating VPC peering status is Showing Active. Vpc Requester CIDRs and Accepter CIDRs mention and Added the Security group All ICMP - IPv4. Updated the Route Table. vpc1-routeTable 0.0.0.0/0 …
Ng Sharma
  • 2,072
  • 8
  • 27
  • 49
1
2 3 4