AWS Lambda
cloud AWS

5 minutes


go back go back go back home home

Why do we need Amazon Lambda?

The disadvantage of AMAZON EC2 is that there are virtual servers in the cloud which need to be managed and which have limited RAM and CPU.

Another Drawback is the cost of continiously running EC2 instance and the extra steps required to scale (add/remove servers)


Advantages of Lambda Over EC2:


Benifits of Lambda (in-general):


AWS Lambda Supports following Languages:

# Lambda Container Image

    If the docker image is compliant (& Implements Lambda Runtime API),
    We can run it as a LAMBDA! Although ECS/Fargate are preferred way
    if you want to use it.

Following is a nice workflow of an Lambda picking up images from one bucket and creating thumbnail.


"Lambda Workflow"

But this requires a Trigger (like upload in Bucket), if you want to do a scheduled task, you can use a Serverless CronJob every 1 hour!