Hi Cloud Gurus,
I checked the internet Gateway userguide on the below link and found something I wanted to share with you.
"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html".
In this page, its written "An internet gateway serves two purposes: to provide a target in your VPC route tables for internet-routable traffic, and to perform network address translation (NAT) for instances that have been assigned public IPv4 addresses."
Now, if it had been IPv6, this could have made some sense because since all IPv6 address are unique and public and there is no private IP addressing in IPv6, we could need a NAT to secure (or hide) the addresses used in our network. But IPv6 is handled by Egress only gateway and not the internet gateway.
Now we know that NAT Gateway/instance does the Network address translation for instances with private IP addresses to talk to the internet. That is required since private IPs are not addressable on the internet.
Now, it is difficult to understand why would instances having public IPv4 address require network address translation (NAT)?
Could anybody spare a few minutes for this question. Thank you so much.