Manage Deployments
Once your models are deployed to production, you need tools and strategies to manage them effectively. This guide covers listing deployments, monitoring application health, managing multiple versions, and safely removing models.
Listing Deployments
View all your deployed models to understand your current production environment:
fal apps list
This shows all your deployed models with their current status, versions, and basic configuration. Use this to get an overview of your model portfolio and identify which models need attention.
Managing Versions
Viewing Model Revisions
Each deployment creates a new revision. List all revisions for a specific model:
fal apps list-rev myapp
Switching Between Revisions
If you need to roll back to a previous model version or switch to a different revision:
fal apps set-rev myapp uuid_of_revision
This is useful for quick rollbacks when a new model version has issues in production.
Scaling Deployments
After deployment, you can adjust scaling parameters without redeploying:
fal apps scale myapp --min-concurrency 2 --max-concurrency 20
For comprehensive scaling configuration and strategies, see Scale Your Application.
Monitoring Health
Basic Health Checks
Monitor your model’s health and performance using the fal dashboard, or check active runners:
fal apps runners myapp
For detailed performance monitoring, metrics collection, and alerting strategies, see Monitor Performance.
Removing Deployments
Safe Deletion Process
Before deleting a model deployment:
- Verify dependencies: Ensure no other services or applications depend on this model
- Check traffic: Review recent usage to understand impact
- Backup if needed: Document model configuration or export important data
Delete a Deployment
fal apps delete myapp
Warning: This permanently removes the model deployment. The model cannot be recovered after deletion.
Delete Specific Revisions
To clean up old revisions while keeping the current deployment:
fal apps delete-rev myapp --revision-id abc123