πŸ›οΈ Network Architecture Topologies

πŸ“Œ Overview

Network Architecture refers to the way network devices and services are structured to ensure connectivity, security, and performance. In the cloud, how you connect your VNets matters as much as the VNets themselves.


πŸ•ΈοΈ Common Topologies

1. Hub and Spoke (The Azure Favorite) 🌟

This is the most popular architecture in Azure.

ASCII Diagram: Hub and Spoke

       [ Spoke VNet A ]               [ Spoke VNet B ]
       (Workload 1)                   (Workload 2)
             |                              |
             +------------+    +------------+
                          |    |
                          v    v
                    [   Hub VNet   ]
                    ( Firewall, DNS )
                    (  VPN Gateway  )
                          ^
                          | (VPN/ExpressRoute)
                          |
                    [ On-Premises ]

2. Star Topology 🌟

ASCII Diagram: Star Topology

         (Spoke A)      (Spoke B)
             |              |
             +------+-------+
                    |
              [ Central Hub ]
                    |
             +------+-------+
             |              |
         (Spoke C)      (Spoke D)

1768040188091

3. Mesh Topology

ASCII Diagram: Full Mesh

      [A] ---------- [B]
       | \        /   |
       |   \    /     |
       |     \/       |
       |     /\       |
       |   /    \     |
       | /        \   |
      [D] ---------- [C]
      (Everyone talks to Everyone)

1768040214195

4. Bus Topology (Legacy) 🚌

ASCII Diagram: Bus Topology

    Terminator                     Terminator
       |                               |
       +-------------------------------+  (Backbone)
         |        |        |        |
        [A]      [B]      [C]      [D]

1768040175636

5. Ring Topology (Legacy) πŸ’

ASCII Diagram: Ring Topology

           [A] -------- [B]
            |            |
            |   (Data)   |
            |     ->     |
            |            |
           [D] -------- [C]

1768040202402

6. N-Tier Architecture (3-Tier)

Not a topology of VNets, but a topology of Subnets inside a VNet.

  1. Web Tier (Front-end): Publicly accessible.
  2. Logic Tier (App): Processes data, no direct internet access.
  3. Data Tier (DB): Holds data, locked down completely.

ASCII Diagram: 3-Tier

      (Internet)
          |
    [ Web Tier ]  <-- Public Subnet
          |
    [ App Tier ]  <-- Private Subnet (Business Logic)
          |
    [  DB Tier ]  <-- Private Subnet (Data)

πŸ’‘ Hinglish Explanation (Head Office)

1. Hub and Spoke (Head Office vs Branches)

2. 3-Tier (Restaurant)


⚑ Exam Tips for AZ-900

  1. Hub-Spoke: If an exam question mentions "Centralized management of connectivity" or "Shared Firewall", the answer is Hub and Spoke.
  2. Security: In 3-Tier, use NSGs to ensure the DB Tier accepts traffic only from the App Tier, not the Web Tier or Internet.
  3. Peering: In a Hub-Spoke, Spoke A cannot talk to Spoke B unless you specifically enable it (via NVA/Firewall in Hub).