Create & Deploy a REST API Backed by a Node.js 12 Lambda Function using AWS Serverless Application Model (AWS SAM)

This article describes the steps involved in creating a simple hello world AWS SAM application in Node.js 12 & deploying it to AWS using the AWS toolkit in VS code.

Step 1 β€” Create SAM App

Wait for the app to create. When it’s done, VS code will open template.yaml.

Step 2 β€” Deploy SAM App

Starting SAM Application deployment...
Building SAM Application...
Packaging SAM Application to S3 Bucket: my-s3-bucket-in-virginia
Deploying SAM Application to CloudFormation Stack: sam-app-stack
Successfully deployed SAM Application to CloudFormation Stack: sam-app-stack

Step 3 β€” Test API

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.