AWS VPC: Subnets, Route Tables & Security Groups
Beginner · 40 minutes · 100 points
In this foundational lab, you will use the AWS CLI inside a Docker container to build a complete Virtual Private Cloud (VPC) from scratch. You will create a VPC, add public and private subnets, configure route tables, and define security groups — the core networking primitives every AWS architect must master. All resources are created in floci, a local AWS emulator, to simulate AWS locally, so no real AWS account or charges are needed.
What you’ll learn
- Create a custom VPC with a defined CIDR block using the AWS CLI against LocalStack
- Create and tag public and private subnets within the VPC
- Configure route tables and associate them with the correct subnets
- Create and configure security groups with inbound and outbound rules
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: floci/floci:2.5.0-compat
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: aws, vpc, networking, subnets, route-tables, security-groups, floci, aws-cli, cloud-networking
Create a free account to start this lab.