A small AWS experiment can come with a big prerequisite: getting an account.
Then you need to set up permissions, create resources, and clean everything up when you’re done. That’s a lot when you’re just learning and want to see what happens if two processes update the same record, you delete a file, or a message never arrives.
AWS just released AWS Emulator, which lets you work with emulated AWS resources on your own computer, so you don’t need an AWS account. That gave me the idea to create these labs: small experiments where you can break something, see what happened, and try to fix it. The code is in the DevOps in Practice Labs repo.
Here are the labs:
- Try it in 5 minutes: SQS: why did the message come back?. Once the setup is done, you’ll receive the same message twice, then delete it and check what changed.
- SQS + Lambda: break the flow, recover the message. Make Lambda fail, follow the retries until the message reaches the dead-letter queue (DLQ), then fix the consumer and send the message back for processing.
- S3: recover a file you overwrote and deleted. Find the right version, bring it back, and check its contents. Removing the delete marker isn’t enough if the last version was already wrong.
- DynamoDB: stop losing updates. See how one write can overwrite another process’s update. Add a version check, then read the latest value before trying again.
- EventBridge: accepted doesn’t mean delivered. Find out why an event doesn’t match its rule, fix the pattern, and check that it reaches SQS.
- Secrets Manager: bring back the working version. Add a secret version that breaks the consumer, find the one that works, and move
AWSCURRENTback to it.
For me, this helps with learning the APIs, testing how pieces of code work together, and trying recovery steps before deploying anything to AWS.
There are limits, though. Some API calls aren’t implemented yet, and behavior can differ from AWS. The emulator doesn’t check IAM policies the way AWS does, and its resources disappear when you stop it. I wouldn’t use it to check permissions or measure production performance. A local PASS helps me check my code; I’d still test the full flow and permissions in AWS before shipping.