From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 23,200 courses taught by industry experts.

Hands-on lab: AWS SAM CLI

Hands-on lab: AWS SAM CLI

- [Instructor] In this video, we'll look at how to deploy a simple SAM application using the various SAM CLI commands. Here is the full list of commands that you can use to interface with SAM. You can check this out and see them for yourself by visiting this documentation. Simply search for SAM CLI command reference, and the first link should take you to this page. You don't need to memorize all of these commands. Nevertheless, you must at least be familiar with the most commonly used ones before taking the exam. The commands that we will cover are the SAM build, SAM deploy, SAM init, SAM package, and SAM local invoke. Okay, so let's start with the demo. As you can see, I'm in the SAM CLI demo directory. This is where we will create the SAM application. Currently, it does not contain any files, but we will populate this in a short while. First, we need to have a Working SAM template that we can deploy. So instead of creating…

Contents