Logs That Never Leave the Expensive Tier
The bucket billing-api-logs keeps every access log in S3 Standard forever, and the storage bill grows every month. Nobody reads logs older than 76 days, but audits need them for one year.
Add a lifecycle rule to billing-api-logs that applies only to objects under access/:
GLACIER storage class;Objects under reports/ must not be affected. Keep the bucket's other settings.
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.