Networking & Content Delivery

Tag: Lambda@Edge

Generating dynamic error responses in Amazon CloudFront with Lambda@Edge

Amazon CloudFront allows you to create custom error pages for specific HTTP status codes and to change response codes. CloudFront also offers origin failover capability, with which you can easily set up failover logic between combinations of AWS origins or non-AWS custom HTTP origins. This creates minimal interruption in your viewer’s experience. However, while these […]

Read More

Leveraging external data in Lambda@Edge

Introduction Lambda@Edge is a feature of Amazon CloudFront that allows developers to implement custom logic for manipulating HTTP request/response exchanges or generating responses on the fly with low latency. Lambda@Edge empowers our customers with a full programming language (Node.js) to implement advanced logic. While customers often write stateless logic that is fully contained in Lambda@Edge […]

Read More

Four Steps for Debugging your Content Delivery on AWS

Introduction Werner Vogels, chief technology officer for AWS, has been quoted as saying: “Everything fails all the time.” Well, his quote applies as well to content delivery with Amazon CloudFront and Lambda@Edge. In content delivery, issues might occur in different places, for example: On your origin, when it returns HTTP 5xx errors On CloudFront, when […]

Read More

TrueCar’s Dynamic Routing with AWS Lambda@Edge

Introduction TrueCar is a digital automotive marketplace that provides comprehensive pricing transparency about what other people paid for their cars and enables consumers to engage with TrueCar Certified Dealers who are committed to providing a superior purchase experience. TrueCar operates its own branded site and a nationwide network of more than 15,000 Certified Dealers. TrueCar […]

Read More

Managing Lambda@Edge and CloudFront deployments by using a CI/CD pipeline

As promised in my previous post of this series about Lambda@Edge, in this new blog post I’m sharing some best practices for managing a Lambda@Edge application. So how do you roll out code or configuration changes to a Lambda@Edge function and Amazon CloudFront distribution in a safe and controlled way? Over time, as your application evolves, you’ll […]

Read More

Lambda functions as targets for Application Load Balancers

As of today, Application Load Balancers (ALBs) now support AWS Lambda functions as targets. Build websites and web applications as serverless code, using AWS Lambda to manage and run your functions, and then configure an ALB to provide a simple HTTP/S frontend for requests coming from web browsers and clients. Triggering a Lambda Function from […]

Read More

Leveraging Lambda@Edge for AdTech: Cookie Syncing at the Edge

In online advertising, cookies play a key role in identifying and profiling users. They allow advertisers to display targeted and personalized ads to users as they browse the internet, from a desktop browser or mobile browser. Advertisers can achieve this personalization by assigning a cookie to users when their ads are displayed on websites or […]

Read More

Global Data Ingestion with Amazon CloudFront and Lambda@Edge

Special thanks to Raul Frias for contributing to this blog post Lambda@Edge enables you to run AWS Lambda functions globally so that you can process and respond to user requests at low latencies. Running Lambda functions in close geographical proximity to users helps satisfy a number of use cases, such as website personalization, Search Engine […]

Read More

Visitor Prioritization on e-Commerce Websites with CloudFront and Lambda@Edge

For online retailers, the annual holiday season, special sales and new product launches are all exciting events that typically drive a rapid increase in site traffic. With Amazon CloudFront and Lambda@Edge, you can now build a Flash Crowd Management workflow that lets you control what proportion of incoming shopper traffic is allowed to access your backend application, while directing the remaining shoppers to a temporary waiting room- an alternate site where you can provide them a branded experience while they await their turn to access the application.

Read More

Resizing Images with Amazon CloudFront & Lambda@Edge | AWS CDN Blog

Do you have lots of images that need to be modified before delivery? No problem with Amazon CloudFront and Lambda@Edge. Read more on how you can use our services to modify image dimensions, apply watermarks, or optimize formats based on browser support all on the fly. Optimizing your image delivery can lead to a better experience for your users while also reducing your bandwidth usage.

Read More