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: 396
        
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?
© Server Fault or respective owner