We all know that AWS EC2 instances live within VPCs, more specifically, within AZs subnets. To secure VPC resources such as EC2 instances from accidental public access, AWS provides several layers of isolation. One scenario to access an EC2 instance is to equip it with a public IP address and configure a few things. So Let’s discuss how it works.