Questions tagged [vpc-peering]

16 questions
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" { …
1
vote
0 answers

Connecting Cloud SQL Private Instance with Cloud Build

In my GCP org I've a Cloud SQL Private instance running with a Private IP, peering with my internal VPC. For my Cloud Run payload, I setup a Serverless VPC connector and it works fine. Also, my GCE instances in the VPC can reach the CloudSQL…
1
vote
2 answers

Connect to the CloudSQL Postgres from different project

I'm going to connect from the instance in Project-A(custom VPC) with CloudSQL Postgres in Project-B(default VPC). Documentation says that I need to peer these two VPC. The peering status in the "Active" state. In Project-A I also have…
1
vote
0 answers

Failed to create a private GKE cluster using a shared VPC

We have difficulty creating a private GKE cluster using a shared VPC with network peering. The default pool is created, but node is not in good shape. Error in notifications: Create Kubernetes Engine cluster "azure-pipelines-cicd-dev" All cluster…
1
vote
1 answer

How to connect to MongoDB Atlas from Google Compute Engine?

I have several MongoDB clusters in Atlas with Network Peering set up and successfully connected all Cloud Run services through VPC accessors. When creating a Compute Engine instance through the web UI, it does not let me choose a VPC so I am…
jz22
  • 2,328
  • 5
  • 31
  • 50
0
votes
0 answers

Terraform resource peering

i create module private service connection from these resource and peering to main vpc connection. peering_routes_config from thats resource is not have atribute to check import or export subnet routes with public IP. then i search to auto check or…
badTyping
  • 15
  • 4
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
1 answer

When to choose IP Whitelisting over VNet peering?

To connect two VNets or more together, VNet peering can be used. However, I noticed that in my organization, some are using NSGs to whitelist IP addresses between VNets. Is there an advantage or best practices regarding that?
0
votes
0 answers

Connect already existing GKE Cluster to Mongo Atlas (VPC Peering)

I'm trying to connect an already existing GKE cluster to a Mongo Cluster in mongo atlas. I followed this tutorial, with the only difference that I didn't create the GKE cluster after creating the peering, but the other way around: I created the GKE…
0
votes
1 answer

App Services in peered Azure vnet not working

In my Azure subscription I have 2 peered VNETs. VNET1 has address space 10.16.0.0/16 and VNET2 has 10.250.21.0/24. I have chosen the space addresses so that they were completely different. Peering works given that a VM in VNET1 can ping a VM in…
phanxen
  • 21
  • 5
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…
0
votes
0 answers

How to open up a service internally only from project A in GCP to a gRPC service in cloudrun in project B

Need a design idea for below scenario: I have project A and project B, I want to be able to connect to a service in project B which is a gRPC service running in cloudrun internally only. Solution: I plan to use VPC peering between project A and…
0
votes
0 answers

Peering a ScyllaDB cluster with one in GKE

I have a cluster on Google Kubernetes Engine (GKE) that I need to peer with one on ScyllaDB. I made the peer request on GCP (using the CLI command Scylla provided), but connecting in the opposite direction is giving me problems. I know my project…
AppLover
  • 149
  • 9
0
votes
1 answer

Is there a python sdk to get the list of vnet peering in azure?

Is there a python sdk command to get the vnet peering details in azure along with the necessary input variables.
Ghost rider
  • 43
  • 1
  • 9
0
votes
1 answer

Get substring from a list of strings in terraform

There is a list of strings which are the output of vnet peering details. I need to extract all the source vnet names in one list and destination vnet names in another list. My vnet peering names are as below Peer =["vnet1tovnet2", …
1
2