Questions tagged [aws-vpc-peering]

50 questions
0
votes
1 answer

Vpc peering and private link

I have 3 VPCs (A, B, C) where VPC private link is established between A<-->B, and VPC peering is established between B<-->C. Is it possible for instances in VPC A to reach VPC C via a VPC endpoint in VPC B?
0
votes
0 answers

Trouble Establishing VPC Peering Between Regions using Terraform

I have been trying to establish cross-region vpc peering using Terraform. But I keep getting that the VPC ID of West 1 does not exist for the aws_vpc_peering_connection.peer resource. What could I be missing? # Create VPC resource "aws_vpc" "West_1"…
0
votes
1 answer

VPC Peering Connection stopped working after installing Docker

I have two VPCs connected through Peering Connection. Each VPC has one EC2 instance. The Peering is working as I can ping from one EC2 instance to another using their private IP. Now I need to have Docker installed in one of the EC2. After…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
0
votes
0 answers

Unable to Access EC2 Instance in AWS Environment via Intermediate Account with VPC Peering

Description: I am encountering difficulties accessing the Nexus server, which is hosted in the "prod" AWS account behind an internal ALB, from a Jenkins agent located in the "staging" AWS account. Both the "prod" and "staging" accounts have…
0
votes
0 answers

Laravel "SQLSTATE[HY000] [1045] Access denied for user user@10.0.0.xxx" for VPC peering on AWS?

I followed this tut and AWS's docs and yet I still can't connect my EC2 instance to my RDS aurora cluster with VPC peering enabled. I've double checked my host, user, port, password from my .env file many times. I've cleared the cache and config…
Chris
  • 4,643
  • 6
  • 31
  • 49
0
votes
1 answer

AWS VPC Peering connection - measuring traffic

How can I measure the traffic that is going via a VPC Peering connection?
iss42
  • 2,720
  • 3
  • 21
  • 37
0
votes
1 answer

Lambda in one security group cannot talk to RDS in another security group in a peered VPC

Here's my architecture: My Lambda in Lambda_VPC with SecurityGroup (Lambda_SG); My RDS in RDS_VPC with SecurityGroup (RDS_SG); I've created a peering connection with Lambda_VPC and RDS_VPC called peering_cxn; I've modified the route tables for both…
0
votes
0 answers

How to enable Autoscaling group in us-west-2 to access SQS in us-east-1 via VPC peering connection?

I am trying to expand my current aws application. My application is based entirely in us-east-1 and it includes Lambda functions, sqs , autoscaling groups and a database. Recently we have used up a lot of gpu's in the current region and aws team…
0
votes
0 answers

ECS tasks unable to launch in peer VPC due to ResourceInitializationError

I am currently experiencing an issue when trying to launch ECS tasks in a peer (requester) VPC's private subnet. I receive the following error message: ResourceInitializationError: unable to pull secrets or registry auth: execution resource…
jperezr21
  • 11
  • 1
  • 3
0
votes
0 answers

AWS VPC Peering routing table creation throttling

We are hitting connectivity issues in vpc peering when it is re-created. The exact steps are: Create peering between vpc's A & B Delete peering between A & B Create peering between vpc's A & B There is hardly any time gap between these steps.…
bitflood
  • 441
  • 5
  • 15
0
votes
0 answers

AWS Lambda Function Connection with VPC Peering

Context I have an EC2 that I want to communicate with, inside a VPC in AccountID: host. I have a Lambda in AccountID: client that I want to connect with this instance. I am trying to set up a peering between the two, but I'm having issues. In…
Kmelow
  • 203
  • 1
  • 3
  • 12
0
votes
0 answers

How To Solve 504 Bad Gateway Timeout Error From Aws Api Gateway?

I am getting 504 Bad Gateway Timeout error in responce but data gets inserted sucessfully to the databse. Code executes perfectly locally with response time within 1.15s but whenever deployed to lambda it start giving this Timeout Error. Node js…
0
votes
0 answers

EKS with Public and Private endpoints

Maybe someone can help with this case.. I will be very grateful. I have 2 EKS Clusters (Staging and Production) both in different regions and different VPCs. On both clusters, I have enabled EKS Public endpoints (Limited for specific IPs) and…
0
votes
0 answers

Let Lambda deployed in one VPC ("A") to talk to another VPC ("B") peered with A

I have difficulty to get a Lambda function consistently to talk to a VPC peered to the VPC that the lambda function is connected. I believe my configuration is identical to https://aws.amazon.com/premiumsupport/knowledge-center/lambda-dedicated-vpc/…
puravidaso
  • 1,013
  • 1
  • 5
  • 22
0
votes
0 answers

Peering connection don't work on my new Cluster AWS

I'm trying to connect my AWS ECS to my Atlas Mongodb via Peering Connection. I already have a cluster with an active peering connection and it works fine with my first cluster but not with my second cluster. Both are connected to the same VPC and…