Sign inSign up free

1111. Encrypt the Contracts Bucket With Our Key

medium 20 XP ~12 minHands-on lab

The bucket payouts-contracts stores signed contracts. Today it uses S3's default encryption (SSE-S3, keys managed by Amazon). The audit asks that every contract be encrypted with the customer-managed KMS key alias/payouts-contracts, which already exists.

Task

  • New objects uploaded to payouts-contracts without any encryption options are encrypted with alias/payouts-contracts, with an S3 Bucket Key enabled (fewer KMS calls, lower cost).
  • The contracts already in the bucket are encrypted with that key too, and keep their content.

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: The Public Subnet That Isn't

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.