Using Tooling to Improve AWS CloudFormation Template Quality

Lab Steps

lock
Validating and Linting a Template
lock
Checking a Template for Security Issues

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h 15m
Students25
Ratings
5/5
starstarstarstarstar

Description

Using Infrastructure as Code (IaC) tools such as AWS CloudFormation has many benefits, including making your infrastructure deployments reliable and easy to repeat.

Defining infrastructure with code also has some challenges, including making security audits and reviews more complex. To get the most out of working with AWS CloudFormation templates, tooling can aid the process.

In this hands-on lab, you will see how to use various tools to inspect, format, and audit AWS CloudFormation templates.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Validate a template using the AWS command-line interface
  • Use a command-line tool to format a template
  • Use tooling to identify potential security issues with a template
  • Use the AWS CFN Policy Validator to analyze policies embedded in a template

Intended Audience

  • Candidates for AWS certification
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Machine Learning Engineers
  • Software Engineers
  • Anyone who regularly works with AWS CloudFormation templates

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • AWS CloudFormation
  • The Git source-control system
  • The Bash command line
  • The YAML file format

The following content can be used to fulfill the prerequisite:

About the Author
Students50704
Labs127
Courses2
Learning paths3

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.