Tutorials
Schema Evolution with Glue Schema Registry and Managed Streaming for Kafka (MSK) using LocalStack
Find incompatibilities early or even avoid them altogether when developing Kafka producers or consumers! Learn how to test data schema evolution by using Managed Streaming for Kafka (MSK) with the Glue Schema Registry in LocalStack.
20 minute read
Deploying Lambda container image locally with Elastic Container Registry (ECR) using LocalStack
Learn how to create and deploy Lambda functions using container images in LocalStack. This tutorial guides you through packaging your code and dependencies into a Docker image, creating a local Elastic Container Registry (ECR) in LocalStack, and deploying the Lambda container image.
7 minute read
Building a Java Notification app using AWS Java SDK, Simple Email Service (SES), and CloudFormation
Build a Java Spring Boot application to configure Simple Email Service (SES) to send messages using AWS Java SDK in LocalStack. Learn how to configure Simple Queue Service (SQS) & Simple Notification Service (SNS) using CloudFormation templates deployed locally.
10 minute read
Setting up Elastic Load Balancing (ELB) Application Load Balancers using LocalStack, deployed via the Serverless framework
Learn how to configure Elastic Load Balancing (ELB) Application Load Balancers and set up Node.js Lambda functions as targets. This tutorial demonstrates how to forward requests to the target group for your Lambda function using the Serverless Framework and the serverless-localstack
plugin to effortlessly deploy and manage your infrastructure locally with LocalStack.
9 minute read
Host a static website locally using Simple Storage Service (S3) and Terraform with LocalStack
Host a static website using a Simple Storage Service (S3) bucket to serve static content by provisioning the infrastructure using Terraform in LocalStack. Learn how to configure S3 buckets locally for testing and integration, and make use of LocalStack’s S3 API & tflocal
CLI to provision infrastructure locally.
9 minute read
Creating reproducible machine learning applications using Cloud Pods for persistent state snapshots
With LocalStack Cloud Pods, you can create persistent state snapshots to enable next-generation state management and team collaboration features for your local development environment. Learn how you can create reproducible machine learning applications & samples using Cloud Pods in LocalStack.
10 minute read
Deploying containers on Elastic Container Service (ECS) clusters using Elastic Container Registry (ECR) and AWS Fargate, with LocalStack
Set up an NGINX web server via Elastic Container Service (ECS) and Elastic Container Registry (ECR) to serve a static website using LocalStack. Learn how you can use CloudFormation templates to declaratively define, create, and deploy your architecture locally with LocalStack’s awslocal
CLI.
11 minute read
How To: Collaborative AWS local development with LocalStack’s Cloud Pods
Replicating development environments ensures that all developers, regardless of their local machine configurations or operating systems, work within an environment that closely mirrors production. This consistency helps identify and solve environment-specific issues early in the development cycle, reducing the “it works on my machine” problem where code behaves differently on different developers’ machines.
9 minute read
Replicating cloud resources locally with LocalStack's AWS Replicator extension
Learn how you can replicate cloud resources in your local environment using the LocalStack’s AWS Replicator extension. This tutorial provides step-by-step guidance on setting up and leveraging the AWS Replicator extension to mirror cloud services locally, enabling efficient hybrid development and testing workflows without maintaining additional configurations.
6 minute read
Creating ephemeral application previews with LocalStack and GitHub Actions
Learn how to use LocalStack’s Ephemeral Instances to generate application previews for your cloud applications using GitHub Actions. This tutorial will guide you through deploying a full-stack serverless application using Lambda, DynamoDB, API Gateway, S3, and CloudFront, and serving it on a short-lived, encapsulated deployment generated for every new pull request.
6 minute read
End-to-End Testing in Gitlab CI with Testcontainers and LocalStack: Understanding Runners and Docker in Docker
In this tutorial, we’ll walk through the process of setting up end-to-end testing for a backend application using Testcontainers and LocalStack within GitLab. We’ll understand the types of GitLab Runners available for CI pipelines and how the concept of Docker-in-Docker plays a crucial role in this environment.
12 minute read
How To: Terraform Init Hooks for Automation & Production-Identical Test Environments
This tutorial guides you through using LocalStack’s new extension that supports Terraform configuration files as initialization hooks. You’ll learn how to leverage this feature and integrate it with Testcontainers to simplify testing cycles, making the process more efficient and closely aligned with real AWS infrastructure practices.
11 minute read
Generate IAM Policies with LocalStack IAM Policy Stream
Learn how to generate IAM policies for your AWS API requests on your local machine using LocalStack’s IAM Policy Stream.
7 minute read
Chaos Engineering: Route53 Failover
Set up Route 53 failover to create a resilient, self-repairing infrastructure, which manages traffic effectively during simulated disruptions.
6 minute read
Chaos Engineering: Simulating Outages using Chaos API
Use the Chaos API to simulate service disruptions and assess how well your infrastructure can deploy and recover from unexpected situations.
5 minute read