hands-on lab

Integrating Custom Resources in AWS CloudFormation

Difficulty: Beginner
Duration: Up to 1 hour and 20 minutes
Students: 130
Rating: 3.6/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

AWS CloudFormation is an infrastructure as code (IaC) tool that allows you to declaratively define your cloud resources in textual templates. CloudFormation enables robust and easily repeatable deployments.

Custom resources in AWS CloudFormation enable you to provision infrastructure outside of AWS, such as third-party or organization-specific resources. By using custom resources, you can manage all of your resources in one place.

In this lab, you will implement an AWS Lambda that can be used to provision a non-AWS resource. And you will create an AWS CloudFormation stack containing a custom resource that is backed by the AWS Lambda function.

Learning Objectives

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

  • Implement and deploy an AWS Lambda function
  • Author an AWS CloudFormation template containing a custom resource
  • Create, update, and delete an AWS CloudFormation stack

Intended Audience

  • Candidates for the AWS Solutions Architect Professional certification
  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

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

  • AWS Lambda
  • AWS CloudFormation
  • Python

The following courses and labs can be used to fulfill the prerequisites:

Updates

August 31, 2021 - Enhance Introduction sections to provide more details on what will be performed and why in each lab step

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating a Custom Resource Lambda Function
Creating a Custom Resource in a CloudFormation Stack