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

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. For additional information, see:

724 questions
5
votes
2 answers

Do you need or you don't need an IGW to get access to the internet if you create a EC2 instance with an EIP

I’m confused about Internet Gateway in AWS, if it says that in order for your VPC to access the internet you need a IGW why then when you create a EC2 instance with an EIP you automatically have access to the internet. I then have this question that…
VaTo
  • 191
  • 4
  • 20
5
votes
2 answers

Data transfer speed between AWS regions

Does anyone know what sort of data transfer speed we should be seeing on a VPC peering connection between 2 AWS regions (in this case us-west-2 and eu-west-2)? We tested this a couple of weeks ago, and saw speeds in excess of 200MB per second.…
Garreth McDaid
  • 3,399
  • 26
  • 41
5
votes
3 answers

Are multiple ENIs ever required for AWS EC2 instances?

AWS allows you to attach multiple elastic network interfaces (ENIs) to an EC2 instance. Other than "making it look like an on-prem server", are there any cases where multiple ENIs are actually required? I've considered the reasons one would do this…
user65237
5
votes
2 answers

How to secure Redis cluster on AWS elasticache

I have been reading up on Redis with AWS Elasticache and am a little confused on security. So far, it seems the only security is to create a Redis Security Group that only allows access from either a specific security group or IP address. Is there…
5
votes
1 answer

Associate Elastic IP to Interface or Instance?

What advantages are there to pairing an Elastic IP (EIP) to an interface as opposed to the instance itself? I see the point of the network interfaces - you can associate and disassociate them from/to instances on-demand without losing configuration.…
5
votes
1 answer

Specifying a VPC in a CloudFormation template for an EC2 instance

I'm launching an EC2 instance via a CloudFormation template, however, the specified instance t2.micro requires a VPC. How do I specify a VPC in the CloudFormation template? Here's my template: { "Description" : "Single Instance", …
Snowcrash
  • 1,087
  • 2
  • 16
  • 19
5
votes
2 answers

How do I find the AWS Quicksight IP Range

I'm looking to allow connections from AWS Quicksight to my PostgreSQL database. And in their FAQ they offer some advice that Quicksight has a dedicated IP range Q: How do I connect my VPC to Amazon QuickSight? If your VPC has been set up with…
Simon
  • 153
  • 1
  • 5
5
votes
2 answers

Automate war deployment in VPC's private subnet on tomcat7

I have a VPC with public and private subnets. Public subnet contains my Nating and Bastion instances Private subnet contains my application servers (3 ec2 instances running tomcat7 with my project war file). These 3 instance are behined the…
5
votes
1 answer

Is it possible to split an active subnet in aws?

I created a VPC thinking I wouldn't need subnets. I just gave the vpc a CIDR range like 192.168.0.1/24 I then created a subnet which matches that exactly. Low and behold RDS requires it's own subnet. What happens if I delete the existing subnet and…
jorfus
  • 715
  • 7
  • 14
5
votes
3 answers

Internet access from private VPC subnet?

My brain is a little bit fried trying to figure this out but I can't seem to get private subnets to connect to the internet to grab updates for example. Basically all I want is web access for these servers. I have tried solutions found in other…
jmreicha
  • 791
  • 1
  • 16
  • 29
5
votes
1 answer

Connecting two AWS Regions: Why not use two Virtual Private Gateways?

I am attempting to connect two AWS regions. AWS's documentation suggests starting up an instance on both sides to run software IPSec (OpenSWAN or StrongSWAN), giving both instances an elastic IP and using that as a tunnel. That's all well and good,…
STRML
  • 151
  • 1
  • 2
5
votes
1 answer

Can I add an extra route to my Amazon VPC?

I have an Amazon VPC set up between AWS and my corporate LAN. Originally, when I set it up, I specified static routing for the following CIDRs: 10.55.55.0/24 10.77.77.0/24 10.99.99.0/24 I set up the following CIDR in the VPC: 10.44.0.0/16 This all…
Garreth McDaid
  • 3,399
  • 26
  • 41
5
votes
2 answers

ssh timeout issue connecting to an EC2 instance on OS X

I am new to AWS and not a networking expert but curious to know more about it. I created a VPC with a public subnet only. Then i created an EC2 instance using an Ubuntu 14.04 64-bit pv AMI image (ami-e84d8480) as well generating the key pair needed…
mamusr
  • 61
  • 1
  • 6
5
votes
3 answers

IAM policy to restrict access to one VPC

I am trying to restrict users to a single VPC. I went through Controlling Access to Amazon VPC Resources and came up with the following policy but it does not work. Can someone point out the errors in it? I should mention that IAM Policy Simulator…
Satie Sharma
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

How do I allow access to an AWS Elastic Load Balancer over the DNS name?

I have an ELB. It has the address myelbname.eu-west-1.elb.amazonaws.com as one would expect. I also have an EC2 instance behind that ELB. The load balancer is saying that the instance is healthy (the status is "In Service"). I can access the EC2…
Piers Karsenbarg
  • 538
  • 3
  • 12
  • 24