DEV Community

Cover image for Four Ways to deploy your Lambda Function from local to AWS - Serverless, SAM, Docker & Terraform
amlan
amlan

Posted on

Four Ways to deploy your Lambda Function from local to AWS - Serverless, SAM, Docker & Terraform

In this post I try to explain what I learnt about the various ways to deploy Lambda functions. Hopefully this will help someone else who is starting to learn the wonderful Lambda functions. On a high level these are the ways which I will go through here and I found easier to deploy a Lambda function:

  • Using Serverless Framework
  • Deploy Lambda functions from Docker images
  • Using SAM (Serverless Application Model) templates and Lambda Layers
  • Using Terraform

More Details here: https://amlanscloud.com/lambdadeploy/

Top comments (1)

Collapse
 
antonbabenko profile image
Anton Babenko

Hi! There is a website describing the approach and all the Terraform AWS modules that often used in serverless deployments - serverless.tf

Hope it helps more people to not reinvent the wheel, and use open-source.