hands-on lab

Using Tooling to Improve AWS CloudFormation Template Quality

Beginner
Up to 1h 15m
51
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

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

Students
68,200
Labs
168
Courses
2
Learning paths
4

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.

Covered topics

Lab steps

Validating and Linting a Template
Checking a Template for Security Issues