design-practice-repository

Summaries of artifacts, templates, practices, and techniques for agile architecting (DPR-mm) and service design (SDPR-nn).

DPR Git Pages HomeArtifacts Index

Artifact/Template: Deployment Diagram

a.k.a. Operational View, Physical View

A deployment diagram depicts a runtime configuration of a software-intensive system, consisting of physical elements such as compute nodes, storage units, and network connections. It may include information about the placement of application parts as well as systems management devices.

Motivation (Addressed Information Need)

The C4 model page on Wikipedia defines “A deployment diagram allows you to illustrate how software systems and/or containers in the static model are mapped to infrastructure.” The static model is expressed in instances of Overview Diagrams as well as Component Diagrams.

Usage (Produced and Consumed When)

This artifact is required for any production environment, including cloud deployments. Its usage scenarios include:

Notation(s)

Many custom notations and Domain-Specific Languages (DSLs) for topology modeling and configuration management exist today, for instance, coming from cloud providers and CI/CD vendors. Oftentimes, informal rich pictures are used that visualize the following model elements and their relationships:

UML is a valid and popular choice and has a dedicated diagram type of this name, deployment diagram.

Example(s)

The deployment units and physical tiers in an order management scenario in telecommunications may look as follows (in a hot standby or load-balancing configuration):

Deployment Diagram Example

The locations in this example contain one or more nodes. The mid-tier, for instance, is called Enterprise Application Data Center in this example. Two nodes are configured redundantly (in terms of application deployment units, DUs) to support load balancing and standby/failover capabilities (to improve reliability and availability). A UML note comments on architectural decisions still required (while decisions already made manifest themselves in the diagram).

Tools

Common tool choices include:

Infrastructure architecture and system management are fields and competence areas in their own right; therefore, many practices, notations, and tools exist that are out of our scope here.

Hints and Pitfalls to Avoid (Common Pitfalls)

Origins and Signs of Use

Deployment diagrams have a long history:

Also see the book chapter “Architectural Knowledge in an SOA Infrastructure Reference Architecture” for motivation and usage context (PDF).

DPR activities:

Artifact types and notations:

More Information

Data Provenance

title: "Design Practice Repository (DPR): Deployment Diagram"
author: Olaf Zimmermann (ZIO)
date: "01, 31, 2023"
copyright: Olaf Zimmermann, 2023 (unless noted otherwise). All rights reserved.
license: Creative Commons Attribution 4.0 International License