Skip to content

Instantly share code, notes, and snippets.

@fabricesemti80
Last active February 4, 2025 10:27
Show Gist options
  • Save fabricesemti80/0d955e515f8b0a2ba0c3b1771f239128 to your computer and use it in GitHub Desktop.
Save fabricesemti80/0d955e515f8b0a2ba0c3b1771f239128 to your computer and use it in GitHub Desktop.
---
config:
  layout: elk
  theme: base
---
flowchart LR

 subgraph Connectivity-VNET["Connectivity VNET 10.18.254.0/23<br>vnet-conn-01-core-all-ne"]
        BastionSubnet["Bastion Subnet<br>10.18.255.128/26<br>AzureBastionSubnet"]
        InsideSubnet["Inside Subnet<br>10.18.255.0/28<br>snet-inside-01-core-prod-ne"]
        OutsideSubnet["Outside Subnet<br>10.18.255.240/28<br>snet-outside-01-core-prod-ne"]
        TestVM2["Test VM 02"]
        SonicWall["SonicWall Firewall<br>Private: 10.18.255.4<br>Public: 13.79.25.43"]
  end

 subgraph Empirics-VNET["Empirics VNET 10.18.128.0/23<br>vnet-lz-01-emp-all-ne"]
        ServicesSubnet["Services Subnet<br>10.18.128.0/27<br>snet-services-01-emp-all-ne"]
        VMsProdSubnet["VMs Prod Subnet<br>10.18.128.128/27<br>snet-vmachine-01-emp-prod-ne"]
        VMsDevSubnet["VMs Dev Subnet<br>10.18.129.128/27<br>snet-vmachine-01-emp-dev-ne"]
        PaaSProdSubnet["PaaS Prod Subnet<br>10.18.128.192/27<br>snet-paas-01-emp-prod-ne"]
        PaaSDevSubnet["PaaS Dev Subnet<br>10.18.129.192/27<br>snet-paas-01-emp-dev-ne"]
        MISProdSubnet["MIS Prod Subnet<br>10.18.128.160/27<br>snet-minstance-01-emp-prod-ne"]
        MISDevSubnet["MIS Dev Subnet<br>10.18.129.160/27<br>snet-minstance-01-emp-dev-ne"]
        TestVM1["Test VM 01"]
        EMPDC01["EMPDC01"]
  end

 subgraph Management-VNET["Management VNET 10.18.228.0/23<br>vnet-mgmt-01-core-all-ne"]
        KeyMgmtSubnet["Key Management Subnet<br>10.18.228.64/27<br>snet-keymgmt-01-all-all-ne"]
        TestVM3["Test VM 03"]
  end
  
    Bastion["Azure Bastion"] --> BastionSubnet
    BastionSubnet --> TestVM1 & TestVM2 & TestVM3
    ServicesSubnet --> EMPDC01
    SonicWall -- X0 --> InsideSubnet
    SonicWall -- X1 --> OutsideSubnet
    On-Prem-Sonicwall["On-Prem-Sonicwall"] -- VPN --> Internet["Internet"]
    Internet -- VPN --> SonicWall
    Connectivity-VNET <-- "VNET Peering<br>vnet-peer-conn-to-emp-prod-ne<br>vnet-peer-emp-to-conn-prod-ne" --> Empirics-VNET
    Internet -.-> Empirics-VNET
     BastionSubnet:::subnet
     InsideSubnet:::subnet
     OutsideSubnet:::subnet
     SonicWall:::firewall
     ServicesSubnet:::subnet
     VMsProdSubnet:::subnet
     VMsDevSubnet:::subnet
     PaaSProdSubnet:::subnet
     PaaSDevSubnet:::subnet
     MISProdSubnet:::subnet
     MISDevSubnet:::subnet
     KeyMgmtSubnet:::subnet
     Bastion:::service
     Internet:::service
     Connectivity-VNET:::vnet
     Empirics-VNET:::vnet
     Management-VNET:::vnet
    classDef vnet fill:#f9f,stroke:#333,stroke-width:2px
    classDef subnet fill:#bbf,stroke:#333,stroke-width:1px
    classDef service fill:#dfd,stroke:#333,stroke-width:1px
    classDef firewall fill:#f66,stroke:#333,stroke-width:2px

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment