Deployment View
Explanation
Section titled “Explanation”A deployment view describes the infrastructure under your system. It shows which building blocks run on which hardware. arc42 covers it in chapter 7, the Deployment View.
Why document it. The infrastructure under a system can influence the system. It can also influence its cross-cutting concepts. These are ideas that apply across many parts of the system (see the article Crosscutting Concept). Because of this influence, the infrastructure needs documentation.
How to express it. arc42 suggests UML deployment diagrams. UML is a standard modeling language. See the article UML Deployment Diagram for the notation.
The mapping. arc42 tip 7-5 says to document the mapping of building blocks onto hardware. A building block is a part of the system, such as a service or a database. The mapping states where each one runs.
Several environments. Some systems run in more than one environment. In that case, arc42 advises documenting all relevant environments.
Infrastructure nodes. The C4 model has a similar deployment diagram. It can show infrastructure nodes next to deployment nodes. Examples are DNS services, load balancers and firewalls. A load balancer spreads incoming requests across several servers (see the article Load Balancer).
Example
Section titled “Example”A team builds an online shop. Its deployment diagram shows a web server node running the shop application and a database node running the order database. A load balancer and a firewall sit in front of the web server. The team draws a second diagram for the test environment, which is set up differently.
Trade-offs
Section titled “Trade-offs”The verified facts name no explicit trade-offs. One practical consequence follows from arc42’s advice: every additional environment you document means more deployment content to write and keep current.
Diagram source
@startumlnode "Load Balancer" as lbnode "Web Server" as web { artifact "shop-app"}node "Database Server" as db { artifact "order-db"}lb --> webweb --> db@endumlChecks
Section titled “Checks”- The document maps building blocks onto hardware.
- If the system runs in several environments, each relevant environment is documented.
- The deployment view uses a UML deployment diagram.
- The document explains how the infrastructure influences the system or its cross-cutting concepts.
Related
Section titled “Related”- UML Deployment Diagram
- arc42 Architecture Documentation Template
- Crosscutting Concept
- C4 Model
- Load Balancer
- 4+1 View Model
- Deployment Diagram Modeling Mistake
- Distribution View Antipatterns
Sources
Section titled “Sources”- 7 - Deployment view | arc42 Documentation — docs.arc42.org, accessed 2026-11-09
- Deployment diagram | C4 model — c4model.com, accessed 2026-11-09