Cloud concept / Networking decisions
Internet gateway
IGW — Attach a VPC to the public internet through a route target for applicable subnets.
How it works
A subnet is public when its route table has a route to an internet gateway. Direct IPv4 internet connectivity for an instance also requires a public IPv4 address, plus permissive security controls and a working listener for inbound application traffic.
Exam keywords
Picture this
A road reaches the city gate, but each building still needs an address and permission to receive visitors.
Public route plus public address and rules.
When to use it
A web server should be directly reachable from the internet, but it currently has only private IPv4 addressing.
When not to use it
Attaching an internet gateway alone does not publish private resources or override security groups and network ACLs.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.5