hands-on labGetting Started with the AWS SAM CLI
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.
Lab steps
Setting up the AWS SAM CLI
Initializing an AWS SAM Project
Deploying an AWS SAM Application
Lab description

The AWS Serverless Application Model (SAM) CLI is a tool to build serverless applications that are defined using AWS SAM templates. The CLI consists of commands that allow you to define, test, and deploy your serverless applications.

In this lab, you will work with the AWS SAM CLI in an IDE environment that is configured to an AWS account. The IDE environment will allow you to initialize, configure, and deploy a quick start application to AWS, without using the AWS console directly. You will deploy a simple Hello World application to experience the easy-to-use commands provided by the AWS SAM CLI.

Learning Objectives

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

  • Initialize an AWS SAM project
  • Deploy a simple API and Lambda function using the SAM CLI

Intended Audience

  • Cloud Architects
  • Software Engineers


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

  • AWS Serverless Application Model (SAM)
  • AWS Lambda
  • Amazon API Gateway

The following content can be used to fulfill the prerequisite:

Environment before
environment before preview
Environment after
environment after preview
About the author
Jun Fritz
Cloud Labs Developer
Learning Paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics