VPC - An analogy about shared resources
Public subnets and Internet Gateway
Private subnets and NAT
Endpoints and Security Groups
ALB
Auto Scaling
Architecture and Tradeoffs
Practice
Assignment
Cloud Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Section note: This section introduce the notion of private subnet and NAT
- Create a new subnet
- Explain the routing only internal to the subnet itself
- Spin up a new machine EC2
- Explain Bastion and/or SSM to SSH into the instance
- Present the upgrade problem (my machine needs to be able to download updates) (probably touch upon SG but can explain on the next part)
- Introduce NAT and advanced routing
Resource https://docs.aws.amazon.com/vpc/latest/userguide/route-table-options.html
https://www.youtube.com/watch?v=7_NNlnH7sAg&
CIDR in depth
https://www.youtube.com/watch?v=KiWXRL-2TnY
Subnets
https://mxtoolbox.com/SubnetCalculator.aspx
- Subnet is a slice dedicated to AZ of your VPC
- Each subnet has a type that defines the behavior of network for machine within the subnet
- there is 5 types, we will focus on 2 (public/private)
- Public subnet allows individual resources within it to access the internet and be accessed from the outside thanks to IG
- Real scenario example with technicalities here
- Private subnet does not allow individual resources to be accessed from the outside and resources needs to pass through a component to access the internet (NAT)
- Example of an ubuntu machine that can not be reached outside the subnet but requires update of packages
Internet access
Public subnets
Internet gateway setup
Private subnets
NAT Setup
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0
*https://hackyourfuture.net/*

Built with ❤️ by the HackYourFuture community · Thank you, contributors
Found a mistake or have a suggestion? Let us know in the feedback form.