About developing Lambda function locally

0

Hi, I'm pretty new to AWS, coming from Azure World. I've reading the docs, but I've not found what I'm lookking for:

  1. A official tutorial on developing/creating a Lambda function con VS Code
  2. Deploy it via command line

I'm trying to get a similar development experience as Azure Functions ...

Could you give me some guidance or resources?

Regards

profile picture
asked a year ago432 views
1 Answer
2
Accepted Answer

Hello.

A official tutorial on developing/creating a Lambda function con VS Code

If you are developing with VSCode, why not try using AWS Toolkit for VS Code?
https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/remote-lambda.html

If you want to create AWS resources with IaC, I think it's a good idea to use AWS SAM.
https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/sam-get-started.html
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html

Deploy it via command line

You can use AWS SAM to deploy from the command line.
If you don't mind zipping the Lambda code, you can also use the AWS CLI.
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-awscli.html

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile pictureAWS
EXPERT
reviewed a year ago
  • Thank you very much

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions