Deployment Views
C4 model deployment diagrams with infrastructure visualization
Deployment views let you model how your software systems are deployed onto infrastructure. Following the C4 model's deployment diagram concept, you can visualize servers, containers, cloud services, and their relationships.
Overview
Deployment views answer the question: "Where does everything run?" They show:
- Which infrastructure hosts each system
- How infrastructure components connect
- Environment configurations (production, staging, development)
- Cloud provider details (AWS, Azure, GCP, on-premise)
Deployments Page
Navigate to Deployments in the project sidebar to see all deployment configurations. Each deployment card shows its name, environment type, and provider.
Creating a Deployment View
- Navigate to your project's Deployments section
- Click New Deployment and provide a name
- Select the environment type (production, staging, development)
- Choose the cloud provider or mark as on-premise
You can also access the deployment canvas from a diagram view by clicking the Infrastructure tab.
Deployment Canvas
The deployment canvas provides a drag-and-drop interface for modeling infrastructure:
Deployment Nodes
Add infrastructure nodes representing:
- Cloud regions and availability zones
- Kubernetes clusters and namespaces
- Virtual machines and container instances
- Managed services (databases, queues, storage)
- Load balancers and API gateways
Nesting
Nodes can be nested to represent containment. For example:
AWS Region (us-east-1)
└── EKS Cluster
├── API Pod
├── Worker Pod
└── Redis SidecarAuto-Connections
Click the Auto-Connect button to let Archflow's smart auto-connection engine analyze your system relationships and suggest infrastructure connections based on the architecture connections you've already defined. The engine dynamically recalculates edges when you move nodes.
Environment Badges
Each deployment displays color-coded environment badges:
- Production --- Highlighted for live systems
- Staging --- Pre-production testing
- Development --- Development and integration
Deployment Detail Page
Click a deployment to open its detail page, where you can:
- Edit deployment name, environment, and provider
- Open the deployment canvas for visual editing
- View all deployment nodes and their relationships
- See which systems are deployed
Deployment Selection for Documentation
When creating documentation from a diagram view's Documentation tab, you can select which deployments to include:
- Open the Infrastructure tab to choose deployments
- Get AI recommendations based on system coverage (prioritizing ≥80% coverage and production environments)
- See coverage metrics showing what percentage of your view's systems are deployed
- Selections are saved per diagram view with auto-save (1-second debounce)
Environment Management
Track deployments across environments:
| Environment | Purpose |
|---|---|
| Production | Live systems serving real users |
| Staging | Pre-production testing environment |
| Development | Development and integration testing |
Archflow provides environment balance recommendations and coverage analysis across your deployment configurations.
Infrastructure Intelligence
The deployment analysis system provides:
- Coverage Analysis --- Which systems have deployment configurations
- Complexity Assessment --- How complex your infrastructure is
- Provider Distribution --- Breakdown by cloud provider (AWS, Azure, GCP, on-premise)
- Optimization Recommendations --- Suggestions for infrastructure improvements