Skip to main content
Welcome — this short guide highlights the source code used in the demos and explains how to access and use it as a reference for AWS CloudFormation work. The repository contains the finished CloudFormation templates used throughout the course. Cloning the repo and experimenting locally is the best way to track changes and learn. Repository (final CloudFormation templates) Files included in the repo (representing final templates and artifacts):
FilenamePurpose / UsageLast modified
imports.yamlShared Imports or mappings used by parent stacksUpload #1 — 7 minutes ago
intro.yamlTemplate used in the initial CloudFormation demonstration (used directly in the intro demo)Upload #2 — 2 minutes ago
parent.yamlParent stack that may reference nested stacksUpload #1 — 7 minutes ago
s3-bucket.yamlExample S3 bucket resource definitionUpload #1 — 7 minutes ago
simple-ec2.yamlSimple EC2 instance stack for demosUpload #1 — 7 minutes ago
simple-s3.yamlMinimal S3 stack used in examplesUpload #1 — 7 minutes ago
ssm.yamlSystems Manager (SSM) configuration or association examplesUpload #1 — 7 minutes ago
stack-policy.jsonExample stack policy for protecting resources during updatesUpload #1 — 7 minutes ago
stackset.yamlStackSet example for multi-account / multi-region deploymentUpload #1 — 7 minutes ago
One template in particular—intro.yaml—is referenced directly in the opening demonstration. Other files are used as final results or referenced by demos that combine pieces from multiple templates.
A dark-themed screenshot of a GitHub repository showing a file list of CloudFormation YAML files (cfn-init.yaml, cli.yaml, drift.yaml, ec2-instance.yaml, imports.yaml, intro.yaml, parent.yaml, s3-bucket.yaml). The right sidebar shows repository activity, watchers/forks info and a Releases section.
How to get the repository
  • Download ZIP: Click the “Code” button on the GitHub page and choose “Download ZIP”.
  • Clone with Git (recommended for tracking changes):
git clone https://github.com/kodekloudhub/AWS-CloudFormation.git
Quick start recommendations
  1. Clone the repository to your local machine.
  2. Inspect templates to understand resource layout and parameters (start with intro.yaml and parent.yaml).
  3. Validate templates locally with the AWS CLI:
    • aws cloudformation validate-template —template-body file://intro.yaml
  4. When ready to deploy, use CloudFormation package/deploy steps (or the Console) to create stacks and observe the results.
  5. Track changes with git and use branches for experimentations.
This repository is intended as a reference for following along with the demos. Clone the repo and apply the templates locally so you can explore changes, validate templates, and safely iterate on your CloudFormation learning.
Links and references

Watch Video