Diagrams lets you draw the cloud system architecture in Python code.
It was born for prototyping a new system architecture without any design tools. You can also describe or visualize the existing system architecture as well.
Diagram as Code allows you to track the architecture diagram changes in any version control system.
Diagrams currently supports six major providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud. It now also supports On-Premise nodes as well as Programming Languages and Frameworks.
It requires Python 3.6 or higher, check your Python version first.
It uses Graphviz to render the diagram, so you need to install Graphviz to use diagrams. After installing graphviz (or already have it), install the diagrams.
It will be saved as web_service.png on your working directory.
Here are some more examples.
Grouped Workers on AWS
from diagrams import Diagram
See Examples · Diagrams - https://diagrams.mingrammer.com/docs/getting-started/examples to learn more examples.