AWS Compute Blog

Category: Best Practices

CloudWatch monitoring details

Load testing a web application’s serverless backend

In this post, I discuss focus areas for load testing of serverless applications, and highlight two tools commonly used. I show how to configure Artillery with customized functions, and how to run tests to simulate load on the Ask Around Me application.

Read More

Best practices for handling EC2 Spot Instance interruptions

This post is contributed by Scott Horsfield – Sr. Specialist Solutions Architect, EC2 Spot Amazon EC2 Spot Instances are spare compute capacity in the AWS Cloud available to you at steep discounts compared to On-Demand Instance prices. The only difference between an On-Demand Instance and a Spot Instance is that a Spot Instance can be […]

Read More
Combining multiple models in one application

Managing backend requests and frontend notifications in serverless web apps

Web and mobile applications usually interact with a backend service, often via an API. Many front-end applications pass requests for processing, wait for a result, and then display this to the user. This synchronous approach is only one way to handle messages, but modern applications have alternatives to provide a better user experience. There are […]

Read More
local zone base picture

Low-latency computing with AWS Local Zones – Part 1

This post was contributed by: Pranav Chachra, Rob Chen, Alan Goodman AWS launched a Local Zone in Los Angeles (LA), California, in late 2019 at re:Invent. Since the launch, we have seen a lot of interest from you, and have worked to bring additional features and services based on your feedback. In this blog series, […]

Read More
Multiple AWS accounts in a deployment pipeline

Best practices for organizing larger serverless applications

This blog post provides recommendations for designing and managing code repositories in larger serverless projects, and best practices for deploying releases of production systems.

Read More

Running Web Applications on Amazon EC2 Spot Instances

This post is contributed by Isaac Vallhonrat, Sr. EC2 Spot Specialist SA Amazon EC2 Spot Instances allow customers to save up to 90% compared to On-Demand pricing by leveraging spare EC2 capacity. Spot Instances are a perfect fit for fault tolerant workloads that are flexible to run on multiple instance types such as batch jobs, […]

Read More
Multiple buckets with multiple Lambda subscribers

Using dynamic Amazon S3 event handling with Amazon EventBridge

The standard S3 to Lambda integration enables developers to deploy code that responds to bucket- or object-based events. Using Amazon EventBridge, you can employ even more sophisticated routing and filtering of events between S3 and Lambda.

Read More
Decoupled architecture

Decoupling larger applications with Amazon EventBridge

This blog post shows how you can use an event-based architecture to decouple services and functional areas of applications. It uses the document repository solution as an example, to compare architecture after shifting to an event-based approach.

Read More
cloudwatch-insights-service-map-view

Building well-architected serverless applications: Understanding application health – part 2

This series of blog posts uses the AWS Well-Architected Tool with the Serverless Lens to help customers build and operate applications using best practices. In each post, I address the nine serverless-specific questions identified by the Serverless Lens along with the recommended best practices. See the Introduction post for a table of contents and explaining the example application. Question OPS1: How […]

Read More