AWS CLI Basics with a Local AWS Simulator
Beginner · 30 minutes · 100 points
In this lab you will use the AWS CLI inside a Docker container pointed at a local AWS simulator (floci) that runs inside the lab container on http://localhost:4566. You will configure the CLI, create S3 buckets, upload objects, list resources, and clean up — all without touching a real AWS account. By the end you will be comfortable with the core AWS CLI workflow and understand how endpoint-url overrides enable local cloud development.
What you’ll learn
- Configure the AWS CLI to talk to a local simulator instead of real AWS
- Create and inspect S3 buckets using the AWS CLI
- Upload, list, and download S3 objects using the AWS CLI
- Use IAM list commands to explore simulated AWS resources
- Delete resources and verify clean-up with the AWS CLI
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: floci/floci:2.5.0-compat
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: aws, aws-cli, s3, docker, cloud, simulator, localstack
Create a free account to start this lab.