Can't connect to EC2 instance in VPC (Amazon AWS)

Posted by Ryan Lynch on Server Fault See other posts from Server Fault or by Ryan Lynch
Published on 2013-04-06T04:23:01Z Indexed on 2013/10/17 16:04 UTC
Read the original article Hit count: 332

I've taken the following steps:

  1. Created a VPC (with a single public subnet)
  2. Added an EC2 instance to the VPC
  3. Allocated an elastic IP
  4. Associated the elastic IP with the instance
  5. Created a security group and assigned it to the instance
  6. Modified the security rules to allow inbound ICMP echo and TCP on port 22

I've done all this and I still can't ping or ssh into the instance. If I follow the same steps minus the VPC bits I am able to set this up without issue. What step am I missing?

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about amazon-web-services