18/32
Sign inSign up free

1120. Private Subnet, Public Bucket Traffic

medium 20 XP ~12 minHands-on lab

The build servers in the private subnet exporter-build of exporter-vpc fetch large artifacts from the bucket exporter-artifacts. All of that goes out through the NAT gateway, which charges per gigabyte. Security also wants the build servers unable to copy data to any other bucket over this path.

Task

  • exporter-vpc has a gateway endpoint for S3, and the route table of exporter-build uses it.
  • The endpoint's policy lets requests through only for exporter-artifacts and its objects: reading objects and listing the bucket. Nothing else.
  • The NAT gateway route stays in place for everything else.

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

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.