How to generate an AI Azure diagram
Step-by-step guide on generating an Azure diagram
- Write a prompt describing the Azure architecture. A simple one-liner can work too but the best prompts are usually at least 3-4 sentences long. Applying the below framework generally yields good results:
- First, write out the structural components of the diagram. List out the Azure resources as well as hierarchical groupings such as semantic groups (e.g. microservices, layers) or network boundaries (e.g. VPC, subnets).
- Then, write out how those components should be connected. An easy way to do this is to write out the sequential flow of how data or a request travels through the system (e.g. User uploads file to web application).
- Generate a diagram with the completed prompt.
- Edit the diagram with follow-up prompts (this step requires signing in to Eraser).
- Manually adjust the layout using GUI controls (this step requires signing into Eraser).
Tips on generating an Azure diagram
- If you’re in a hurry, instead of writing a prompt from scratch, consider pasting excerpts from existing documents, call transcripts, code (e.g. Terraform, Pulumi, Azure Bicep), or uploading image files.
- Working with an LLM to create a fleshed out diagram prompt can be effective. Ask it to list out structural components as well as steps of a data or request flow through the system.
Example diagrams