Deployment Center
Ship to production securely. Configure infrastructure, manage pipelines, and monitor releases from a single command line or dashboard.
📦 Deployment Methods
divisions init --env production
# Validate configuration & run checks
divisions validate --strict
# Deploy to target region
divisions deploy --region us-east-1 --auto-scale
Install the CLI via npm i -g @divisions/cli or download from the releases page.
Authenticate using service account tokens. See rate limits & pagination in the API docs.
1. Navigate to Dashboard → Environments → Production
2. Select branch/tag under Source Mapping
3. Click "Deploy" → Configure traffic routing → Confirm
4. Monitor real-time rollout in Activity Log
UI deployments support preview environments, one-click rollbacks, and team approval gates.
module "divisions" { source = "divisions-io/core" version = "~> 3.8" environment = "production" replicas = 3 auto_scaling = true }
Infrastructure as Code modules are hosted in the official registry. State locking & remote backends supported.
🔄 Deployment Pipeline
1. Initialize & Configure
Define environment variables, secrets, and routing rules. The CLI validates schema against your project manifest.
2. Build & Test
Automated containerization, dependency resolution, and integration test suites run in isolated sandboxes.
3. Security Scan
SAST, SCA, and container image vulnerability checks block deployments that exceed defined risk thresholds.
4. Staging Rollout
Canary traffic is gradually shifted. Automated health checks and performance baselines validate stability.
5. Production Promotion
Full traffic migration with zero-downtime. Automatic rollback triggers on error rate spikes or latency degradation.
📟 Live Deployment Log
⚙️ Requirements & Quotas
🌐 Network
Outbound HTTPS to api.divisions.io:443. Inbound ports 80/443 for public endpoints. VPC peering optional.
💾 Storage
Minimum 20GB ephemeral disk per node. Persistent volumes auto-provisioned based on dataset size.
🔑 Permissions
Service account requires `deploy:write`, `logs:read`, and `secrets:access` scopes. IAM roles supported.
📈 Quotas
10 concurrent deployments per org. 50GB log retention (default). Upgrade for custom limits & archival.