Deploy Foundations
Learn the core concepts behind Cased’s deployment system

Philosophy
Cased’s approach to deployments is built on three core principles:
-
Enhance, Don’t Replace
- Integrates with your existing GitHub Actions workflows
- No need to rewrite deployment scripts
- Adds safety, visibility, and control to your current process
-
Developer Experience First
- Clear UI for deployment operations
- Real-time deployment status visibility
- Streamlined approval workflows
- Slack integration for common tasks
-
Safety by Design
- Built-in deployment queue management
- Automated health monitoring
- Intelligent rollback capabilities
- Comprehensive audit trails
Core Concepts
Deployment Targets
A deployment target represents a specific environment where your code can be deployed. Each target:
- Links to a specific GitHub Actions workflow
- Has its own configuration and safety rules
- Can be marked as production or non-production
- Maintains its own deployment queue
Deployment Monitoring
Cased actively monitors deployments through multiple channels:
-
Metrics Monitoring
- System metrics (CPU, memory, etc.)
- Application metrics
- Custom metric support
- Integrations with:
- Datadog
- CloudWatch
-
Error Tracking
- Sentry integration
- Error rate monitoring
- Exception tracking
- Impact analysis
-
Health Assessment
- Real-time health status
- Anomaly detection
- Correlation analysis
- Automatic rollback triggers
Deployment Safety
Cased implements multiple layers of deployment safety:
-
Queue Management
- Prevents concurrent deployments
- Handles stale deployment cleanup
- Configurable timeout settings
- Environment-specific rules
-
Approval Workflows
- Required approvers configuration
- Team-based approval rules
- Time-window restrictions
- Branch protection rules
-
Auto-Rollback
- Configurable health thresholds
- Multiple monitoring services
- Customizable rollback conditions
- Automatic or manual triggers
Deployment Triggers
Deployments can be initiated through multiple channels:
- GitHub pull request merges
- Direct branch deployments
- Slack commands
- Web interface
- API calls
- CLI tools
Integration Points
Cased connects with your development workflow through:
-
GitHub
- Actions workflows
- Repository integration
- Branch protection
- Pull request tracking
-
Monitoring Tools
- Datadog metrics
- CloudWatch metrics
- Sentry error tracking
- Custom metric sources
-
Communication
- Slack notifications
- Email alerts
- Web dashboard
- API webhooks
Best Practices
-
Environment Strategy
- Define clear deployment targets
- Implement progressive deployment patterns
- Use consistent naming conventions
- Configure appropriate safety rules
-
Monitoring Setup
- Define key health metrics
- Set appropriate thresholds
- Configure comprehensive logging
- Enable relevant integrations
-
Team Workflow
- Establish clear approval chains
- Document deployment procedures
- Set up appropriate notifications
- Define emergency procedures