Draw the architecture as SVG.
infrasketch places official Azure and AWS icons on a white canvas and routes the connectors itself. Graphviz is not required.
from infrasketch import Diagram
from infrasketch.azure import FrontDoor, FunctionApp, Redis, ResourceGroup
with Diagram("Orders", "orders.svg"):
with ResourceGroup("rg-app"):
web = FrontDoor("Frontend")
api = FunctionApp("API")
cache = Redis("Sessions")
web >> api >> cache
examples/azure_web_api.py.from infrasketch import Diagram
from infrasketch.aws import APIGateway, CloudFront, DynamoDB, Lambda, S3, Users
with Diagram("Orders", "orders.svg"):
customers = Users("Customers")
edge = CloudFront("Entry")
api = APIGateway("Orders")
checkout = Lambda("Checkout")
customers >> edge >> api >> checkout
checkout >> [DynamoDB("Orders"), S3("Images")]
examples/aws_orders.py.