--- title: "Diagram as Code" description: "Explore Diagram as Code for cloud system architecture prototyping." image: "https://assets.bytebytego.com/diagrams/0173-diagrams-as-code-twitter.jpeg" createdAt: "2024-03-02" draft: false categories: - devtools-productivity tags: - "diagrams" - "architecture" --- ![](https://assets.bytebytego.com/diagrams/0173-diagrams-as-code-twitter.jpeg) Would it be nice if the code we wrote automatically turned into architecture diagrams? I recently discovered a Github repo that does exactly this: Diagram as Code for prototyping cloud system architectures. ## What does it do? * Draw the cloud system architecture in Python code. * Diagrams can also be rendered directly inside the Jupyter Notebooks. * No design tools are needed. * Supports the following providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud, Oracle Cloud, etc.