AWS Compute Blog

Category: AWS Lambda

Capturing Custom, High-Resolution Metrics from Containers Using AWS Step Functions and AWS Lambda

Contributed by Trevor Sullivan, AWS Solutions Architect When you deploy containers with Amazon ECS, are you gathering all of the key metrics so that you can correctly monitor the overall health of your ECS cluster? By default, ECS writes metrics to Amazon CloudWatch in 5-minute increments. For complex or large services, this may not be sufficient to make […]

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

Automating Amazon EBS Snapshot Management with AWS Step Functions and Amazon CloudWatch Events

Brittany Doncaster, Solutions Architect Business continuity is important for building mission-critical workloads on AWS. As an AWS customer, you might define recovery point objectives (RPO) and recovery time objectives (RTO) for different tier applications in your business. After the RPO and RTO requirements are defined, it is up to your architects to determine how to […]

Read More
How to Provision Complex, On-Demand Infrastructures by Using Amazon API Gateway and AWS Lambda

How to Provision Complex, On-Demand Infrastructures by Using Amazon API Gateway and AWS Lambda

Many AWS customers are using the power of AWS CloudFormation to customize complex infrastructures. At the same time, they are moving towards self-service for their expanding customer bases. How can complex infrastructure be provisioned on-demand while minimizing customer use of the AWS Management Console? Let’s say AnyCompany uses AWS services to process sensitive datasets owned […]

Read More

Parallel Processing in Python with AWS Lambda

If you develop an AWS Lambda function with Node.js, you can call multiple web services without waiting for a response due to its asynchronous nature.  All requests are initiated almost in parallel, so you can get results much faster than a series of sequential calls to each web service. Considering the maximum execution duration for […]

Read More