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
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
  • 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
  • 548
  • 3
  • 12
  • 24
5
votes
2 answers

Second ENI in AWS VPC is not accessible on Ubuntu instance

I'm just getting into VPC, trying to understand how everything works. So far the biggest hurdle I've run into is that any time I add a second Elastic NIC to a machine, that second IP is not accessible by any others in the VPC. Here's what I…
Jon
  • 632
  • 6
  • 13
5
votes
1 answer

AWS - VPC creation date

Could you possibly let me know how I can check when the VPC has been created? Or how to check in cloudtrail who created vpc via cli? I've tried to use cloudtrail and search in event name for CreateVpc but I was not able to find anything.
netmat
  • 61
  • 2
  • 4
4
votes
2 answers

How resolve Route53 private dns name inside EC2 instances?

In AWS, I have created a VPC lets call it "myVPC". I have 2 instances inside a public subnet in myVPC with auto-set private IP addresses below: 10.0.0.10 10.0.0.11 ICMP is open by setting correct Security Groups to the instances. I created a…
Shnd
  • 275
  • 3
  • 11
4
votes
1 answer

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 instance 10.200.1.17 (in VPC-A, Subnet-A), let's call…
4
votes
1 answer

AWS cloud architecture

I'm trying to figure out how to deploy my applications on AWS. I have very limited DevOps experience and I'm not sure if my design is good. I have two application, a web application that handles files upload and a processing application that do…
cmar
  • 43
  • 4
4
votes
1 answer

AWS: Getting a server to pickup changes to VPC DHCP options

I have an AWS VPC that by mistake had the default DHCP option set cleared. As a result I have a handful of servers that have the wrong (unresolvable) hostnames and missing settings in /etc/resolv.conf. I have fixed the VPC to use the default DHCP…
herbrandson
  • 163
  • 5
4
votes
1 answer

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, although I believe the VPC is configured properly. I…
4
votes
1 answer

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.com unexpectedly closed the connection. The front…
4
votes
1 answer

AWS Network ACLs Breaking SSH Connectivity

I'm trying to set up Network ACLs as a second security layer for production instances. It seems that every time I associate a non-default Network ACL to my private subnet it breaks all SSH connectivity. I'm not sure what I'm doing wrong. The…
4
votes
2 answers

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 access the primary private IP address I have found…
benedikt
  • 183
  • 1
  • 9
4
votes
1 answer

How to connect instances in different AWS accounts by private IP?

Say I have accounts A and B and light sail instances a and b in each account. a and b are in the same region and zone. Is it possiple for a and b to interconnect with private IP? For example, after I log in to a, can I ssh to b using b's private IP?…
liwt31
  • 201
  • 3
  • 4
4
votes
1 answer

Elastic beanstalk launched inside of my VPC is having issues launching

I am having issues launching an Elastic Beanstalk application inside my VPC that I created. My VPC looks like the following: id: vpc-a1b name: vpc-green cidr: 10.0.0.0/16 route table: rtb-1ab acl: acl-123 I then have 6…
Blankman
  • 2,891
  • 10
  • 39
  • 68