Deployments in Tinybird¶
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.
What is a deployment?¶
Deployments are versions of your project resources and data running on local or cloud infrastructure.
Types of deployments¶
There are two types of deployments:
- Staging deployments: Deployments you can use to validate your changes. You access them using the
--staging
flag. - Live deployments: Deployments that make your changes available to your users.
Each type can be deployed to Tinybird Local (--local
) or Tinybird Cloud (--cloud
).
Deployment status¶
Deployments have the following statuses:
In progress
: The deployment is in progress. Use--wait
to wait for it to finish.Live
: The deployment is active and has been promoted from staging.Staging
: The deployment is active in staging. Use--staging
to access it.Failed
: The deployment failed. Trytb deploy --check
to debug the issue.Deleted
: The deployment was deleted as a result of creating new deployments.
Deployment methods¶
The following deployment methods are available:
Next steps¶
- See how to deploy your project using the CLI.
- See how to deploy your project using CI.