The Public Subnet That Isn't
The VPC promo-api-vpc has two subnets: promo-api-lb, which must be public, and promo-api-db, which must stay private. There's an internet gateway promo-api-igw and a route table promo-api-public-rt that someone set up for the public subnet. Instances launched in promo-api-lb get no public address, and nothing there can be reached from the internet.
promo-api-igw is attached to promo-api-vpc.promo-api-lb sends internet traffic (0.0.0.0/0) to promo-api-igw.promo-api-lb get a public IPv4 address automatically.promo-api-db has no route to the internet gateway and doesn't hand out public addresses.This machine has an AWS-style account (an emulator: nothing is billed). Your AWS CLI is signed in as the account's administrator.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.