Questions tagged [amazon-vpc]
Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define
45
questions
2
votes
1
answer
3k
views
VPC public subnet internet access with ELB hooked up
I am attempting to set up a web server (nginx) that needs access to the internet while also being hooked up to an ELB but I am having trouble getting this solution working.
Details:
3 public subnets
...
10
votes
4
answers
16k
views
AWS VPC + IPtables + NAT: Port Forwarding is not working
Yesterday, I posted a question here but I think was not clear enough in my words. BTW, This question is not a duplicate.
I have AWS VPC Setup as below.
GOAL/PROBLEM: SSH to Server A from internet. ...
57
votes
6
answers
58k
views
What is the recommended CIDR when creating VPC on AWS?
I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect ...
35
votes
2
answers
37k
views
Elastic file system (EFS) mount outside of AWS
I have a server that is outside of AWS. I'd like to be able to mount an EFS volume to it, but I am not sure if that is possible.
Perhaps if you create a VPC, and you create a tunnel over VPN?
Does ...
35
votes
3
answers
32k
views
Static IP address for outgoing traffic from AWS autoscaling group
I'm going to have a number of EC2 instances in an Elastic Beanstalk autoscaling group in a default subnet in a VPC. The app on these EC2 instances needs to connect to a third party service who uses an ...
12
votes
2
answers
10k
views
AWS VPC - why have a private subnet at all?
In Amazon VPC, the VPC creation wizard allows one to create a single "public subnet" or have the wizard create a "public subnet" and a "private subnet". Initially, the public and private subnet ...
50
votes
5
answers
49k
views
Can't connect to EC2 instance in VPC (Amazon AWS)
I've taken the following steps:
Created a VPC (with a single public subnet)
Added an EC2 instance to the VPC
Allocated an elastic IP
Associated the elastic IP with the instance
Created a security ...
22
votes
3
answers
70k
views
How to SSH to ec2 instance in VPC private subnet via NAT server
I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
13
votes
1
answer
3k
views
AWS NAT vs AWS IGW vs AWS Router
As per this answer, router and gateway are same devices, in terms of functionality.
In AWS world, we have internet gateway, NAT gateway and router
Are these three not the same?
12
votes
1
answer
9k
views
Can't establish VPC peering connection from Amazon Lightsail
AWS has a new barebones VPS offering, Lightsail, which is sort of an EC2-Lite -- extremely light -- offering with just a few fixed-size instance classes, simplified pricing, and very few options, ...
11
votes
3
answers
26k
views
AWS CIDR is not within the CIDR ranges of VPC
Right now i have a public subnet : CIDR 10.0.0.0/24
I want to add a new subnet on my current vpc to be able to use RDS service.
When i try to add a new subnet with CIDR, i got this message :
10.0.1....
9
votes
3
answers
12k
views
CodeBuild with VPC settings fails to download CodeCommit source
I originally had a simple CodePipeline setup triggered by commits to a CodeCommit repo, with a "Stage" that output the source code as an artifact and another "Stage" using CodeBuild to run some code ...
8
votes
1
answer
14k
views
AWS VPC routing table with both Internet Gateway and NAT Gateway
I have a single VPC in Amazon Web Services with the subnet 172.31.0.0/16. I have created an EC2 instance in this subnet and given it a public Elastic IP. There is an Internet Gateway on this VPC. So, ...
8
votes
2
answers
12k
views
Connecting an EC2 VPC with OpenVPN all routed traffic being lost
I'm trying to use OpenVPN on Amazon Linux to connect the local LAN to a VPC on EC2. I have traffic flowing from the OpenVPN instance to any machine on the LAN, but other machines on the VPC are not ...
7
votes
3
answers
4k
views
Amazon EC2 VPC: NAT instance download speed performance drop
I have a set of servers inside Amazon EC2 in VPC. Inside this VPC I have a private subnet and a public subnet. In the public subnet I have set up a NAT machine on a t2.micro instance that basically ...