For NATs look at a feature called advanced routing.
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/4db04b8c-2428-4b89-ab75-7de67ec2643a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/9170a3e7-0af3-4e7f-99b3-835163337f15%40googlegroups.com.
## create an instance with public ip
# inst - 1
gcutil addinstance nat1-ops --machine_type=f1-micro --image=centos-6 --zone us-central1-a --can_ip_forward=true --auto_delete_boot_disk
## create another instance with no public ip
gcutil addinstance priv1-ops --machine_type=f1-micro --image=centos-6 --zone us-central1-a --external_ip_address=none --auto_delete_boot_disk
# set tag on private node (for routing) [could have combined with earlier step, but i didn't think about it, was planning to do `route add` which didn't work]
gcutil setinstancetags priv1-ops --tags=private --fingerprint=42WmSpB8rSM=
# create route entry