AWS Lambda

WHAT IS AWS LAMBDA?

AWS Lambda is an event-driven computing cloud service from Amazon Web Services that allows developers to program functions on a payper-use basis without having to provision storage or compute resources to support them.

AWS supports code written in a variety of programming languages. AWS Lambda languages include Node.js, Python, Java, and C#.

A big advantage of Lambda is how it charges the user. Rather than needing to pay for entire servers to run the code, or pay for blocks of time, Lambda only charges for the compute time you are using – specifically, charging every 100 ms that the code is executed and the number of times the code is triggered.

AWS LAMBDA USE CASES

  • Operating serverless websites
  • Log analysis on the go
  • Automated backups and everyday tasks
  • Filtration and transformation of data.
  • IoT backends
  • Mobile Backends

BENEFITS OF AWS LAMBDA

  • Easier operational management
  • Faster innovation
  • Reduced operational costs
  • Enforcement of micro in microservices

DRAWBACKS OF AWS LAMBDA

  • Problems due to third-party API system
  • Lack of operational tools
  • Architectural complexity
  • Cold start

HOW TO USE LAMBDA FUNCTION IN AWS SCHEDULER APP?

  • First, we have to create an AWS API Gateway with the API-Key to ensure only trusted users have the access to the API's.
  • First, we have to create an AWS API Gateway with the API-Key to ensure only trusted users have the access to the API's.
  • Each API endpoint is assigned to an AWS Lambda Function.
  • When the Endpoint calls, the associated Lambda function will call & serve the request.
  • Lambda functions are integrated with AWS SQS and SNS in order to perform a specific task.

 

Add comment

Loading