Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to create a NAT instance for my VPC to allow instances on private subnets connect to the internet (most importantly, S3). I tried following the instructions here: . Unfortunately, the instances in the private subnet (call it cannot reach the internet.

I have done the following:

  1. Create a NAT instance (Amazon's ami-vpc-nat-1.0.0-beta.i386-ebs (ami-d8699bb1)) in public subnet (call it
  2. Changed "Source / Dest Check" to disabled.
  3. Created a new entry in the default routing table (which is used by and had it point to the ID of the newly created instance.
  4. Associated an Elastic IP address with the NAT instance.
  5. Allowed all outbound traffic on the security group of the NAT instance.
  6. Ensured that all traffic could pass between the two subnets.

I've tried also doing this with an existing instance using iptables, but had no luck. And I have verified that is 1, just in case anyone was wondering. And I still have no internet connectivity from the instances on Does anyone have any suggestions?

share|improve this question

2 Answers 2

Just to be clear, you have two routing tables, one NAT instance and one Internet Gateway right? The default route ( for the routing table used by the public subnet should be to the Internet Gateway (igw) and the default route in the routing table used by private subnets should be the NAT instance. AWS sometimes set those for you automatically when you use their wizard, but I assume you are setting it up manually since you are setting up the NAT instance manually.

share|improve this answer

Create a NAT instance (Amazon's ami-vpc-nat-1.0.0-beta.i386-ebs (ami-d8699bb1)) in public subnet (call it

also you can find it from the static VPC, to ensure to connecting with the public cloud, with the

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.