title: How to connect to outside world from amazon vpc?
body: <p>I have amazon VPC set through wizard as "public only network", so all my instances are in public subnet.</p>
  
  <p>Instances within VPC that have Elastic IP assigned connect to internet without any troubles.</p>
  
  <p>But instances without elastic IP can't connect anywhere.</p>
  
  <p>Internet gateway is present. Route table in aws console looks like</p>
  
  <pre><code>Destination Target 
  10.0.0.0/16 local
  0.0.0.0/0   igw-nnnnn
  </code></pre>
  
  <p>and route from inside instance shows</p>
  
  <pre><code>Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  10.0.0.0        *               255.255.255.0   U     0      0        0 eth0
  default         10.0.0.1        0.0.0.0         UG    100    0        0 eth0
  </code></pre>
  
  <p>I tried to open ALL inbound and outbound traffic to 0.0.0.0/0 in security group that an instance belongs to. Still no success.</p>
  
  <pre><code>~$ ping google.com
  PING google.com (74.125.224.36) 56(84) bytes of data.
  ^C
  --- google.com ping statistics ---
  6 packets transmitted, 0 received, 100% packet loss, time 5017ms
  </code></pre>
  
  <p>What else can I do?</p>