Skip to content

Instantly share code, notes, and snippets.

@SanthoshNC
Created August 7, 2021 14:57
Embed
What would you like to do?
from diagrams import Diagram # importing diagram package
from diagrams.aws.compute import EC2 # importing AWS EC2 resource
with Diagram("Simple Diagram"): # "Simple Diagram" is the name of the diagram. The image will be stored as "simple_diagram.png"
EC2("web") # An icon of EC2 will be generated with the name "web"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment