This is the revision 0 of the code that creates a VPC with both public and private subnets.  One subnet contains a NAT instance and the the other a private instance.  Also, the public NAT instance gets an elastic IP.