September 2018
Beginner to intermediate
174 pages
3h 27m
English
A public subnet will be used for instances that need a public IP to be accessible from the internet. The way we make it a public subnet is to associate a custom route table and add a route to the internet, with an internet gateway as a target. Notice that the internet is defined with CIDR notation as 0.0.0.0/0. An internet gateway must first be attached to your VPC. If you don't have an internet gateway attached to your VPC, none of your instances will be able to reach the internet.
A private subnet is used for instances that do not need to be directly reachable from the internet. For the best security, it's important to keep backend instances and databases private, so those would go in a private ...
Read now
Unlock full access