News for hackers. Stuff that matters.
Re:Amazon EC2-Classic Is Retiring by lowbloodsugar on Wednesday July 28, 2021 @06:19PM (#27990505)
Why would you think its 1990s NAT? Launch an instance with a public IP and there's no central-point-of-failure. The "Internet Gateway" isn't an actual physical device.
Re:Amazon EC2-Classic Is Retiring by rswail on Thursday July 29, 2021 @04:54AM (#27994324)
The IGW is not the NAT gw. You need both for private networks outgoing public connections.
Re:Amazon EC2-Classic Is Retiring by lowbloodsugar on Thursday July 29, 2021 @02:08PM (#27999537)
Sure. It's not the NAT gw. But it is NAT. Op was complaining about having to use 1990s NAT, and I was responding to that. NAT gw isn't really 1990s NAT either, since it autoscales. I assume the sentiment was the complaint about having a "public" subnet and a "private" subnet, and using a NAT to route traffic for the "private" subnet. Its been a while since I used AWS, but I was at a large company and that's simply how IT Security demanded it. So, of course, AWS offers a solution for that market.

But if you use IGW, then your "public" subnet is still actually a private subnet: all networking to hosts inside the VPC occurs with private IPs. The public IPs are 1:1 NATed by the IGW. Your instances never see packets with their public IP. And you can launch instances in the "public" subnet without a NAT mapping if you want. For IPv6, you can have an egress only IGW.

So you can do "traditional" NAT if you want, or you can do "modern cloud" NAT using IGW. It is really your choice. I'm not saying one is better than the other. I'm just letting OP know that there is a non-1990s option. =)