DEV Community

Ajit Singh for This is Learning

Posted on

AWS Lambda

AWS Lambda is function as service in AWS it means that we define what we want to run on AWS as a function and AWS runs it it does not matter how much RAM, storage it requires. It does not require you to provision any servers. It also runs on demand and you pay for compute time and no of times you run required function. It can scale infinitely. Scaling and pay on compute time makes it a service of choice for many developers.

Benefits

  1. You don't need to manage any servers for your back end service.

  2. It lets you run I million requests and 400 thousand of compute time in free tier so that you can get well versed with it before using it.

  3. Easy pricing you have to pay for compute time and number for request

  4. Language support Node.js, Python, Golang C# etc and all other using many API provided custom API

  5. Very easy to add resources.

  6. Only used as for resources when needed

Next we will do a hands on AWS Lambda

Discussion (4)

Collapse
leouofa profile image
Leonid Medovyy

I like Lambda a lot. The main issue I had with it was deployment felt archaic. Maybe I didn't spent enough time researching it.

Can you do Git deploys or anything of sorts yet?

Collapse
ajitsinghkaler profile image
Ajit Singh Author

Using Serverless framework: medium.datadriveninvestor.com/easy...

Github Action to deploy lambda: github.com/appleboy/lambda-action

If you can tell me more details on how you want to deploy it maybe i can give you a specific answer

Collapse
leouofa profile image
Leonid Medovyy

This is perfect. Thank you.

Collapse
ajitsinghkaler profile image
Ajit Singh Author

You can also upload to s3 and keep changing that file on each deployment too and import from there