This project is another Proof of Value by Raul Andres to develop an idea to generate Architecture diagrams using dot language + graphviz + aws icons + git . Lets start to create and modify Architecture diagrams in agile way! ;) Architecture as a code AaaC will become soon ;)
This idea Raul Andres thought 2 years ago to agilize the Architecture Governance workflow and now it is the time to create the solution and put in practice.
The goals is to personally reuse this technic to be more efficient and agile in the next Architecture jobs he will do.
It uses AWS icons but it could be used with any icons library creating another xxx-icons folder.
Please feel free to reuse and hack it, enjoy!
Raul Andres was challenged by MT company(masking the company name, but it is a real company) to do a Case-Study for an interview process and he decided to create the diagrams with code and later reuse his effort to build the next diagrams.
- Data Pipeline Architecture Reference (WIP)
- AWS E2E Architecture References
The rest of architecture artefacts generated is in the folder diagrams
Basically and to understand very clear the diagram:
- Green arrows represent end-to-end solution User traffic
- Blue arrows represent internal processing traffic
- Red arrows represent update/release traffic
- Learn dot language and graphviz. To see some References below.
- Create a new folder inside diagrams folder
- Create new README.md inside that new folder, using [this] https://github/manilabay/dot-graphviz-aws/diagrams/mt-challenge-solution/README.md as a template.
- Create dot code for the diagram you want create using language-dot syntax
- Convert dot file to png (see below)
- Show and share the diagrams and knowledge with your Architect mates.
- Get some reward, a coffee, a beer or why not a salary increase ;)
You could use my another repo to build a docker container convert tool, so you dont need to install dependencies and reuse it.
Once you have the tool image built you could run:
cat input.dot | docker run -v your-host-path-or-Volume:/aws-icons --rm -i graphv
iz-convert-png > output.png
dot -Tpng input.dot > output.png
As a example to create the diagram for the mt-logical-architecture you must run:
dot -Tpng mt-logical-architecture.dot > mt-logical-architecture.png
This is the Official AWS icons collection downloaded from
This icons material and folder belongs to Amazon Web Services, Inc. or its affiliates and all trademarks belongs to Amazon Web Services, Inc. or its affiliates.
Please don't download from this GIT Repo due the AWS upgrades.
Learn Dot language Learn Graphviz language
- Create a docker image with dot and graphviz to use as a function to generate graphviz object onfly. Atm you could use this simple command