Problem scenario
You cannot reach the public IP address of an EC-2 instance. You get “Network connection timed out” errors. The EC-2 instance is in a VPC. You have configured the relevant Network ACLs of the VPC and the EC-2 instance’s Security Groups to allow connectivity from your workstation. What could be wrong?
Solution
- Make sure you have an Internet Gateway that has been created and attached to the relevant VPC.
…
Continue reading “How Do You Connect to an EC-2 Instance in a VPC?”