Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can we run an AWS lambda locally without deployment?

I’m quite new to AWS and not able to understand one thing. I’ve installed aws cli, and now I’ll start using AWS to code. But all the tutorials online shows creating instances, some deployments etc. Is there any way I can run it locally? Because it’s an enterprise network and I don’t want to cause any unreasonable payment charges.

P.S.- is there anything similar how we work with node application? I build app using vscode, run locally and test. Once all good, i Deploy in production.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can use Serverless framework or AWS SAM (serverless application model) to create your Lambda functions. In that case, you have the option to run your Lambda function locally.

AWS SAM is an official AWS framework for the creation of serverless services (Lambda, DynamoDB, etc) and Serverless Framework is 3rd party solution, although pretty popular.

There are probably some other solutions also that can help you run a Lambda function locally, but since you’re talking about enterprise, it would be expected that you use one of these 2 solutions to create your serverless infrastructure.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading