14/32
Sign inSign up free

1102. The Private Subnet That Can't Reach Out

medium 20 XP ~12 minHands-on lab

The VPC fraud-check-vpc (10.30.0.0/16) has a public subnet fraud-check-public and a private subnet fraud-check-private. A NAT gateway runs in the public subnet. Instances in the private subnet still can't reach the internet to download updates.

Task

  • Traffic from fraud-check-private to the internet (0.0.0.0/0) goes through the NAT gateway.
  • fraud-check-private stays private: it must not route to the internet gateway directly.
  • Don't change the public subnet's routing, and don't create another NAT gateway.

This machine has an AWS-style account (an emulator: nothing is billed). Instances don't really run here: the task is the routing configuration. 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

TerminalNot started

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.