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:

747 questions
9
votes
3 answers

IPSec VPN between Amazon VPC and Linux Server

I'm trying to set up an IPSec VPN connection between our corporate network and Amazon's Virtual Private Cloud, using their VPN system and a Linux server. Unfortunately, the only guide I've found discusses how to set up the tunnel using a host Linux…
Dan Udey
  • 1,468
  • 12
  • 17
9
votes
2 answers

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 free, however the Network Load Balancer creation…
Some Linux Nerd
  • 3,327
  • 3
  • 19
  • 22
8
votes
2 answers

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 communicate with other devices using private IP's. No…
8
votes
1 answer

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, my route table looks like this: 172.31.0.0/16 …
user35042
  • 2,681
  • 12
  • 34
  • 60
8
votes
2 answers

Setting up Open VPN client on Amazon EC2

There are various pages that advise on setting up an Open VPN Server on Amazon EC2, but all I need is to setup a client (so any internet access is routed through the VPN rather than coming directly from AWS IPs). I can transfer the .ovpn file to it…
Rob
  • 227
  • 2
  • 6
8
votes
1 answer

How to specify VPC and subnet in AWS CloudFormation template

I am trying to launch an example CloudFormation template as described in Getting Started with CloudFormation. I removed the default VPC, added new one (10.0.0.0/16), and created a new subnet in it (10.0.0.0/24). According to the AWS docs, I can't…
ipeacocks
  • 321
  • 1
  • 3
  • 10
8
votes
2 answers

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 seeing traffic from the LAN. Here's a trimmed…
lschweiss
  • 361
  • 1
  • 3
  • 8
8
votes
1 answer

Classic RDS from VPC EC2s

My old RDS instance is deployed in "Classic," not VPC. I have a new VPC with some EC2 instances in it, but I can't connect from these VPC EC2 instances to the RDS instance. Security Groups from VPC are not showing up in the RDS security group…
Rodrigo Asensio
  • 259
  • 2
  • 9
8
votes
1 answer

Software VPN connection to Amazon AWS VPC private instance

I have a Virtual Private Cloud (VPC) instance on Amazon AWS. Inside the VPC, I have a private instance which is running the database and a public instance which has the front-end web pages for accessing the database. There is no way to login into…
tilmik
  • 135
  • 1
  • 8
7
votes
1 answer

How to configure cross region VPC peering on AWS with Terraform

I'm trying to create a terraform configuration to spin up multiple VPCs in different regions and create VPC peer connections between them. This is my module for the VPC # Required Variables variable "region" {} variable "cluster_name" {} variable…
rvabdn
  • 245
  • 4
  • 11
7
votes
3 answers

IPv6 on Amazon VPC: missing default route in Ubuntu

Now that Amazon has extended IPv6 support for VPC to most of their global regions including eu-west-1, I'm trying to get my instances connected. Unfortunately I can't get routing to work. I've followed the steps in the migration guide, i.e. I've…
Martijn Heemels
  • 7,728
  • 7
  • 40
  • 64
7
votes
1 answer

How to set up IAM Role Permissions for VPC CloudWatch logs?

I am trying to allow aws to start my log service, and I have my log streams, and log groups added already. When i got to my VPC dashboard, the status of the Flow Log I'm interested in says: Access Error. The IAM role for your flow logs does not…
7
votes
3 answers

AWS yum does not work from private subnet (does work from public)

I have a VPC with a private and a public subnet - each containing an identically built RHEL7 server. I believe the VPC is set up correctly (see following). However, the public server can use yum and the private one can't. The private one receives…
BurningKrome
  • 525
  • 2
  • 12
  • 22
7
votes
3 answers

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 runs this NAT script on startup, injecting rules…
j0nes
  • 955
  • 1
  • 12
  • 27
7
votes
1 answer

What is the advantage of using a NAT plus private sub-net on AWS vs a public sub-net with locked down security groups and ACL?

My Scenario: I have an SQS queue with an auto-scaling group of EC2 workers processing messages from the queue into a database in a different region. Implied Networking Needs for EC2 Workers: Access Public Internet to interact with SQS Access Public…
sirmxanot
  • 73
  • 2
1 2
3
49 50