AWS Compute Blog

Category: AWS Lambda*

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

Messaging Fanout Pattern for Serverless Architectures Using Amazon SNS

Sam Dengler, Amazon Web Services Solutions Architect Serverless architectures allow solution builders to focus on solving challenges particular to their business, without assuming the overhead of managing infrastructure in AWS. AWS Lambda is a service that lets you run code without provisioning or managing servers. When using Lambda in a serverless architecture, the goal should […]

Read More

Synchronizing Amazon S3 Buckets Using AWS Step Functions

Constantin Gonzalez is a Principal Solutions Architect at AWS In my free time, I run a small blog that uses Amazon S3 to host static content and Amazon CloudFront to distribute it world-wide. I use a home-grown, static website generator to create and upload my blog content onto S3. My blog uses two S3 buckets: […]

Read More