Compose Multi-Stack CloudFormation with Exports, Imports and Nested Stacks

Advanced · 45 minutes · 4 tasks, checked automatically · 100 points

In this advanced lab you will design and deploy a three-tier CloudFormation architecture entirely on the local AWS emulator. You will build a foundational **network stack** that exports VPC and subnet identifiers, a **storage stack** that imports those network exports and itself exports an S3 bucket name and a DynamoDB table ARN, and finally a **nested-stack root template** that pulls both child stacks together via the AWS::CloudFormation::Stack resource type. Along the way you will observe how cross-stack references enforce deployment ordering, how nested stacks surface outputs to their parent, and how to safely update and query the full dependency graph — all without touching a real AWS account.

What you’ll learn

How this lab works

  1. Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
  2. 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.
  3. Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
  4. Finish and keep going: 100 points, your progress saved, and the next lab to try.

What it runs on

What you need

Topics: cloudformation, nested-stacks, cross-stack-references, exports, imports, infrastructure-as-code, s3, dynamodb, aws

Create a free account to start this lab.

Keep going