How to visualize a system architecture using the C4 model?
jorzel.github.io
jorzel.github.io
When diagramming (say) a cloud system architecture, you should use the abstractions that come with that cloud environment (in AWS it'd be things like Account, Region, Lambda, etc.). There is no benefit in translating these abstractions to C4's abstractions that were designed for software (Context, Container, and Component).
Let's say to have a reasonable complex (micro)services landscape running in the cloud. I would create:
- one context diagram. System as a blackbox with surrounding actors.
- one or multiple container diagrams. One per bounded context.
- one deployment diagram mapping out the most significant cloud infra, their interrelations AND some example C4 containers to show how the software maps to the infra.
[0] Ilograph calls these different views perspectives: https://app.ilograph.com/demo.ilograph.Ilograph/Request Full disclosure: I made this
Highly recommend to give this one a try