What is the difference between an internet gateway, NAT gateway and egress-only gateway in AWS?
IntermediateConceptIP Addressing, CIDR, Subnetting & Routing
Answer
An internet gateway gives bidirectional internet access to resources with public IPs, and is what makes a subnet public. A NAT gateway lets private instances initiate outbound IPv4 connections while blocking inbound. An egress-only internet gateway does the same for IPv6, where addresses are globally routable and NAT is not used.
A subnet is public or private only because of its route table, not because of a label.
More on IP Addressing, CIDR, Subnetting & Routing
What is an IPv4 address and how is it structured?BeginnerWhat are the private IPv4 ranges (RFC 1918)?BeginnerWhat is CIDR notation?BeginnerHow many usable hosts are in a /24, and why minus two?BeginnerSubnet 10.0.0.0/16 into /24 subnets. How many do you get and what are the first three?IntermediateGiven 172.16.37.200/21, what is the network address, broadcast and range?Intermediate