tools:aws_lambda

AWS Lambda

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services.

Snippet from Wikipedia: AWS Lambda

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services. It is designed to enable developers to run code without provisioning or managing servers. It executes code in response to events and automatically manages the computing resources required by that code. It was introduced on November 13, 2014.

Node.js, Python, Java, Go, Ruby, and C# (through .NET) are all officially supported as of 2018. In late 2018, custom runtime support was added to AWS Lambda.

AWS Lambda supports running native Linux executables by calling them from a supported runtime, such as Node.js. For example, Haskell code can be run on Lambda.

AWS Lambda was primarily designed for tasks such as handling image and object uploads to Amazon S3, updating DynamoDB tables, responding to website clicks and reacting to sensor readings from IoT connected devices. AWS Lambda can also be used to automatically provision back-end services triggered by custom HTTP requests, and "spin down" such services when not in use to save resources. These custom HTTP requests are configured in AWS API Gateway, which can also handle authentication and authorization in conjunction with AWS Cognito.

Unlike Amazon EC2, which is priced by the hour but metered by the second, AWS Lambda is metered by rounding up to the nearest millisecond with no minimum execution time.

AWS Lambda functions are often used in association with AWS SQS queues to process asynchronous tasks in distributed architectures.

In 2019, at the AWS annual cloud computing conference (AWS re:Invent), the AWS Lambda team announced "Provisioned Concurrency", a feature that "keeps functions initialized and hyper-ready to respond in double-digit milliseconds." The Lambda team described Provisioned Concurrency as "ideal for implementing interactive services, such as web and mobile backends, latency-sensitive microservices, or synchronous APIs."

  • tools/aws_lambda.txt
  • Last modified: 2022/08/10 06:09
  • by 127.0.0.1