Diagram as Code.
Diagrams lets you draw the cloud system architecture in Python code. It was born for prototyping a new system architecture design without any design tools. You can also describe or visualize the existing system architecture as well. Diagrams currently supports six major providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud. It now also supports On-Premise nodes.
Diagram as Code also allows you to tracking the architecture diagram changes on any version control system.
NOTE: It does not control any actual cloud resources nor generate cloud formation or terraform code, but just for drawing the cloud system architecture diagrams.
macOS users can download the Graphviz via
brew install graphvizif you're using Homebrew.
# using pip (pip3) $ pip install diagrams # using pipenv $ pipenv install diagrams # using poetry $ poetry add diagrams
|Event Processing||Stateful Architecture||Advanced Web Service|
You can find all the examples on the examples page.