Getting Started with the AWS SAM CLI

Lab Steps

lock
Setting up the AWS SAM CLI
lock
Initializing an AWS SAM Project
lock
Deploying an AWS SAM Application

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students20
Ratings
5/5
starstarstarstarstar

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

Prerequisites

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
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students21769
Labs69
Learning paths3

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.