Applications

LocalStack Applications provide sample templates to help LocalStack users adopt real-world scenarios to rapidly and conveniently create, configure, and deploy applications locally. These sample applications help you establish your foundations in LocalStack and offer you a wide range of use cases and scenarios, all supported by LocalStack, to help you develop and test cloud applications efficiently.

Serverless Container-based APIs with Amazon ECS & API Gateway

Deploy a Full-Stack Serverless Web application, and deploy it with Terraform & CloudFormation on LocalStack

Full-Stack application with AWS Lambda, DynamoDB & S3 for shipment validation

Configure a CRUD web application for shipment validation & listing, and deploy it with Terraform on LocalStack

Step-up Authentication using Amazon Cognito

Setup a Step-up Authentication workflow for a higher level of security, deployed using Cloud Development Kit on LocalStack

Serverless microservices with Amazon API Gateway, DynamoDB, SQS, and Lambda

Serverless microservices for managing friend state in gaming services asynchronously deployed using Cloud Development Kit on LocalStack

Event-driven architecture with Amazon SNS FIFO, DynamoDB, Lambda, and S3

Event-driven architecture demonstrating a recruiting agency application deployed using Serverless Application Model on LocalStack

Note-Taking application using AWS SDK for JavaScript

Serverless Note-Taking application demonstrating a Web Application built using Lambda, API Gateway, and DynamoDB deployed using CDK on LocalStack

Serverless Image Resizer with AWS Lambda, S3, SNS, and SES

Serverless Image Resizer demonstrating a Web Application to resize upload images using S3 & Lambda with SNS to SES Subscriptions on LocalStack

Query data in S3 Bucket with Amazon Athena, Glue Catalog & CloudFormation

Leverage Amazon Athena to run standard SQL to analyze a large amount of data in Amazon S3 buckets deployed using CloudFormation on LocalStack

AppSync GraphQL APIs for DynamoDB and RDS Aurora PostgreSQL

Proxy data from different resources such as DynamoDB tables & RDS databases using AppSync GraphQL APIs deployed using Serverless Framework on LocalStack

MNIST handwritten digit recognition model running on a local SageMaker endpoint

Full-Stack application showcasing the deployment and invocation of a SageMaker endpoint on LocalStack

Loan Broker application with AWS Step Functions, DynamoDB, Lambda, SQS, and SNS

Serverless architecture demonstrating a Loan Broker application with a a Recipient List pattern and a Scatter Gather pattern deployed using Cloud Development Kit (CDK) on LocalStack

Amazon RDS initialization using CDK, Lambda, ECR, and Secrets Manager

Amazon RDS initialization using CDK and CloudFormation Custom Resources with Lambda functions for compute layer and running queries against the deployed database on LocalStack

Messaging Processing application with SQS, DynamoDB, and Fargate

Messaging Processing application that demonstrates a Fargate container that interacts with SQS & DynamoDB, deployed using Cloud Development Kit on LocalStack

Serverless Transcription application using Transcribe, S3, Lambda, SQS, and SES

Transcription sample application simplifies and streamlines the process of transcribing audio files and deployed using Serverless Framework on LocalStack

Search application with Lambda, Kinesis, Firehose, ElasticSearch, S3

Fuzzy Search application demonstrates how to fuzzy-search a movie database using various AWS services, deployed using Terraform and AWS CLI on LocalStack

Serverless RDS Proxy with API Gateway, Lambda, and Aurora RDS

Serverless RDS Proxy demonstrates how Aurora cluster can be accessed with and without using a proxy, deployed using Serverless Application Model on LocalStack

Producer & Consumer Example using EventBridge, Lambda, and CloudWatch

Producer & Consumer example demonstrates how Lambda functions are coupled with EventBridge rule, deployed using using Serverless Application Model on LocalStack

DynamoDB ingestion into S3 with Kinesis Data Streams and Kinesis Data Firehose

Sample applications delivers DynamoDB records to an S3 bucket using Kinesis Data Streams and Kinesis Data Firehose using Cloud Development Kit L3 constructs on LocalStack

Anti-Corruption Layer pattern with .NET, API Gateway, Lambda, and DynamoDB

Sample application demonstrating Anti-Corruption Layer pattern with API Gateway, DynamoDB, and Lambda, deployed using Cloud Development Kit on LocalStack

Serverless Shopping Cart with API Gateway, Lambda, Cognito, SQS, DynamoDB, and Amplify SDK

Sample application demonstrating a Serverless Shopping Cart microservice with an integrated frontend, deployed using Serverless Application Model on LocalStack

Event-driven architecture with SQS, Lambda, and DynamoDB

Event-driven architecture demonstrates an inventory management system that streamlines inventory operations, deployed using Cloud Development Kit on LocalStack

Route53 Failover with FIS

LocalStack's integration of Fault Injection Simulator (FIS) with Route53 enables automatic user diversion to a secondary zone during primary region failures, enhancing system resilience and ensuring uninterrupted service.

Building resilient systems with API Gateway, Lambda, DynamoDB and FIS

Using AWS Fault Injection Simulator (FIS) for controlled DynamoDB outages, this test demonstrates software resilience by implementing queuing strategies to handle database downtime and maintain system operations.

Multi-IaC DevOps pipeline with Lambda, S3 & API Gateway

Serverless applicaton deploying API Gateway, Lambda, S3, and other resources for DevOps with multiple IaC flavors, local integration testing with PyTest, Lambda Hot reloading, and environment configuration that deploys to LocalStack and AWS

Deploy LocalStack to AWS EKS with Fargate or EKS Anywhere with Docker

Hybrid integration environment for component/integration/system tests, creating a manageable testing platform with LocalStack on K8s, Dev Containers, and Elastic Kubernetes Service

Serverless application with Lambda, DynamoDB, API Gateway, and an AppConfig Lambda Layer

Sample application demonstrating how to run integration tests against a locally-deployed serverless application, deployed using Cloud Development Kit on LocalStack

Node.js application with Elastic Container Service and Application Load Balancer

Sample application demonstrating how to run a Node server container on Fargate within an ECS cluster alongside an Application Load Balancer, deployed using Cloud Development Kit on LocalStack

Deploying Lambda and an API Gateway on LocalStack with an authorizer

Sample application demonstrating how to create a Lambda function and an API Gateway with an authorizer, deployed using Serverless Application Model on LocalStack

Deploying a data pipeline connecting Kinesis Event Stream to Data Firehose to Redshift

Sample application demonstrating how to create a data streaming pipeline with an example producer & consumer, deployed using Cloud Development Kit on LocalStack

Deploying a Database Migration Pipeline with DMS, Kinesis, and RDS MariaDB

Sample application demonstrating how to use Database Migration Service (DMS) to create change data capture (CDC) and full load tasks using the CDK in Python on LocalStack.

Deploying a Database Migration Pipeline with DMS, Kinesis, and S3

Sample application demonstrating how to use Database Migration Service (DMS) to use S3 as a source and Kinesis as a target to create full-load and CDC tasks using the CDK in Python.