Network Architecture Diagrams for Applications: Map DNS, VPCs, Firewalls, and Traffic Paths
network architectureVPCcloud networkingDNSfirewallsinfrastructure diagrams

Network Architecture Diagrams for Applications: Map DNS, VPCs, Firewalls, and Traffic Paths

DDiagrams.site Editorial Team
2026-11-19
8 min read

Learn how to draw and maintain a network architecture diagram that maps DNS, subnets, firewalls, traffic paths, and cloud connectivity.

A useful network architecture diagram does more than show cloud icons: it explains how a request enters an application, which controls it encounters, where it is processed, and how it leaves. This guide presents a repeatable way to draw an application network diagram, track topology changes, review public and private boundaries, and keep the picture accurate through migrations, audits, and troubleshooting.

Overview

Start with the question your diagram must answer. A diagram for incident response may emphasize traffic paths, health checks, and failover. A diagram for a security review may emphasize trust boundaries, exposed ports, encryption, and third-party connections. A diagram for onboarding may provide a simpler view of regions, networks, subnets, gateways, and application services.

Do not try to represent every resource in one picture. A strong network architecture diagram usually has a clear scope, a stated level of detail, and a small legend. Define the application boundary first, then add the network components that influence connectivity, isolation, routing, or security.

A practical scope statement might be: “This diagram shows production traffic from public DNS through the application entry point to private services and their data dependencies in one cloud region. It also shows outbound connections to identity, payment, and observability providers.” That sentence tells reviewers what is included and what may belong in another view.

For larger systems, create related views rather than one crowded canvas. A context view can show users, DNS, the application, and external systems. A deployment view can show regions, VPCs or virtual networks, subnets, load balancers, firewalls, gateways, and service groups. A detailed traffic view can document ports, protocols, routes, and failure paths. This layered approach complements a C4 model diagram without forcing infrastructure detail into every architecture view.

What to track

1. Name the network boundaries

Label each meaningful boundary and use nested containers consistently. Depending on the platform, that may include a region, availability zone, VPC, virtual network, project, account, subscription, cluster, or on-premises network. Avoid treating a decorative box as a security boundary unless it represents an actual control or administrative boundary.

Within the main network, show subnets or equivalent segments. Label them by purpose, not only by address range: public ingress, private application, data, management, or inspection. If address ranges matter to operations, include them as secondary labels. A useful label might be “Private application subnet — 10.20.2.0/24” rather than an unexplained CIDR block.

2. Show the request path from left to right

Use directional arrows and arrange the primary path in the order a request normally travels:

  1. Client or user device
  2. DNS resolver and authoritative DNS service
  3. Public entry point, CDN, edge proxy, or web application firewall where applicable
  4. Load balancer, ingress controller, or API gateway
  5. Application service or service mesh entry point
  6. Database, cache, queue, object storage, or another internal dependency
  7. External provider or outbound destination, if the request or resulting workflow leaves the network

Label arrows with protocol and port when that information affects review or operations, such as HTTPS 443, DNS 53, database traffic, or a private service connection. If a component performs a logical function but is not a separate network hop, use a note or label instead of implying an additional device.

3. Use a consistent symbol reference

A small legend prevents icons from becoming ambiguous. The exact visual style can vary by diagram tool, but the meanings should remain stable.

Visual elementUse it to representLabel with
Cloud or region containerProvider, region, or administrative scopeProvider and region name, if relevant
Network boundaryVPC, virtual network, or on-premises networkNetwork name and address range
Subnet containerRouting or isolation segmentPurpose, visibility, and CIDR when useful
Shield or inspection nodeFirewall, WAF, security group, or inspection layerControl type and direction
Gateway or routerInternet, NAT, transit, VPN, or private connectivityConnection destination and route purpose
Service boxApplication, worker, API, or platform componentService name and listening interface
Database or storage iconPersistent data dependencyData type and access mode
Dashed external boxThird-party, partner, or separately managed systemOwner, purpose, and connection method

4. Distinguish public, private, and external paths

Color can help, but it should not carry meaning by itself. Combine color with labels, boundaries, and line styles so the diagram remains understandable when printed or viewed by people with color-vision differences. For example, use solid arrows for application traffic, dashed arrows for management or control traffic, and a dotted boundary for a third-party system. Add a legend that states these conventions.

A public-versus-private template can be organized like this:

  • Public edge: DNS, CDN or edge service, WAF, and public load balancer.
  • Private application tier: internal load balancer, API services, workers, and service-to-service traffic.
  • Private data tier: databases, caches, queues, and storage endpoints that should not be directly reachable from the public edge.
  • Egress path: NAT, egress firewall, proxy, or private endpoint used to reach approved external services.
  • Operations path: administrative access, monitoring, logging, and deployment connections, separated visually from user traffic.

5. Record the traffic paths in a table

The diagram gives a visual overview; a traffic-path table preserves the details that are easy to miss. Keep it beside the diagram or in the same documentation page.

SourceDestinationProtocol and portPath or controlPurpose
ClientPublic entry pointHTTPS 443DNS, edge policy, WAFUser requests
Entry pointApplication serviceHTTPS or internal protocolLoad balancer, firewall ruleRoute application traffic
Application serviceDatabaseDatabase protocolPrivate route, security policyRead and write data
WorkerExternal providerHTTPS 443NAT, proxy, or private endpointPayments, identity, messaging, or telemetry

Replace example entries with the actual interfaces and controls. If a route is bidirectional, state that explicitly rather than relying on a double-headed arrow.

Cadence and checkpoints

Make the diagram part of the operating routine rather than a document created only during a project launch. A monthly or quarterly review is a reasonable baseline for systems that change regularly; teams with slower-moving infrastructure may align reviews with release planning or a scheduled access review. The right cadence depends on how frequently routes, services, providers, and security controls change.

At each scheduled review

  1. Compare the diagram with deployed configuration. Check network boundaries, subnets, routes, gateways, load balancers, firewall rules, endpoints, and service locations. Treat the diagram as a claim that should be checked against the system, not as proof that the system is configured correctly.
  2. Review the primary and secondary paths. Confirm normal traffic, failover traffic, health checks, asynchronous workers, administrative access, and outbound connections.
  3. Check ownership. Every externally managed connection, firewall policy, private endpoint, and shared network should have an owner or team responsible for verification.
  4. Update labels and assumptions. Remove retired services, rename moved components, and record whether an arrow represents a direct connection, a routed connection, or a logical dependency.
  5. Record the review date. Add a small metadata block with scope, environment, last verified date, reviewer, and the source of truth used for verification.

For infrastructure managed as code, place the diagram near the relevant repository documentation and review visual changes with the same care as configuration changes. A workflow based on diagram version control can make topology changes visible during pull requests and releases.

Checkpoints after a topology change

Review immediately after adding a region, subnet, service, gateway, private endpoint, firewall policy, ingress path, or third-party integration. Also review after a cloud migration, a network merger, a major security change, or an incident involving connectivity. These events change the assumptions that make an old network architecture diagram useful.

How to interpret changes

Not every visual difference means the architecture has become riskier, but certain changes deserve focused questions.

New public exposure

If a component moved from a private segment to a public path, identify the reason, the intended ports, the authentication layer, the firewall or WAF controls, and the owner who approved the change. Confirm that the diagram distinguishes “publicly addressable” from “publicly permitted”; those are related but not identical concepts.

A missing egress route

If an application or worker must reach an external service but no NAT, proxy, gateway, or private endpoint appears, investigate before assuming the connection works. Check both the route and the return path. A diagram that shows only the outbound arrow can hide an asymmetric or incomplete design.

An unclear encryption boundary

Mark where encryption is expected to begin and end, and label any termination or re-encryption point. Do not infer encryption from a generic lock icon. State the protocol or use a note such as “TLS terminates here; internal traffic continues under the documented service policy.”

An undocumented third-party connection

External systems should show their purpose, owner, direction of communication, and failure impact. Include identity providers, payment platforms, monitoring services, SaaS APIs, partner networks, and managed services that influence application availability or data movement. For data-sensitive systems, pair the network view with a data flow diagram so the network path and data path are not confused.

A change in failure behavior

When a region, load balancer, queue, or database changes, ask what happens when it is unavailable. Add failover arrows, health checks, replication links, or degraded-mode notes where they affect operations. A network diagram does not need to model every failure scenario, but it should expose the paths the team is expected to operate.

When to revisit the diagram

Use a recurring review schedule and event-based triggers together. Revisit the network architecture diagram monthly or quarterly according to the system’s change rate, then update it sooner when any of the following occurs:

  • A new public endpoint, route, subnet, region, gateway, firewall, or private endpoint is introduced.
  • An application service, database, queue, ingress controller, or load balancer is moved or replaced.
  • A third-party provider, partner network, identity system, or observability destination is added or removed.
  • A cloud migration, account restructuring, VPC or virtual network connection, or hybrid link changes the boundary model.
  • A security review identifies an exposed port, undocumented route, unclear encryption boundary, or stale access rule.
  • An incident or connectivity investigation reveals that the documented traffic path differs from the deployed path.
  • Deployment, infrastructure, or platform ownership changes enough that the current reviewer may no longer know the assumptions behind the design.

Before publishing an update, run this short review checklist:

  • Are DNS, entry points, firewalls, gateways, subnets, services, data stores, and third parties included within the stated scope?
  • Are arrows directional and labeled where protocol, port, or purpose matters?
  • Can a reviewer identify every public path, private path, egress route, and administrative path?
  • Are encryption termination points and trust boundaries clear?
  • Are failover and return paths represented where they affect availability?
  • Does the traffic-path table match the diagram and the deployed configuration?
  • Is the owner, verification date, environment, and source of truth recorded?

Finally, link the network view to related documentation instead of forcing it to carry every detail. A Kubernetes architecture diagram can document cluster-level routing, while a message-flow diagram can explain queues and consumers. For data dependencies, connect the network view to a database schema diagram. Keeping each view focused makes updates faster and reviews more reliable. When the next topology change arrives, update the diagram as part of the change itself, record what was verified, and schedule the next checkpoint rather than waiting for the picture to become obsolete.

Related Topics

#network architecture#VPC#cloud networking#DNS#firewalls#infrastructure diagrams
D

Diagrams.site Editorial Team

Technical Documentation Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.