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

Multi-account and multi-region compatibility enables users to manage and deploy resources across multiple AWS accounts and geographic regions. This functionality enhances the robustness of the deployments by offering improved fault tolerance, scalability, and regulatory compliance. By segregating resources into separate accounts and distributing them across various regions, users can minimize the impact of potential failures and optimize performance.In this session from LocalStack Community Meetup May '24, Sannya Singhal discussed how you could use LocalStack to emulate multi-account and multi-region environments locally for testing and development purposes, ensuring that applications were resilient and scalable before deployment to the cloud.

LocalStack's cloud emulator lets you run Amazon Elastic Container Service (ECS) clusters and tasks on your local computer. It's sometimes useful to mount code from the host filesystem directly into the ECS container. This helps quickly test changes without needing to rebuild and redeploy the ECS Task's Docker image each time.This video explains how to use code mounting with the ECS bind mounts feature. Here are the links to the resources mentioned in the video:• Sample repository: https://github.com/localstack-samples/ecs-code-mounting-python-cdk• LocalStack Docs: https://docs.localstack.cloud/user-guide/aws/ecs/#mounting-local-directories-for-ecs-tasks• AWS Docs: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bind-mounts.html

We’re partnering with gdotv to simplify development with our Amazon Neptune cloud emulator component. You can now easily query, visualise and model your graph data either interactively or using the Gremlin querying language with G.V() - Gremlin IDE.With G.V(), you can considerably enhance your graph database development experience whilst gaining access to a powerful reporting and visualisation toolset for your production data. With LocalStack’s core cloud emulator, parity is ensured between a local Neptune instance and AWS’s own, meaning Gremlin queries in your development environment will behave identically on Amazon Neptune. In this video we demonstrate how to use G.V() with LocalStack Neptune.Read the announcement blog here: https://blog.localstack.cloud/2024-06-05-localstack-neptune-development-with-gv-gremlin-ide/

Debugging serverless functions has always been challenging, often requiring repeated invocations, extensive log tracing, and cloud deployments to diagnose an issue. The new Lambda Debug Mode in LocalStack changes this by allowing developers to debug AWS Lambda functions directly in their IDE, with breakpoints, variable inspection, and step-through execution, without leaving their local environment.In this presentation, Marco Edoardo Palma provides a hands-on demo of Lambda Debug Mode—from debugging standalone functions to handling multi-function workflows. Learn how this developer-first approach makes debugging serverless applications faster, smoother, and more intuitive.## Resources- Documentation: https://docs.localstack.cloud/user-guide/lambda-tools/debugging/#lambda-debug-mode-preview- Samples: https://github.com/localstack-samples/localstack-pro-samples/tree/master/lambda-debug-mode

Ever wish you could test your whole cloud app without touching the cloud? I’ll show you how to validate your serverless pipeline from start to finish, right on your laptop using LocalStack. Join our Slack community and start shipping with confidence.

In this live session, Brian from LocalStack will demonstrate the WireMock extension for LocalStack, showing how developers can achieve end-to-end local testing by combining AWS service emulation with external API mocking. Brian will walk through real-world use cases, demonstrate the integration in action, and explain how this unified approach simplifies testing complex cloud applications that depend on both AWS services and third-party APIs.

Infrastructure-as-Code refers to the practice of defining and provisioning cloud resources using code and automation scripts, thus eliminating the need for manual configurations. With frameworks like AWS CloudFormation, AWS CDK (Cloud Development Kit), AWS Serverless Application Model (SAM), Pulumi, and Terraform, users can specify their desired infrastructure state in code, enabling rapid and consistent deployment of resources.However, as with any code, IaC scripts require thorough testing to ensure their correctness and proper functionality. Traditional cloud environments for testing can be expensive, slow, and error-prone due to complexities in provisioning and configuration. With LocalStack, you can leverage a local emulation of various cloud services, such as S3, DynamoDB, EKS, and more!LocalStack simulates these cloud services on a developer's machine, allowing for comprehensive and efficient testing of IaC scripts before deployment to actual cloud environments. In this video, we explain how you can use LocalStack to be more efficient and cost-effective at testing these major IaC frameworks:• Terraform• Pulumi• Cloud Development Kit• CloudFormation• Serverless Application ModelAs organizations will continue to embrace IaC, cloud emulation framework like LocalStack will play an increasingly vital role in ensuring the quality and robustness of cloud infrastructure implementations.

Connecting your applications to LocalStack has not always been easy. In this video, Simon from the LocalStack team discusses how we streamlined the LocalStack networking experience. We discussed the challenges of connecting your applications to LocalStack and how we're simplifying the LocalStack networking experience.Simon also discussed about configurations required for more complex networking setups, and some common networking scenarios, with example configuration for achieving connectivity.Read our blog to learn more: https://blog.localstack.cloud/2024-03-04-making-connecting-to-localstack-easier/

LocalStack integrates with official AWS Software Development Kits (SDKs) so you can connect to LocalStack services using the same application code you use for AWS services. This lets you develop and test your applications locally without connecting to the cloud.In this video, we will talk about how you can connect to LocalStack emulated services using AWS SDKs.

LocalStack is ephemeral, so when you stop and restart it, all data is lost. You can use certain features to save the state & load it back when you restart LocalStack. This includes saving the local state for S3 buckets, DynamoDB tables, RDS databases and more. In this video, we explore three mechanisms that allows you to save state in LocalStack. They are:• Persistence• State Export & Import• Cloud Pods ## Documentation• State management: https://docs.localstack.cloud/user-guide/state-management/ • Cloud Pods: https://docs.localstack.cloud/user-guide/state-management/cloud-pods/ • Persistence: https://docs.localstack.cloud/user-guide/state-management/persistence/ • State Export & Import: https://docs.localstack.cloud/user-guide/state-management/export-import-state/

In this video, you'll learn how to set up and integrate LocalStack's Snowflake Emulator to develop and test your Snowflake data apps in your local environment or CI pipelines. Whether you're using Snowpark, various client libraries, or building interactive data apps with frameworks like Streamlit, this emulator simplifies your developer experience.We'll walk you through step-by-step instructions on:- Installing the Snowflake emulator with the LocalStack CLI & Docker- Configuring and integrating the emulator with popular SQL clients, such as DBeaver- Running SQL queries locally to replicate a full Snowflake environment without cloud dependencies⚡ Get early access! The Snowflake Emulator is currently in public preview—reach out via the link below for access and start building today!## Resources- LocalStack for Snowflake documentation: https://snowflake.localstack.cloud/- LocalStack for Snowflake samples: https://github.com/localstack-samples/localstack-snowflake-samples- Get access: https://www.localstack.cloud/contact

Real cloud developers aren’t pushing straight to AWS.They’re building and testing everything locally before a single deploy goes live.This episode breaks down the modern cloud dev workflow and how tools like LocalStack make it possible to move fast without burning money (or trust).Learn how local-first dev culture is changing the cloud game.