|
|
|
|
|
by outworlder
685 days ago
|
|
> you need to setup a NAT gateway for your tools inside of a VPC to access the internet You do, if your stuff is in a private subnet. If you are just "playing around" however, you have options: a) Spin up your resources in a public subnet, give then a public IP(be very careful about your security group rules if you do this) b) Create your own NAT gateway EC2 instance(can be way less expensive than a NAT GW as tiny instance sizes can forward a lot of traffic). It's almost trivial to do. Disable source/dest check, enable ipv4 forward, configure routes. c) IPV6 :) Depending on what your destination is (+ an egress only IGW) I wouldn't recommend either (a) or (b) for a large production environment, but small deployments will do fine. You can't escape network egress charges though. |
|
I've done B before for dev environments and it works well. For production there is a large list to make it high availability.
Which brings up one of the travesties of NAT Gateway is if you have a dev (or more) and staging and you want it to match prod you're all the sudden stuck with a paying for multiple NAT gateways.