Amazon Virtual Private Cloud (Amazon VPC) lets you provision a private, isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define. With Amazon VPC, you can define a virtual network topology that closely resembles a traditional network that you might operate in your own datacenter.
Questions tagged [amazon-vpc]
2516 questions
25
votes
2 answers
Default AWS VPC vs A new one?
Should I use the AWS Default VPC, or should I create a new one?
What are the differences and advantages to create a new one?
Or, in witch situations should I select between the two?

Ofer Velich
- 1,959
- 4
- 19
- 24
24
votes
1 answer
Public IP of AWS Internet gateway
I would like to know the public IP of AWS internet gateway. My client needs it to do an IP whitelist.
How can I get it? My instance is faced to the internet directly and didn't route via any NAT gateway.
From my understanding, The public IP should…

WICHPONG KAO-IAN
- 385
- 1
- 2
- 6
24
votes
7 answers
Why can't I connect AWS RDS instance from EC2 instance in another VPC after peering
I am running Tableau Server on our EC2 instance in VPC A. Meanwhile, I created a postgres RDS in another VPC B. Now I want to establish the connection between the Tableau Server and RDS. CIDR of RDS VPC is 172.31.0.0/16 and that of EC2 VPC is…

ddd
- 4,665
- 14
- 69
- 125
24
votes
1 answer
How can I change an elasticbeanstalk environment vpc?
I can't seem to find any documentation on this. How do I go about changing the VPC for an elasticbeanstalk environment? I have tried changing the security group from the current group to a group in the new VPC, but amazon returns the following…

melchoir55
- 6,842
- 7
- 60
- 106
22
votes
5 answers
What is the diference between Network ACL and Route Tables in AWS?
I don't find easily the difference between those AWS VPC options.

Samuel David Gómez Ramos
- 343
- 1
- 2
- 9
22
votes
4 answers
At least one security group must open all ingress ports. AWS Glue connecting to RDS
I am still starting out with AWS Glue and I am trying to connect it to my publicly accessible MySql database hosted on RDS Aurora to get its data.
So I start by creating a crawler and in the data store I create a new connection as in the screenshot…

Naguib Ihab
- 4,259
- 7
- 44
- 80
21
votes
4 answers
How can I list all resources that belongs to a certain VPC?
At my AWS account, I have few VPC. I'm trying to find a way to list all resources that located under a certain VPC.
Thanks!!

ofer
- 4,366
- 9
- 38
- 39
21
votes
1 answer
Why use a VPC with AWS Lambda or AWS DynamoDB?
I read many people struggling connection their Lambda to their DynamoDB, because they live in a VPC. But my question is, why use a VPC at all?
VPC are meant to protect services with a direct connection to the outside world (AKA internet). Things…

Vadorequest
- 16,593
- 24
- 118
- 215
21
votes
3 answers
AWS latency between Zones within a same Region
I have an EC2 and RDS in the same region US East(N. Virginia) but both resources are in different zones; RDS in us-east-1a and EC2 in us-east-1b.
Now the question is that if I put both resources within the same zone then would it speed up the data…

UsamaAmjad
- 4,175
- 3
- 28
- 35
21
votes
3 answers
Why can I call an on-VPC aws lambda from an off-VPC aws lambda but not vice versa?
So if I have two lambdas, one inside a private VPC, and one not on a VPC, calling the private lambda from inside the public lambda works but I cant call the public from the private lambda.
There's no NAT setup.
Why is this? It seems that I should…

Dr. Chocolate
- 2,043
- 4
- 25
- 45
21
votes
4 answers
How to let AWS lambda in a VPC to publish SNS notification?
I have a lambda function that accesses my Postgres db in RDS via VPC. After it queries the db, I want to post a notification to SNS. Because my lambda function exists in my VPC, it cannot access SNS. I have an internet gateway on my VPC. I read…

lawrence
- 323
- 1
- 2
- 8
21
votes
8 answers
How to get the IP address of RDS instance in AWS
I got the same answer everywhere on the internet regarding my question of how to get the IP address of an RDS instance in AWS, but I don't know what dig is, and how to use it.
How to allocate IP address in VPC to RDS instance?
Please help me find…

Amit
- 30,756
- 6
- 57
- 88
21
votes
5 answers
AWS VPC Create Subnet in with different zone
I already have a VPC (Non Default) configured which is used by Amazon EC2.
I need to create another subnet (Non Default) in the same VPC with a different Availability Zone.
So when I am trying to Add details, I am stuck at the CIDR Block. I am…

AvtarSingh Suchariya
- 1,992
- 1
- 20
- 25
20
votes
3 answers
AWS NLB in public subnets with EC2 in private subnets
Has someone configured a NLB in the public subnets of your VPC to route traffic to EC2 instances that are in the private subnets?
When using an ELB, a good solution is to create a Security Group for the ELB and then create another SecurityGroup for…

Luis
- 595
- 2
- 7
- 16
20
votes
2 answers
AWS RDS Writer Endpoint vs Reader Endpoint
I created an Amazon Aurora instance in my VPC. When the instance was created, it came with 2 endpoints, a writer and a reader endpoint.
The instance is using a security policy with an ingress rule (Type: All Traffic, Protocol: All, Port: All,…

Hao Chang
- 355
- 2
- 3
- 12