LocalStack Resource Library
Explore the LocalStack Resource Library to unlock the full potential of local cloud development. From quick-start tutorials and deep-dive technical guides to best practices and webinars, we've gathered all the insights you need to build, test, and scale your cloud applications seamlessly.
Browse by Category

Running your Spring Boot app on AWS for production is common, but testing there can be slow and costly. In this video, we’ll show you how to speed up development using LocalStack.By provisioning your infrastructure with Terraform, you can easily switch to local testing in just three steps:1. Configure your dev environment variables2. Start LocalStack in Docker3. Run your IaC filesGet faster feedback and reduce costs by testing locally with LocalStack!## ResourcesThis project is available in both the open-source and pro versions. LocalStack Pro significantly simplifies development by using Transparent Endpoint Injection.• Project using LocalStack OSS: https://github.com/localstack-samples/sample-shipment-list-demo-lambda-dynamodb-s3• Project using LocalStack Pro: https://github.com/localstack-samples/sample-pro-version-shipment-list-demo-lambda-dynamodb-s3## Documentation• Transparent Endpoint Injection: https://docs.localstack.cloud/user-guide/tools/transparent-endpoint-injection/• Terraform for LocalStack: https://docs.localstack.cloud/user-guide/integrations/terraform/• LocalStack Lambda: https://docs.localstack.cloud/user-guide/aws/lambda/• LocalStack S3: https://docs.localstack.cloud/user-guide/aws/s3/• LocalStack DynamoDB: https://docs.localstack.cloud/user-guide/aws/dynamodbstreams/• LocalStack SQS: https://docs.localstack.cloud/user-guide/aws/sqs/• LocalStack SNS: https://docs.localstack.cloud/user-guide/aws/sns/

In this live session, WireMock CTO Tom Akehurst will introduce hybrid API simulation (local + cloud) with WireMock Runner. Tom will explain why we built Runner, how developers are using it today, and how it fits into modern dev and test workflows - such as simulating APIs during testing, prototyping, and AI-native development.

LocalStack Chaos API enables you to simulate outages in any AWS region or service. Chaos API provides an easy way to implement chaos engineering experiments to test a wide variety of simulated outages and failures within your application safely, without impacting your production users.Common examples can include:- Region-wide outages- DNS failovers- Service failures- Network faultsAll the testing scenarios described above can be executed within LocalStack, providing thorough coverage for critical situations in a matter of minutes rather than hours or days.In this presentation by Viren Nadkarni, we explore how Chaos API is leveraged to perform service failures in a local environment while using robust error handling to address and mitigate such issues.## Resources- Documentation: https://docs.localstack.cloud/user-guide/chaos-engineering/chaos-api/- Get access: https://www.localstack.cloud/contact

With the growing Serverless workloads, managing and maintaining them is best recommended with Infrastructure as Code (IaC). While this holds the complete infrastructure and its configurations, we could have events from one service destined to another via configuration. When building these configurations, we could also reduce the application code making it more maintainable and scalable.In this session, Jones walked us through a fully end-to-end solution built with Amazon EventBridge and AWS Step Functions with SDK integrations which have helped him to improvise the application with just IaC and very minimal application code.

Tired of rebuilding your stack from scratch every time you run tests or restart your dev environment? In this episode, we dive into Cloud Pods, LocalStack’s powerful state management feature.You’ll learn how to:- Snapshot your entire LocalStack environment (services, resources, data)- Restore that exact state across machines, teams, or CI runs- Speed up test cycles and workflows- Use Cloud Pods to make testing in CI/CD faster and more reliableCloud Pods let you freeze your infrastructure in time. Perfect for repeatable tests, isolated dev environments, or onboarding new teammates.🔗 Read the companion blog post: https://blog.localstack.cloud/save-and-share-localstack-state-with-cloudpods/

dbt (Data Build Tool) helps data engineers manage data transformations using modular SQL and brings version control, testing, and documentation to their transformation logic. However, running dbt against production data warehouses like Snowflake can be slow, expensive, and risky.This session introduces a new way to develop and test dbt workflows locally using the Snowflake emulator in LocalStack. You'll learn how to: Set up a local dbt environment Configure dbt to connect to the Snowflake emulator Run and validate dbt models locally without using a real Snowflake account Iterate quickly on transformations before pushing them to productionThrough a hands-on factory app example, we’ll walk through how to use the Snowflake emulator to run dbt models on your laptop, helping you test logic, catch issues early, and reduce cloud costs.

In this video, you'll learn how you can run an Elastic Compute Cloud (EC2) instance locally using LocalStack's core cloud emulator. Elastic Compute Cloud (EC2) is a core service within Amazon Web Services (AWS) that provides scalable and flexible virtual computing resources. EC2 enables users to launch and manage virtual servers, commonly referred to as instances. LocalStack is a core cloud emulator that allows you run EC2 instances using a Docker backend. Under the hood, LocalStack spins another Docker container that mimics an EC2 instance functionality, including other add-on features such as EBS, IMDS, and Load Balancers.For more information, check out our docs:- Install LocalStack: https://docs.localstack.cloud/getting-started/installation/- Configure an Auth Token: https://docs.localstack.cloud/getting-started/auth-token/ - Supported EC2 operations: https://docs.localstack.cloud/user-guide/aws/ec2/#operations - Supported Instances & AMIs: https://docs.localstack.cloud/user-guide/aws/ec2/#instances-and-amis Corrections:- LocalStack will no longer provide the Ubuntu 20.04 Docker AMI (used in this video) by default in the next major release. It can still be manually added.- On nine minutes & nine seconds mark, we meant 'localhost' instead of 'localstack'. To access the web server, you can hit the localhost:8000 endpoint as shown in the video.

Get started with LocalStack in minutes! In this episode, we’ll clone a ready-to-go AWS sample app, spin up LocalStack, and run everything locally without a cloud account. By the end, you’ll have a fully functional event-driven app running on your machine.📖 Want more?Check out the companion blog post for a deeper breakdown of the architecture, project structure, and all the commands you’ll need to run it yourself.🔗 https://blog.localstack.cloud/why-i-run-my-serverless-apps-locally/

Bedrock is a fully managed service provided by Amazon Web Services (AWS) that makes foundation models from various LLM providers accessible via an API. LocalStack allows you to use the Bedrock APIs to test and develop AI-powered applications in your local environment.In this video, Silvio showcases how LocalStack 4.0, with our new Bedrock support, is keeping up with advancements in Generative AI (GenAI) and large language Model (LLM) ecosystems. You'll learn what Amazon Bedrock is, the benefits of Bedrock emulation, and a live demo of how it works.## Resources- Documentation: https://docs.localstack.cloud/user-guide/aws/bedrock/- Get access: https://www.localstack.cloud/contact