AWS EC2: Launch, Connect & Manage Instances
Beginner · 30 minutes · 100 points
In this foundational lab, you will use the AWS CLI to simulate and practice the core workflows of Amazon EC2: configuring the CLI, exploring available AMIs and instance types, launching instances, checking instance state, and managing instance lifecycle operations. All tasks are performed inside a Docker container running the official AWS CLI image, using LocalStack-style dry-runs and describe commands so no real AWS account is required.
What you’ll learn
- Configure the AWS CLI with region and credential environment variables
- Explore EC2 AMIs and instance types using describe commands
- Simulate launching an EC2 instance using dry-run mode and understand the launch parameters
- Understand EC2 instance lifecycle by describing instance states and stop/terminate operations
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 4 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: amazon/aws-cli:latest
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- Basic familiarity with the Linux command line
Topics: aws, ec2, cloud, cli, instances, launch, lifecycle
Create a free account to start this lab.