Internet Gateway and Route Tables

By default subnet follow the main route table till you create custom route table → then subnet follow the custom route table

Internet Gateway → to route traffic to internet

Requirements for EC2 Instance to Route Public Traffic

Info

  • There should be internet gateway
  • Route table must have entry
  • Instance should have public IP
Dest: 0.0.0.0/0Target: Internet Gateway