OCI: Gateway Types and Network Routing Fundamentals Part-4
Internet Gateway (IGW) An Internet Gateway acts as the door between your VCN (Virtual Cloud Network) and the public internet. The Internet Gateway supports both inbound and outbound internet traffic. By default, a compute instance deployed in a public subnet cannot access the internet unless: An Internet Gateway is created and attached to the VCN. The route table is configured to direct internet traffic through the Internet Gateway. The instance has a public IP address assigned. Oracle manages the availability, redundancy, and maintenance of the Internet Gateway internally. Key Points Used primarily for public subnets. Enables inbound and outbound internet connectivity. Requires proper route table configuration. Instances typically need a public IP address to communicate through the Internet Gateway. Network Address Translation (NAT) Gateway A NAT Gateway provides internet access to private resources without making them publicly accessible. If a server is deployed in a private subnet a...