AWS CloudFormation Stack Management
Intermediate · 35 minutes · 100 points
In this hands-on lab, you will practice managing AWS CloudFormation stacks using the AWS CLI in a local simulation environment. You will create CloudFormation template files, validate them, simulate stack operations using the AWS CLI with a mock/localstack-style approach, and manage stack lifecycle operations. Since this is a standalone lab without live AWS credentials, you will configure a mock AWS environment and work with CloudFormation template authoring, validation logic, and CLI command structure — building the foundational skills needed for real-world CloudFormation deployments.
What you’ll learn
- Create and structure a valid AWS CloudFormation YAML template with Parameters, Resources, and Outputs sections
- Configure the AWS CLI with mock credentials and validate CloudFormation template syntax and structure
- Understand and demonstrate CloudFormation stack lifecycle commands including create-stack, describe-stacks, and delete-stack
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 3 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
Topics: cloudformation, aws, iac, infrastructure-as-code, s3, aws-cli, stack-management, yaml, devops
Create a free account to start this lab.