How to save state in LocalStack?

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/

Related Talks

Getting started with the LocalStack Dagger module

Looking to bring AWS emulation directly into your CI/CD pipelines? This hands-on session with Harsh Mishra shows you how to integrate LocalStack with Dagger to level up your development workflows.In this session, you'll learn how to:- Run full AWS emulation locally inside Dagger pipelines- Spin up LocalStack as a service using Dagger’s composable syntax- Use Cloud Pods for persistent state across pipeline runs- Create ephemeral environments for fast, clean, isolated testingKeep your cloud workflows repeatable, testable, and fastWhether you’re building serverless apps, managing infrastructure-as-code, or optimizing your DevOps pipelines, this talk will help you bring LocalStack into the heart of your CI/CD setup.

Learn More
Learn More
Getting started with LocalStack's Extension for Docker Desktop

LocalStack's Docker Extension allows developers to manage and run cloud applications locally within Docker Desktop efficiently. With a fully-integrated experience with features such as configuration profiles, container logs, and more, developers can now easily manage their LocalStack instance.In this video, Harsh from LocalStack discusses the LocalStack Docker Extension and how you can capitalize on an intuitive user experience to manage your LocalStack image, configuration profiles, and container logs directly within the Docker Desktop.

Learn More
Learn More
From Local to Production: The CI/CD Flow That Doesn't Suck

This is where it all comes together.CI/CD lets dev teams ship code automatically — but only if your pipeline is built to handle the cloud.In this episode, I show you how local testing + automated deployment = cloud apps that ship faster, safer, and smarter.Stick around to the end, this is the final episode of WTH is the Cloud?!

Learn More
Learn More

Launch yourself in the world of local cloud development

Try for free
Try for free
Talk to Sales
Talk to Sales