Skip to content
VirtualLP Virtual Learning Platform
Amazon Web Services AWS-16 intermediate

Infrastructure as code with AWS CloudFormation: stacks, change sets, rollback and delete

Deploy a data layer (S3, DynamoDB, SQS) from a YAML template with parameters, intrinsic functions and outputs, preview an update with a change set, watch a failed stack roll back automatically, and delete a stack while retaining critical data.

What you'll do

  • Read a template: Parameters, Resources, Outputs, intrinsic functions
  • Create a stack and follow its events
  • Preview updates safely with change sets
  • Understand automatic rollback
  • Delete stacks and protect data with DeletionPolicy

Lab tasks

  1. 1 Create the stack shop-data-dev
  2. 2 Preview an update with a change set
  3. 3 Execute the change set
  4. 4 See a failed stack roll back
  5. 5 Inspect stacks from the CLI
  6. 6 Delete shop-data-dev but keep the bucket