Skip to content

Instantly share code, notes, and snippets.

@mrsweaters
Created August 26, 2015 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrsweaters/728c15359983a3292ce3 to your computer and use it in GitHub Desktop.
Save mrsweaters/728c15359983a3292ce3 to your computer and use it in GitHub Desktop.
EC2 Operation Timed Oout

[EC2-VPC] Check the route table for the subnet. You need a route that sends all traffic destined outside the VPC (0.0.0.0/0) to the Internet gateway for the VPC.

Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

In the Description tab, write down the values of VPC ID and Subnet ID.

Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

In the navigation pane, click Internet Gateways. Verify that there is an Internet gateway attached to your VPC. Otherwise, click Create Internet Gateway and follow the directions to create an Internet gateway, select the Internet gateway, and then click Attach to VPC and follow the directions to attach it to your VPC.

In the navigation pane, click Subnets, and then select your subnet.

On the Route Table tab, verify that there is a route with 0.0.0.0/0 as the destination and the Internet gateway for your VPC as the target. Otherwise, click the ID of the route table (rtb-xxxxxxxx) to navigate to the Routes tab for the route table, click Edit, click Add another route, enter 0.0.0.0/0 in Destination, select your Internet gateway from Target, and then click Save.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment