AWS Compute Blog

Tag: AWS Lambda

Implementing Canary Deployments of AWS Lambda Functions with Alias Traffic Shifting

This post courtesy of Ryan Green, Software Development Engineer, AWS Serverless The concepts of blue/green and canary deployments have been around for a while now and have been well-established as best-practices for reducing the risk of software deployments. In a traditional, horizontally scaled application, copies of the application code are deployed to multiple nodes (instances, […]

Read More

Serverless Automated Cost Controls, Part1

This post courtesy of Shankar Ramachandran, Pubali Sen, and George Mao In line with AWS’s continual efforts to reduce costs for customers, this series focuses on how customers can build serverless automated cost controls. This post provides an architecture blueprint and a sample implementation to prevent budget overruns. This solution uses the following AWS products: […]

Read More

Resume AWS Step Functions from Any State

Yash Pant, Solutions Architect, AWS Aaron Friedman, Partner Solutions Architect, AWS When we discuss how to build applications with customers, we often align to the Well Architected Framework pillars of security, reliability, performance efficiency, cost optimization, and operational excellence. Designing for failure is an essential component to developing well architected applications that are resilient to […]

Read More
Route 53 Health Check

Building a Multi-region Serverless Application with Amazon API Gateway and AWS Lambda

This post written by: Magnus Bjorkman – Solutions Architect Many customers are looking to run their services at global scale, deploying their backend to multiple regions. In this post, we describe how to deploy a Serverless API into multiple regions and how to leverage Amazon Route 53 to route the traffic between regions. We use latency-based […]

Read More

Automating Security Group Updates with AWS Lambda

Customers often use public endpoints to perform cross-region replication or other application layer communication to remote regions. But a common problem is how do you protect these endpoints? It can be tempting to open up the security groups to the world due to the complexity of keeping security groups in sync across regions with a […]

Read More
Lambda Trigger

Implementing Default Directory Indexes in Amazon S3-backed Amazon CloudFront Origins Using Lambda@Edge

With the recent launch of Lambda@Edge, it’s now possible for you to provide even more robust functionality to your static websites. Amazon CloudFront is a content distribution network service. In this post, I show how you can use Lambda@Edge along with the CloudFront origin access identity (OAI) for Amazon S3 and still provide simple URLs […]

Read More
X-Ray trace on subsequent invocations of the Lambda function without the cold start

Analyzing Performance for Amazon Rekognition Apps Written on AWS Lambda Using AWS X-Ray

AWS X-Ray helps developers analyze and debug production, distributed applications, such as those built using a microservices architecture. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors. It allows you to view, filter, and gain insights to identify […]

Read More

Improved Testing on the AWS Lambda Console

(This post has been written by Chris Tate, SDE on the Lambda Console team) Today, AWS Lambda released three console enhancements: A quicker creation flow that lets you quickly create a function with the minimum working configuration, so that you can start iterating faster. A streamlined configuration page with Lambda function settings logically grouped into […]

Read More

Using Enhanced Request Authorizers in Amazon API Gateway

Recently, AWS introduced a new type of authorizer in Amazon API Gateway, enhanced request authorizers. Previously, custom authorizers received only the bearer token included in the request and the ARN of the API Gateway method being called. Enhanced request authorizers receive all of the headers, query string, and path parameters as well as the request […]

Read More