AWS Compute Blog

Category: Serverless

Configuring private integrations with Amazon API Gateway HTTP APIs

This post was written by Michael Hume – AWS Solutions Architect Public Sector UKIR. Customers often want to use Amazon API Gateway REST APIs to send requests to private resources. This feature is useful for building secure architectures using Amazon EC2 instances or container-based services on Amazon ECS or Amazon EKS, which reside within a […]

Read More

Node.js 14.x runtime now available in AWS Lambda

You can now develop AWS Lambda functions using the Node.js 14.x runtime. This is the current Long Term Support (LTS) version of Node.js. Start using this new version today by specifying a runtime parameter value of nodejs14.x when creating or updating functions or by using the appropriate managed runtime base image. Language Updates Node.js 14 is a […]

Read More

Building a Jenkins Pipeline with AWS SAM

This post is courtesy of Tarun Kumar Mall, SDE at AWS. This post shows how to set up a multi-stage pipeline on a Jenkins host for a serverless application, using the AWS Serverless Application Model (AWS SAM). Overview This tutorial uses Jenkins Pipeline plugin. A commit to the main branch of the repository starts and […]

Read More
Event loops in Lambda-based applications

Operating Lambda: Anti-patterns in event-driven architectures – Part 3

This post discusses anti-pattern in event-driven architectures using Lambda. I show some of the issues when using monolithic Lambda functions or using custom code to orchestrate workflows. I explain how to avoid recursive architectures that cause loops and why you should avoid functions calling functions.

Read More
PHP Lambda fucntion with Container images

Building PHP Lambda functions with Docker container images

At re:Invent 2020, AWS announced that you can package and deploy AWS Lambda functions as container images. Packaging AWS Lambda functions as container images brings some notable benefits for developers running custom runtimes, such as PHP. This blog post explains those benefits and shows how to use the new container image support for Lambda functions […]

Read More
Idempotent microservice

Operating Lambda: Design principles in event-driven architectures – Part 2

This post discusses the design principles that can help you develop well-architected serverless applications. I explain why using services instead of code can help improve your application’s agility and scalability. I also show how statelessness and function design also contribute to good application architecture.

Read More
Representation of a container image with eight layers, one of which is updated requiring two additional child layers to be updated also.

Optimizing Lambda functions packaged as container images

AWS Lambda launched support for packaging and deploying functions as container images at re:Invent 2020. In this post you learn how to build container images that reduce image size as well as build, deployment, and update time. Lambda container images have unique characteristics to consider for optimization. This means that the techniques you use to […]

Read More