Questions tagged [vpc]

A Virtual Private Cloud (VPC) is an on demand configurable pool of shared computing resources allocated within a public cloud environment, providing certain level of isolation between the different organizations (denoted as users hereafter) using the resources. Please note that this tag is exclusively for programming questions.

655 questions
5
votes
1 answer

AWS EKS deploy to multiple VPC's

I'm a bit confused about how aws EKS works, excuse me for my ignorance. I have 4 VPC's one for shared services(gitlab ect..), one for dev, one for staging and one for prod. There are multiple subnets on each vpc for different clients a,b,c.…
bink1time
  • 383
  • 1
  • 5
  • 15
5
votes
2 answers

Do VPC service availability zones need to match VPC endpoint zones?

I'm setting up a VPC endpoint for a corresponding VPC service endpoint. Our app calls the downstream service using a non- region or zone-specific name (routed to the VPCe). We have 3 app subnets set on the VPCe (corresponding to 3 availability…
Andrei
  • 513
  • 2
  • 8
  • 15
5
votes
2 answers

Deploying automatically Node app to App Engine with Cloud Build and VPC connector

i have a Problem during deploying an App Engine app with Cloud Build and VPC connector to my MongodDB Atlas Database. When i deploy it with gcloud, it works perfectly with this command: gcloud beta app deploy But i want CI (Continuous integration)…
5
votes
1 answer

no matching subnet found for vpc with id vpc

I am using data resources (Terraform .12) to find the subnet_id within the vpc and finally create ec2 instance. The VPC is getting created succesfully but I get the following error : Error: no matching subnet found for vpc with id…
Judi
  • 710
  • 3
  • 10
  • 25
5
votes
2 answers

Can an AWS S3 Static Site access REST API in VPC?

I've read through quite a few pages of documentation and other StackOverflow questions/answers but can't seem to come across anything that can help me with my scenario. I'm hosting a public, static site in an S3 bucket. This site makes some calls to…
Chris Leyva
  • 3,478
  • 1
  • 26
  • 47
5
votes
1 answer

AWS Public Subnet Internet Access for Non Public IP Instances

I have a public subnet in AWS and I have 3 instances in it ... WebApp01 (Elastic IP - 54.23.61.239 for example) WebApp02 (Private IP - 192.168.0.24) WebApp03 (Private IP - 192.168.0.25) And my route table is setup as 192.168.0.0/16 ->…
Tarunpreet Ubhi
  • 405
  • 1
  • 3
  • 18
5
votes
2 answers

What will happen if I delete the default VPC in AWS?

I don't use the default VPC. I have created another VPC. However, I haven't assigned my other VPC as default. I would like to delete my default VPC and set my other VPC as default. I read some arguments on the Internet. If I delete the default VPC…
user9560107
  • 61
  • 1
  • 2
5
votes
4 answers

aws lambda update-function-configuration receives AccessDeniedException

I want to grant vpc access for my lambda function. I use the following aws cli command. aws lambda update-function-configuration \ --function-name SampleFunction \ --vpc-config SubnetIds=subnet-xxxx,SecurityGroupIds=sg-xxxx But I receive the…
5
votes
1 answer

How to determine subnet IPv4 CIDR address in AWS?

How to determine subnet IPv4 CIDR address in AWS. Suppose my VPC CIDR block is 172.31.0.0/16 and I want to create a subnet with 172.31.1.0/16 but it says " *** is not within the range of ****/*. Please explain me how to determine CIDR?
Kamakshya
  • 61
  • 1
  • 5
5
votes
4 answers

How many EC2 instances can be used within Amazon VPC?

Amazon's Virtual Private Cloud (Amazon VPC) allows me to open a VPN connection to the EC2 cluster. It looks like the number of EC2 instances you can run within a virtual private cloud is 24 hosts - is that correct?
shigeta
  • 1,791
  • 3
  • 19
  • 32
5
votes
2 answers

Accessing AWS RDS From Outside the VPC with no public access

I have a MySQL database on Amazon RDS. When I created this database I unselected the "public access" option which can not be changed after creating the database. This means that my database instance can only be accessed from inside the VPC. So now…
Neo
  • 11,078
  • 2
  • 68
  • 79
5
votes
3 answers

AWS - moving RDS to VPC

We have couple of RDS that are not added under VPC, so we need to bring them under VPC. Please let me know the steps and downtime expected. Also let me know if there need to be any changes in the webservers, so that everything works fine after RDS…
Sherlock
  • 101
  • 2
  • 6
4
votes
1 answer

Puppet Behaviour not consistent in Amazon VPC

I'm testing out puppet in Amazon VPC and found out its behavior is not consistent. In Amazon EC2, puppet works out perfectly fine. But while running puppet manifests in Amazon VPC, sometimes it runs properly..sometimes not. root@ip-10-0-0-123:~#…
Sanket Dangi
  • 1,185
  • 9
  • 16
4
votes
1 answer

Why am I unable to associate an Elastic IP to an EC2 instance in a second VPC on AWS?

I have for a long time a VPC (with 1 subnet) on Amazon Web Services (AWS) with several instances each having an Elastic IP address. For new needs, I have defined a second VPC (with 1 subnet also) on my same account: for some reasons, I can't…
Didier Durand
  • 627
  • 7
  • 16
4
votes
2 answers

How to set up VPC network peering from multiple App Engine projects to Mongo Atlas

I have an App Engine app, which connects securely to Mongo Atlas via a network peering connection which is all working fine. I have come to want to make the app multi-region, which means creating multiple projects and therefore reproducing the…
scipilot
  • 6,681
  • 1
  • 46
  • 65