DEV Community

AravindaKumar K
AravindaKumar K

Posted on

AWS Lambda: An Overview of Serverless Computing for DevOps and DevSecOps

AWS Lambda Overview:
AWS Lambda is the host serverless computing service from Amazon Web Services (AWS). It enables one to run code without the bother of managing servers. By use of AWS Lambda, you can run code in response to events, such as changes in data or updates from other AWS services and automatically manage the resources required by your application.

Main Features:
1.No Server to be provisioned or managed. AWS Lambda is a perfect fit for an event-driven computing model since it does not require you to provision any servers.
2.Auto Scaling - The application is automatically scaled by running code in response to every event, thereby serving thousands of requests per second.
3.Event-driven Execution With integration with many AWS services including S3, DynamoDB, Kinesis and more, you can really trigger functions on actual events.
4.You only get charged for the compute time consumed, with no cost when your code is not running.
5.It automatically takes care of the underlying infrastructure OS, logging, and scaling.
6.AWS Lambda enables fine-grained permission setting and integration with AWS IAM for safe access to resources.

How does it fit into DevOps/DevSecOps?
Automation: DevOps using AWS Lambda automates the following to name a few, releases, monitoring, and the processing of logs.
CI/CD: It would enable easy automation of testing, build pipelines, as well as infrastructural updates within a CI/CD process.
Monitoring and Logging: Integrates with AWS CloudWatch to provide the integration for log as well as performance metrics and supports maintaining application health.
Security in DevSecOps: AWS Lambda supports secure configurations, integrates with AWS security tools, and allows building security into automated workflows, supporting a shift-left security approach.

Programming Languages Supported:
AWS Lambda supports several programming languages, including:

  • Python
  • JavaScript (Node.js)
  • Java
  • Go
  • Ruby
  • C#
  • Custom runtimes (through Amazon Linux)

Parent Company:
AWS Lambda is developed and maintained by Amazon Web Services (AWS), which is a subsidiary of Amazon.

Open Source or Paid:
AWS Lambda itself is not open-source. It is a paid service, with a pay-as-you-go cost model. You are charged by the number of requests for your functions and for the duration that your code runs. AWS Lambda offers a free tier - 1 million free requests and 400,000 GB-seconds of compute time per month.

Top comments (0)