I am still learning AWS so please bear with me. I tried searching google but couldnt get any precise answer to my question. I am a CCIE myself so networking is not new to me.
When we create new EC2 instance in default VPC every instance gets a Public IP and Private IP. Private IP is assigned to the ENI. Perfect. Where is the public ip assigned? how its done? i think it should be NAT behind the scenes right? or else how can you assign a Public IP without actually assigning it somewhere.
Please confirm my doubt
I tried to find the answer in aws documentation but couldnt find it
Behind the scenes, the public ip is VIP that is mapped to the private ip address using static nat.