Sign inSign up free

1125. The EU Warehouse Gets Every Order

medium 20 XP ~12 minHands-on lab

Orders are published to the SNS topic billing-api-orders, each with a message attribute region (eu, us or apac). The topic has two subscribers: the queues billing-api-eu-shipping and billing-api-us-shipping. Both warehouses receive every order and throw away the ones that aren't theirs, and the EU one has started shipping US orders by mistake.

Task

  • billing-api-eu-shipping receives only orders whose region is eu.
  • billing-api-us-shipping receives only orders whose region is us.
  • APAC orders still go to neither queue, and the publisher doesn't change: one topic, one publish per order.
  • Both queues keep their subscriptions, with raw message delivery.

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.

Part of AWS Hands-On. Next step: Events Fire, the Queue Stays Empty

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.