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

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

AWS DNS resolution only resolves internal IP one way?

I have three instances in two separate VPCs. I've set up peering between the VPCs, both VPCs have DNS Resolution and DNS Hostnames enabled, the peering connection has "Allow DNS resolution from peer ...
3
votes
2answers
596 views

unable to create keypair in amazon aws

I added a user to a group in amazon AWS. The user has the privilege of adding EC2 instances but does not appear to have the privilege of creating a keypair - the request is getting denied. Any idea ...
3
votes
2answers
4k views

Creating AWS VPC Endpoints with CloudFormation

I'm currently looking into automating the creation of VPC endpoints within our stack using CloudFormation (The purpose is so that our stack can access S3 without creating outbound traffic). The ...
3
votes
1answer
7k views

Why does port 6379 need to be opened on the security group for elasticache?

I made a redis cluster and created a new security group called cache-access. If I ssh into an ec2 server and try to access a cache node, it works if two conditions are met: ec2 server belongs to ...
3
votes
1answer
4k views

AWS Override VPC DHCP - Additional Option Sets for RRAS VPN Clients

I am trying to run a RRAS VPN server that pulls from a windows DHCP server running on the same box. I am finding that the AWS DHCP is getting hit first with the DHCP request and it provides invalid ...
3
votes
2answers
22k views

Setting up a VPN connection to Amazon VPC - routing

I am having some real issues setting up a VPN between out office and AWS VPC. The "tunnels" appear to be up, however I don't know if they are configured correctly. The device I am using is a Netgear ...
3
votes
1answer
15k views

Connecting RDS database from out side of VPC

My RDS database located in VPC. It's a Multi AZ database so that it's located on two VPC subnet. How could I connect it from outside of VPC?
3
votes
2answers
3k views

Can't start Apache - Address already in use - httpd is stopped

I'm trying to set up an Amazon EC2 web server on the "Virtual Private Cloud". I'm using this instead of a standard EC2 instance because I needed to assign multiple public IPs and that necessitates the ...
3
votes
4answers
6k views

What is the least expensive gateway for Amazon VPC?

I need to prototype a solution using Amazon VPC - what's the least expensive option available to create a VPC gateway on our side for the test lab? I realize there are probably free VPN gateways (...
3
votes
1answer
3k views

Cannot connect to EC2 instance in private subnet with openvpn

I'm new to AWS and the forum. I've created a new VPC with a private and public subnet. The public subnet has a route table with 2 entries, one to local 10.0.0.0/16 and one to an internet gateway. The ...
3
votes
1answer
2k views

Routing between EC2 instances not coming through

I want to set up a VPN from one EC2 instance in a default VPC the other instances in the same VPC can use so I am doing some initial tests. I have 2 test instances running and they can ping each ...
3
votes
1answer
7k views

How can two AWS VPCs using the same Customer Gateway for a VPN connection

If there are two vendors with seperate VPCs connecting to a single customer gateway for a VPN connection, what are possible configuration options to allow this? As it stands it seems that AWS only ...
3
votes
2answers
15k views

port forwarding through AWS VPC NAT

Yes, I have already scoured the internet and read most of the popular IPTables / DNAT guides / pages / posts. My Problem Summary I have a VPC with several subnets. One subnet in particular requires ...
3
votes
3answers
3k views

is it possible to connect a public EC2 instance into company VPN for secure web service calls?

i'm looking for a temporary solution to allow my public web application running in EC2 to make server-side HTTP requests to a web server inside my firewall. I looked into amazon VPC, but that seems ...
3
votes
2answers
668 views

Cannot Git Pull From Inside AWS Private Subnet

I am using two public subnets in two availability zones, and then two private subnets in those same availability zones. I have an elastic load balancer that forwards traffic to my EC2 instances in the ...
3
votes
1answer
2k views

An Issue with an AWS EC2 instance when connecting it to WebSocket

As I tried to run the chat app from localhost connected to MySQL database which had been coded with PHP via WebSocket it was successful. Also when I tried to run from the PuTTY terminal logged into ...
3
votes
1answer
298 views

AWS lambda fails to access internet, despite having proper IGW, NAT and routing table entries?

I am experimenting with AWS Lambda, with a small piece of code that would fetch some files from S3. Unfortunately I cannot even access internet resources when I put my Lambda function into a VPC, ...
3
votes
2answers
3k views

How to configure OpenVPN with Multiple VPCs in different region?

I have different VPCs in different regions in AWS: 10.1.0.0/16(A) 10.2.0.0/16(B) 10.3.0.0/16(C) I followed this article(http://cloudacademy.com/blog/openvpn-aws-vpc/) to open a vpn connection in ...
3
votes
3answers
5k views

How to implement DHCP, DNS, hostnames on AWS VPC

This is what I THINK can happen and what I want. I create a VPC in Amazon, put a public subnet into it, put a puppet server instance and a full stack web server instance in the VPC. Now I set the ...
3
votes
2answers
860 views

AWS VPC: Internet Gateway vs NAT

This and this and this are quite related to my question. Although it seems to have answered quite a lot of people's doubts, I am still struggling to understand if this setup is specific to AWS or in ...
3
votes
1answer
7k views

Can't ping or traceroute through AWS IPSec VPN

My VPC is connected to my premises via IPSec VPN, tunnel is shown to be UP on AWS console. Things that work: I can see the traffic from my premises (subnet 192.168.0.0/16) to AWS VPC ( 10.0.0.0/16) ...
3
votes
2answers
796 views

Ansible : How to find the route ID connected to a subnet

I have a VPC with some routes and subnets. I want to get ansible to work with it but I can't see a way to link the subnet with the route table ID. I've used the ec2_vpc_route_table_facts, ...
3
votes
1answer
607 views

Questions on Elastic Beanstalk application in VPC

I am trying to deploy a rails application on Amazon's Elastic Beanstalk. I am not very well-versed in network/server environments, so I picked up some knowledge along the way by reading documentations ...
3
votes
1answer
2k views

How do I get knife to bootstrap an EC2 instance in a public VPC?

I don't know much about routing and subnets and vpc's, I never had to use those with my old AWS account. In my new AWS account, I started a new Amazon Linux AMI instance (ami-043a5034). The security ...
3
votes
1answer
632 views

Whitelist outbound traffic in VPC to changing IPs

I'm working with EC2 servers in a VPC where we'd like as little outbound traffic as possible, and for all outbound traffic to be explicitly whitelisted. However, based on EC2 security groups or ...
3
votes
0answers
1k views

AWS console - This site cannot be reached - Only on my PC

I have an AWS insatance and whenever I go to the console page, ie: https://us-west-2.console.aws.amazon.com on a browser I get the message: This site can’t be reached us-west-2.console.aws.amazon....
3
votes
1answer
1k views

How to connect to OpenVPN clients from LAN 'members'

Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance. So far I have been able to set up an EC2 instance configured as an ...
3
votes
0answers
692 views

AWS: RDS + CloudFormation – VPC peering

So here's my situation: We are a young startup scaling up and we decided to give Mesosphere DCOS Community edition a try. The community edition deploys a stack of Masters, Slaves and LB's over AWS ...
3
votes
2answers
397 views

Managing multiple AWS VPCs - becomes a fruit salad of subnets / ec2 instances

We are just starting our AWS presence. We require multiple VPCs, each hosting our own servers or customers' servers. Each VPC has 4 subnets - 2 public, 2 private, each in a different AZ. Each VPC ...
3
votes
0answers
128 views

Is it worth setting up a private subnet in Amazon EC2 (VPC) [duplicate]

Amazon details how use a public + private subnet approach in VPC (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html). But, bearing in mind that Instances don't have to have a ...
3
votes
4answers
2k views

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 ...
2
votes
2answers
2k views

How to get the secondary private IP address of an Amazon EC2 instance

I'm assigning automatically a secondary private IPv4 address during launch of my instances. To configure Ubuntu to recognize this secondary IP I need to run ip addr add 10.0.1.15/24 dev eth0 To ...
2
votes
1answer
8k views

Is it okay to use an Elastic Load Balancer for ssh/sftp traffic?

I have an instance that acts as both and SFTP server and a NFS shared drive to our internal network. The instance has a public IP to receive data over SFTP. That data is saved to a volume that is ...
2
votes
2answers
970 views

Wildcard SSL Certificate on Multiple ELBs in VPC

I am very new to installation of certificates and AWS itself altogether. Now, in my current infrastructure I have 3 ELBs that are in a VPC. I have purchased a wildcard ssl certificate from COMODO ...
2
votes
1answer
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 ...
2
votes
1answer
1k views

Connecting multiple VPCs with the same CIDR block to a shared VPC

In my company's AWS cloud we have 4 VPCs, one for each of our major API environments (dev, test, stage, prod). In order to make these environments as similar as possible to each other they all have ...
2
votes
2answers
5k views

Routing between the instances in AWS

I have two instances in the same VPC: Linux (172.31.25.177) and Windows (172.31.26.178). I opened all ports in the security group for both IP addresses and they can to connect to each other. Windows ...
2
votes
1answer
2k views

AWS VPC ACL for private subnets

I created a VPC using the VPC wizard with two subnets (public and private), and a NAT in front of the private subnet. Looking at the ACL for the the subnets, there was a rule to allow all INBOUND ...
2
votes
2answers
3k views

Network speed between 2 EC2 instances in VPC

I setup a vpc and launched 3 EC2 instances all in 10.0.0.0/16 subnet. I am wondering how these instances connected to each other, 100mbit, 1000mbit?
2
votes
1answer
223 views

Security Considerations of AWS Private Subnet vs Private Security Group

AWS Virtual Private Cloud allows several ways of restricting access to devices on the VPC network from the Internet. 1) Place devices into a private subnet (no Internet Gateway). Each device can ...
2
votes
3answers
112 views

Allow EC2 Instance to be Shutdown or Blocked by Another Party

I am working on a project with another person, call him Bob. I would like to run a piece of proprietary software on an Amazon EC2 instance. This software will being send out network packets (HTTP ...
2
votes
2answers
7k views

Problems using EC2 command line tools on one of the instances

I'm having a bit of a problem with EC2 API tools timing out on a new instance I created. Yesterday I took an image of a server on which the tools worked fine. I made some changes to the software it ...
2
votes
4answers
2k views

Alternatives to Amazon VPC

I currently have 20 Windows VMs that are running on Amazon EC2. There are LOTS of people in the company that need ad-hoc RDP access to each one of these boxes. Occassionally I also run Unix instances, ...
2
votes
1answer
176 views

Benefits of EC2 Dedicated Instances for latency (within the same AZ)

Does dedicated instances have better latency between nodes in the same AZ? Can someone comment on the inter-node latency for the following case: 1) SharedVPC.AZ1.instance1 → SharedVPC.AZ1.instance2 (...
2
votes
2answers
15k views

Permanently set MTU on Ubuntu 14.04 machine within an Amazon VPC

I have some Ubuntu 14.04 machines running in an Amazon VPC. When they start, they have an MTU of 9001, but this appears to cause some problems when communicating with other servers which have an MTU ...
2
votes
1answer
9k views

Migrating Eth0 Private IP to new instance in AWS

I have a Windows instance (m1.medium) running in a VPC in AWS with one Network Interface (eth0). I am trying to see if there is a way (or a workaround?) to migrate the private IP (IE: 10.80.78.0/24 ...
2
votes
1answer
6k views

How to make VPN connections to different networks which have the same CIDR?

So, I have an app running in a VPC, with (currently) a VPN connection to the development location. The app is accessible at, let's say, 10.0.2.25 (IP of the internal ELB, accessible only via VPN). ...
2
votes
2answers
155 views

Is there any way of viewing, in AWS, what ips in a subnet have been allocated?

Is there any way of seeing what ip addresses AWS thinks have been allocated in a subnet? I've run a ping scan, and I've checked our internal ip management software, and there should be more than 8 ips ...
2
votes
1answer
698 views

Cannot ping between EC2 instances in peered VPCs

I am trying to setup a barebones VPC connection within the same AWS account. VPC-A and Subnet-A have CIDR: 10.200.1.0/24 VPC-B and Subnet-B have CIDR: 10.200.2.0/24 Each VPC contains one EC2 ...
2
votes
1answer
2k views

Forwarding traffic from AWS ELB to another ELB

I have 2 VPCs (X and Y). We have a vpc peering connection between the two. In VPC X, we have a CNAME that needs to resolve to an ELB in VPC Y. Is there any way to make an ELB in VPC X forward traffic ...

1 2
3
4 5
13