State Persistence

Preview

Sign in during Public Preview to get the Team plan free, plus an early-adopter discount when we launch. Sign in

State Persistence

Locally doesn't currently keep state across restarts. When Locally stops, the resources you created within it are gone, along with their data: blobs, files, queue messages, table entities, secrets, database contents and everything else. The next time you run locally build, it starts from an empty Local Cloud Environment.

Persisting state across restarts is planned for a future release.

What is kept

Your setup is kept, so you don't need to run locally setup again: your Tenant and Subscription IDs, the local CA, DNS configuration and installed plugins. Because the Subscription IDs stay the same, existing Terraform or OpenTofu state still points at the right subscription.

Working with it today

Treat a Local Cloud Environment as something you can rebuild. After a restart, re-run your infrastructure as code (for example terraform apply) to recreate your resources, and reload any data your application needs.

Related

Preview

Sign in during Public Preview to get the Team plan free, plus an early-adopter discount when we launch. Sign in

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.