Automatically manage & scale your data
Why We Use AWS Lambda
AWS Lambda is a compute service within the AWS ecosystem. It lets you run code in response to events (HTTP, Timers, other AWS Services).
AWS Lambda manages the underlying infrastructure of your application, including automatic scaling, as well as the security the underlying operating system and all hardware, allowing you to focus your development time on writing code.
With Lambda, you can run code for virtually any type of application or backend service with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
AWS Lambda automatically runs your code without requiring you to provision or manage servers. Just write the code and upload it to Lambda.
With AWS Lambda, you only pay for what you use, rounded to the nearest 100ms. This is measured by what your code executes and the number of times your code is triggered. You pay only for the compute time you consume.
AWS Lambda automatically scales your application by running code in response to each trigger. Your code runs in parallel and processes each trigger individually, scaling precisely with the size of the workload.
With AWS Lambda, you can optimize your code execution time by choosing the optimal memory size for your function. You can also enable Provisioned Concurrency to keep your functions initialized and hyper-ready to respond.
AWS Lambda is suitable for any number of applications including Web Applications, Web Backends, Real Time Processing Applications, ETL Processing, IOT Backends, and for Common DevOps tasks.
You should use AWS Lambda if you are building a new application, and want to be able to build your service to be highly scalable, highly available, with minimal management overhead taking full advantage of microservice architecture.
AWS Lambda Integrates with other AWS Services, including Amazon DynamoDB, Amazon API Gateway and Amazon S3.
AWS Lambda is suitable for new applications, as well as for re-architecting existing applications, and supports many languages including Node.JS, Python, .NET, Go, and Java.
Total Cost of Ownership (TCO)
Using AWS Lambda you eliminate the need to manage your own servers, allowing your engineers’ efforts to be concentrated on building new features to set you apart from your competitor, which when combined with only paying for what you use can lead to significant cost savings.
You currently run an API for a mobile app, which receives 30 million simple requests per month, on an EC2 instance, costing you roughly $35 a month. Your developers spend about 3 hours a month updating and maintaining this web server.
You could migrate your solution to AWS Lambda, and pay a total of $12 a month ($6 for Requests, $6 for Compute) and your developer hours can be spent elsewhere.