UML Deployment Diagram with Enterprise Architect

What is a UML Deployment Diagram?

A UML Deployment Diagram shows the physical structure of a system by illustrating where software components are deployed and how they run on hardware. It focuses on the execution environment, showing nodes (like servers, devices, or containers) and the artifacts, such as executables, libraries, or configuration files that are deployed to them.

Each node represents a physical or virtual resource with processing capability. These nodes may contain other nodes or execution environments, illustrating layered architecture. Artifacts are tied to nodes using deployment connectors, while manifest relationships can show which components are physically realized.

A Deployment Diagram helps bridge the gap between design and infrastructure by answering: Where does each part of the system live, and how do they communicate? Deployment diagrams prove useful when visualizing real-world deployment scenarios or planning infrastructure for distributed systems.

Tools like Sparx Systems Enterprise Architect make it easy to model this using ready-to-use deployment elements from the Diagram Toolbox.

Ready to get started with Sparx Systems Enterprise Architect?

Choose the right edition for your team and start modeling with confidence. Buy Sparx Enterprise Architect Now!

Use Cases and Benefits of UML Deployment Diagrams

UML Deployment Diagrams combined with Enterprise Architect’s capabilities benefit a variety of use cases. Some of the most notable ones are:

Visualize Runtime Architecture Clearly

Illustrating the layout of nodes and artifacts makes system topology easy to communicate to stakeholders.

Optimize Performance & Resource Allocation

Helps plan for scalability and avoid bottlenecks by assigning components to hardware.

Improve Collaboration & Documentation

Serves as a shared reference across teams and can drive auto-generated deployment documents.

Support Forward & Reverse Engineering

In Sparx EA you can update UML models from actual deployment or generate code from diagrams.

Identify Infrastructure Risks Early

Spot single points of failure, plan redundancy, and visualize communication paths in advance.

Need help with aligning your deployment strategy?

Our EA consulting experts can help you tailor diagrams, integrations, and infrastructure planning. Book a Consulting Session with our Sparx EA Experts!

Basic Elements and Relationships in a Deployment Diagram

To build a deployment diagram effectively, you need to understand the key elements and how they connect. Sparx Systems Enterprise Architect provides these elements in the Deployment Diagram toolbox, making it easier to model real-world infrastructure and execution environments.

Deployment Diagram Toolbox Icons in Sparx EA

UML Element Type Icon in EA Toolbox Description
Node uml class element in ea toolbox Node represents a physical piece of equipment, like a server or workstation, where the system is deployed.
Device uml interface element in sparx ea toolbox Device is a physical electronic resource with processing capability where artifacts can be deployed and executed.
Execution Environment datatype element in uml ea tool The Execution Environment element is type of node that offers an execution platform for specific components, which are deployed as executable artifacts.
Component uml enumeration element A Component is a modular part of a system. Its behavior is defined by the interfaces it provides and requires.
Interface primitive uml class element An Interface specifies a contract or set of behaviors that implementers agree to follow.
Artifact uml class signal element An Artifact represents any physical piece of information that the system uses or produces.
Deployment Specification uml association class element A Deployment Specification outlines the parameters that guide how an artifact should be deployed.

Deployment Diagram Connectors and Relationships

UML Connector Type Icon in EA Toolbox Description
Association uml associate connector An Association Connector indicates a relationship between two model elements, often realized as an instance variable.
Communication Path uml generalization connector Communication Path defines the channel through which two deployment targets can exchange signals and messages.
Association Class uml compose connector The Association Class allows an Association to carry its own attributes and operations.
Generalization uml aggregate connector in ea Generalization represents inheritance between elements.
Realize uml association class connector Realization indicates that a source element implements or realizes a destination element.
Deployment uml association class connector Deployment is a type of dependency that shows an artifact being deployed onto a node or executable target.
Manifest uml association class connector The Manifest Connector indicates that the source artifact embodies the target model element.

UML Deployment Diagram Example – Library Management System in Sparx EA

This deployment diagram shows how different parts of a Library Management System are distributed across physical machines. It’s modeled using Sparx Enterprise Architect and reflects a real-world setup.

On the client side, the user interacts with a software application. Admin tasks are handled on a separate admin machine running the console, while library hardware hosts scanner software for day-to-day operations. Each of these runs on its own device.

The application server takes on the core system workload. It runs three components:

  • The Library Management System
  • An API Gateway
  • A Message Queue

These are deployed together but serve different purposes:

  • One handles logic
  • Another manages communication
  • The last ensures asynchronous processing

All three connect with a database server that stores the system’s data.

This diagram helps clarify not just what’s running, but where. It’s a practical way to align deployment decisions with architecture goals—whether you’re designing from scratch or mapping an existing setup.

How to Create a UML Deployment Diagram in Sparx EA

Follow these steps to create a UML Deployment Diagram using Sparx Systems Enterprise Architect:

  • In the Project Browser, choose the package where you want to add the deployment diagram.
  • Go to Design > Diagram > Add Diagram, or click the Add Diagram icon above the Project Browser panel.
  • In the Diagram dialog, open the Perspective icon, then navigate to UML > Structural, and select Deployment Diagram.
  • The Deployment Toolbox opens automatically. If not, go to Start > All Windows > Design > Toolbox to enable it manually.
  • Drag and drop elements such as Node, Artifact, Device, Execution Environment, and Component from the toolbox. Use appropriate connectors like Deployment, Communication Path, and Manifest to define relationships.
  • Press Ctrl+S to save the diagram regularly. Use the layout tools to arrange the elements and maintain a clean structure.

New to UML Deployment Diagrams?

Get hands-on with our Enterprise Architect training, designed to help teams confidently model, deploy and document real-world systems. Explore EA Training Programs!