AWS Compute Blog

Category: AWS Serverless Application Model

CloudFormation code example creating infrastructure

Building well-architected serverless applications: Approaching application lifecycle management – part 1

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 explanation of the example application. Question OPS2: […]

Answers processing architecture

Building a location-based, scalable, serverless web app – part 3

In part 2, I cover the API configuration, geohashing algorithm, and real-time messaging architecture used in the Ask Around Me web application. These are needed for receiving and processing questions and answers, and sending results back to users in real time. In this post, I explain the backend processing architecture, how data is aggregated, and […]

Ask Around Me backend architecture

Building a location-based, scalable, serverless web app – part 2

This post explores the backend architecture of the Ask Around Me application. I compare the cost and features in deciding between REST APIs and HTTP APIs in API Gateway. I introduce geohashing and the npm library used to handle geo-location queries in DynamoDB. And I show how you can build real-time messaging into your web applications using the publish-subscribe pattern with AWS IoT Core.

Architecture diagram for the Step Functions Sample App (Stock Trader) quick start application template

Simplifying application orchestration with AWS Step Functions and AWS SAM

Modern software applications consist of multiple components distributed across many services. AWS Step Functions lets you define serverless workflows to orchestrate these services so you can build and update your apps quickly. Step Functions manages its own state and retries when there are errors, enabling you to focus on your business logic. Now, with support […]

Lambda scaling up as events queue grows

Building scalable serverless applications with Amazon S3 and AWS Lambda

S3 and Lambda are two highly scalable AWS services that can be powerful when combined in serverless applications. In this post, I summarize many of the patterns shown across this series.

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.

An Adafruit PyPortal displaying the latest images from the Mars Curiosity Rover and weather data from InSight Mars Lander.

Build a serverless Martian weather display with CircuitPython and AWS Lambda

Build a standalone digital weather display of Mars showing the latest images from the Mars Curiosity Rover. This project uses an Adafruit PyPortal, an open-source IoT touch display. Traditionally, a microcontroller is programmed with firmware compiled using various specific toolchains. Fortunately, the PyPortal is programmed using CircuitPython, a lightweight version of Python that works on […]

Cluster Architecture

Using AWS ParallelCluster with a serverless API

Update – February 22, 2022 : We have released AWS ParallelCluster version 3. It brings with it the new ParallelCluster API and a number of improvements and changes to functionality. Check the Changelog, Instructions for Moving from 2.x to 3.x, or the AWS ParallelCluster documentation for more. This post is contributed by Dario La Porta, […]