Promote to an environment
Promote a validated deployment to production (or a custom environment) to route that environment’s traffic to it. What happens to the previously promoted deployment is controlled by the target environment’s promotion cleanup strategy; see Environments for the concepts and Rolling deployments for incremental traffic shifting.- UI
- Baseten CLI
- REST API
- CI/CD
To promote a deployment:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- Select the deployment under Deployments.
- Choose Promote to….
- In the Promote deployment dialog, choose the target environment.
- Choose Promote to confirm.
- UI
- Baseten CLI
- REST API
To verify the promotion:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- On the model’s overview, confirm the environment card’s Current deployment shows your deployment.
Deactivate a deployment
Deactivate a deployment to stop compute spend without deleting it. The deployment keeps its configuration and stays visible in the dashboard, but releases its replicas. Requests to a deactivated deployment fail with a400 error; see
troubleshooting
for the error and recovery.
- UI
- Baseten CLI
- REST API
To deactivate a deployment:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- Select the deployment under Deployments.
- Choose Deactivate deployment.
- Choose Yes, deactivate to confirm.
status moves to INACTIVE within a few seconds.
If you want the deployment to keep serving but stop paying for idle replicas,
scale to zero instead.
Activate a deployment
Activate an inactive deployment to bring it back. Activation redeploys the model, so the deployment passes throughDEPLOYING before reaching ACTIVE.
- UI
- Baseten CLI
- REST API
To activate a deployment:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- Select the inactive deployment under Deployments.
- Choose Activate deployment.
activate
and the activate endpoint.
Delete a deployment
Delete deployments to clean up finished experiments and stale versions. A deployment that’s associated with an environment, or is the only deployment of a model, can’t be deleted; push a new deployment and promote it first, or delete the whole model.- UI
- Baseten CLI
- REST API
To delete a deployment:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- Select the deployment under Deployments.
- Choose Delete deployment and confirm.
- UI
- Baseten CLI
- REST API
To delete a model:
- Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
- Select your model.
- On the model’s overview, choose Actions, then Delete model.
- Type the model’s name to confirm, then choose Delete.
delete
reference.
Next steps
With lifecycle transitions scripted, the same commands slot into CI jobs, cron cleanups, and incident runbooks.- Scale a deployment to change replica behavior without a lifecycle change.
- Pull logs and metrics to verify a deployment’s health after a transition.
- CI/CD to run deploys and promotions from GitHub Actions.