DEV Community

Cover image for ABOUT AWS LAMBDA
usha boddeda
usha boddeda

Posted on

ABOUT AWS LAMBDA

AWS LAMBDA it kicked off the serverless computing craze.

What is Serverless Computing?
It's compute but without servers.

Let me explain: If you have a code you want to run. For example if you have a account in twitter and my topic is on Trading the shares and you want to automatically send out the tweet updates daily that posts the shares of the cost and market up and down details.
If you want to update the details so you need a server. We might look at Amazon EC2 and start up a virtual server then you will login to Linux and install any programming language like python or Nodejs then we will write the code and it will work then we schedule a timing everyday at morning 9:00AM and we have to maintain virtual EC2 machine and we have to pay for 24/7 or some kind of schedule where it automatically turn on at 8:55AM runs our tasks and posts the tweet and shutdown at 9:01AM.Then we also want to pay for hard disk storage network traffic and everything else involved. For maintaining Linux operating system we required kernel and security patches and also we want to maintain python updates and patches as well and it is a lot of work. There is an easier way and that way is AWS LAMBDAwhich is introduced by AWS.

AWS LAMBDA is a serverless compute service which runs our programming code in response to events. And that event could be a timer that triggers it or someone visits our website or they will upload an image to it.There is lot of events that we can use.

AWS LAMBDA runs the programming code somewhere no one knows where it runs but only one knows i.e AWS people who created it.

NOTE: There are no servers for us to install, maintain and pay for. We can do only one thing put our code in AWS LAMBDA Website or upload it using some command line tools and available for us to run whenever required.

The best example for this is if we watching any *AWS VIDEO *:

AWS LAMBDA HOW IT WORKS

If they finished recording this lesson and they uploaded into the AWS WEBSITE and upon uploading a LAMBDA function was triggered, which automatically transcoded into a bunch of different formats for desktop and mobile viewers it is all controlled by AWS LAMBDA and all completely automatic. But if we notice LAMBDA is everywhere these days doing tasks small and big every web programmers life easier.

BILLING:

1.Billing charged by the millisecond and the price changes depending on how much RAM that we choose to use.
2.If lambda uses 128MB RAM * 30 MILLION TRIGGERS PER MONTH and it will end up by costing $11.63 a month.

AWS LAMBDA is a super powerful service and if we control its power, we can save both time and money.

Top comments (0)