AWS Compute Blog

Category: AWS Lambda

Request flow for idempotent Lambda function

Implementing idempotent AWS Lambda functions with Powertools for AWS Lambda (TypeScript)

This post is written by Alexander Schüren, Sr Specialist SA, Powertools. One of the design principles of AWS Lambda is to “develop for retries and failures”. If your function fails, the Lambda service will retry and invoke your function again with the same event payload. Therefore, when your function performs tasks such as processing orders […]

Python and Node.js Lambda Layer for Chaos Injection

Building resilient serverless applications using chaos engineering

This post is written by Suranjan Choudhury (Head of TME and ITeS SA) and Anil Sharma (Sr PSA, Migration)  Chaos engineering is the process of stressing an application in testing or production environments by creating disruptive events, such as outages, observing how the system responds, and implementing improvements. Chaos engineering helps you create the real-world […]

AWS SAM support for HashiCorp Terraform now generally available

In November 2022, AWS announced the public preview of AWS Serverless Application Model (AWS SAM) support for HashiCorp Terraform. The public preview introduces a subset of features to help Terraform users test serverless applications locally. Today, AWS is announcing the general availability of Terraform support in AWS SAM. This GA release expands AWS SAM’s feature […]

Go running on provided.al2

Migrating AWS Lambda functions from the Go1.x runtime to the custom runtime on Amazon Linux 2

Lambda is deprecating the go1.x runtime in line with Amazon Linux 1 end-of-life, scheduled for December 31, 2023. Customers using Go with Lambda should migrate their functions to the provided.al2 runtime. Benefits include support for AWS Graviton2 processors with better price-performance, and a streamlined invoke path with faster performance.

Image order system

Detecting and stopping recursive loops in AWS Lambda functions

This post is written by Pawan Puthran, Principal Serverless Specialist TAM, Aneel Murari, Senior Serverless Specialist Solution Architect, and Shree Shrikhande, Senior AWS Lambda Product Manager. AWS Lambda is announcing a recursion control to detect and stop Lambda functions running in a recursive or infinite loop. At launch, this feature is available for Lambda integrations […]