Tinybird deployments

Changing state in data infrastructure can be complex. Each state transition must ensure data integrity and consistency.

Tinybird deployments simplify this process by providing robust mechanisms for managing state changes, allowing you to validate and push updates seamlessly while minimizing the risk of data conflicts or loss.

Deployment methods

The following deployment methods are available:

Deployment lifecycle

The following steps describe the typical deployment lifecycle.

1

Develop locally

First, use the Tinybird Local container for local development.

When your development is complete, build the project to validate your changes. See tb dev.

After the build completes, create a local deployment to ensure a successful migration between project states. Then, promote the local deployment to test your endpoints in your app. See tb deployment.

2

Stage your changes

Once you've built and tested your local deployment, create a staging deployment in Tinybird Cloud.

Tinybird creates this deployment in a staging environment to validate your changes and prepare the migration between project states. See tb deployment create.

3

Promote your changes

After successfully creating your staging deployment, promote it to live to make the changes available to your end users. See tb deployment promote.

Tinybird only supports one live and one staging deployment per Workspace.

Next steps