Hair of the Dom

Getting Started with AWS Serverless Framework

Category: Serverless

A beginner's guide to setting up AWS CLI and deploying a sample lambda endpoint with Serverless Framework.

AWS:
Create AWS Account


AWS CLI (Command Line Interface):
AWS CLI Install


NVM ( node version manager ):
NVM Install


Serverless Framework:
Serverless Install


Serverless Examples:
Example Repo


Sample video

Example Serverless File

service: aws-python-rest-api

frameworkVersion: '3'

provider:
  name: aws
  runtime: python3.9

functions:
  hello:
    handler: handler.hello
    events:
      - http:
          path: /
          method: get

Serverless Deploy

serverless deploy --stage development

download the code here
edit