Can't connect to EC2 instance in VPC (Amazon AWS)
- by Ryan Lynch
I've taken the following steps:
Created a VPC (with a single public subnet)
Added an EC2 instance to the VPC
Allocated an elastic IP
Associated the elastic IP with the instance
Created a security group and assigned it to the instance
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?