17/32
Sign inSign up free

1119. Peered, But Nothing Gets Through

medium 20 XP ~15 minHands-on lab

The app servers run in mailer-app-vpc (10.113.0.0/16); PostgreSQL runs in mailer-db-vpc (10.168.0.0/16) behind the security group mailer-db. The two VPCs are peered with mailer-app-db, and the peering is active. Connections from the app to the database on port 5432 still time out.

Task

  • Traffic from the app subnet to the database VPC goes through mailer-app-db, and the replies find their way back the same way.
  • mailer-db allows TCP 5432 from the app VPC's range, and nothing more open than that (no 0.0.0.0/0).
  • Don't create another peering connection.

This machine has an AWS-style account (an emulator: nothing is billed). Your AWS CLI is signed in as the account's administrator. No packets flow in the emulator, so the grader checks the routes and rules.

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.