Infrastructure on C2
In this lesson, add four technical containers: Hazelcast, Redis, PostgreSQL,
and RabbitMQ. All four belong to the separate Infrastructure domain.
Starting C2 Diagram
The diagram already contains the external context, Frontend, and the three
business subsystems created in previous lessons.
Hazelcast
Select New: Container. Enter the name Hazelcast and describe it as a
real-time data platform for synchronizing state between nodes, distributed
locking, and related responsibilities.
Keyboard Shortcuts
Create the second container with the keyboard. Press A, wait for the shortcut
hints in the left panel, and then press 3.
For Redis, select the DBMS / Database type. A technical type affects both
the element's diagram shape and its additional properties.
If the wrong type is selected, change it later in the properties panel. The same panel contains the type-specific properties, whose set can be configured by an administrator in the landscape settings.
From the System Structure
Create the remaining containers from the selected system's Structure tab. The parent system is already filled in when this entry point is used.
Hold Ctrl or ⌘ to display an add button beside the domain field. When the
list is still contextual, SysCraft first asks you to review all existing domains.
By default, the list contains the diagram domain and the parent element's domain. Select Show All to view the remaining landscape domains.
If the required domain is absent from the complete list, hold Ctrl or ⌘
again and select the create-domain button. The domain creation form opens.
Choose the database type for PostgreSQL. Finally, add RabbitMQ with the
Message broker / Queue type in the same infrastructure domain.
Finally, assign icons to the main platforms. Select an element and open its properties. Under Visualization, find Element Icon and choose an appropriate icon. It appears on the selected element immediately.
Icons make the diagram easier to understand at a glance. The C2 diagram now contains sixteen elements; the next lesson adds their relationships.
Chapters
00:00— infrastructure on C2;00:07— first creation method;00:18— keyboard shortcuts;00:40— element properties;00:51— third creation method;01:01— new domain;01:23— checking domains again;01:39— message broker;01:52— platform icons;02:15— completed infrastructure.
Previous lesson: Payments, Orders, and Notifications on C2.
Next lesson: Relationships on C2.