user-guides

AMPLS Private Endpoint in Hub vs Spoke

This document summarizes the technical evaluation of placing AMPLS Private Endpoints (PEs) in the Hub VNet versus in a Spoke VNet, based on the dual‑region (CI/SI) hub‑and‑spoke model.

Recommended architecture diagram at bottom.


Table of Contents


Context

Per region (CI, SI):

We compare two options:

  1. Hub‑PE architecture – PE in the Hub VNet, LAW in a spoke.
  2. Spoke‑PE architecture – PE in a dedicated monitoring spoke, LAW in the same monitoring spoke.

High Level Architectures

(A) Hub-PE Architecture (per region)

(B) Spoke-PE Architecture (per region)

Because all spoke↔spoke flows must traverse the Hub Firewall, both designs have the same routing pattern via the Hub. The main difference is where the PE lives (Hub vs Monitoring Spoke) and how much complexity is concentrated in the Hub.


Comparison Table

Aspect Hub‑PE Architecture Spoke‑PE Architecture (Monitoring Spoke) Preferred
PE Location Hub VNet (shared services zone) Monitoring Spoke VNet (dedicated monitoring zone) Depends
LAW Location Monitoring Spoke VNet Monitoring Spoke VNet
Routing Model App Spoke → Hub FW → Hub PE → LAW Spoke App Spoke → Hub FW → Monitoring Spoke PE → LAW (same VNet as PE)
Hub Role Transit + Firewall + PE termination Transit + Firewall (PE termination in spoke) Spoke
Alignment with “spokes host workloads, hub is transit / shared infra” Hub also terminates monitoring PEs Closer to typical landing zone / monitoring‑spoke pattern Spoke
PE as Shared Service Natural – PE in Hub, shared by all spokes Also shared – one PE in monitoring spoke, used by all spokes via Hub Tie
Custom DNS Requirement Yes (for private endpoint FQDN) Yes (same reason – PE + AMPLS) Tie
DNS Location (typical) DNS VMs can be in monitoring spoke or dedicated DNS VNet; Hub uses custom DNS DNS VMs in monitoring spoke or DNS VNet; Hub points to same custom DNS or Resolver Slight Spoke
DNS Complexity Hub depends on DNS VMs / Resolver, often in a spoke (inverted dependency) DNS central in monitoring spoke; Hub + app spokes all use that; clear per‑region split Spoke
Performance / Latency App Spoke → Hub → LAW Spoke (PE in Hub, LAW in Spoke) App Spoke → Hub → Monitoring Spoke (PE + LAW in same spoke) Slight Spoke
Peering Bandwidth / Cost Traffic terminates in Hub PE, then continues to LAW Spoke Traffic terminates in Monitoring Spoke (Hub still in path due to policy) Slight Spoke
Security Isolation Larger blast radius – Hub PE serves all spokes Smaller blast radius – monitoring spoke is compartmentalized Spoke
Fault Domain Separation Hub failure affects routing + firewall + PE Monitoring spoke failure affects LAW/PE; Hub still handles transit Spoke
Operational Coupling Changes in Hub NSGs/Firewall/DNS impact monitoring flows directly Changes in monitoring spoke affect LAW/PE; Hub changes mostly impact transit only Spoke
Centralized Control Strong – 1 PE per Hub/region, all traffic via Hub FW Still centralized – typically 1 PE per monitoring spoke/region, still via Hub FW Slight Hub
Number of PEs (per region) 1 PE per Hub Typically 1 PE per monitoring spoke (usually 1 per region) Tie
Scaling / Growth Hub can become a concentration point for many shared services Monitoring spoke scales monitoring; Hub scales transit/firewall Spoke
Alignment with Microsoft docs Less common example; valid with clear documentation and justification Closer to “monitoring spoke per region” examples in CAF / landing zone guidance Spoke
Fit to “Hub‑enforced” policy Good – everything is already through Hub, including PE Also good – Hub still inspects all flows; PE lives in monitoring spoke Tie

DNS Considerations

Hub-PE DNS Considerations

Pros

Cons

Spoke-PE DNS Considerations

Pros

Cons


Hub-PE Architecture – Technically Possible but Not Preferred

Yes, it is technically possible to place the AMPLS PE in the Hub and have all other VNets (and on‑prem) use it as a shared service.

However, operationally and architecturally it introduces several issues compared with placing the PE in a monitoring spoke.

Pros – Why a Hub-PE Can Be Attractive

  1. Centralized, shared access
    • A PE in the Hub serves as a single, obvious entry point for all spokes and subscriptions.
    • Fits well with a “Hub hosts all shared services” mindset.
  2. Reduced PE count
    • One PE per Hub/region instead of potentially multiple PEs if you ever introduced multiple monitoring spokes.
  3. Perceived consistency
    • Hub already hosts Firewall, Gateways, NVAs; there can be an assumption that “all shared PEs live in the Hub as well”.

Cons – Why a Monitoring Spoke PE Is Usually Preferred

  1. Hub may need to move to Custom DNS (if Hub components must resolve PEs)
    • If Hub resources (Firewall, gateways, management VMs) must resolve the PE FQDNs:
      • Hub VNet DNS must typically be switched from Azure‑provided to custom DNS.
    • This affects:
      • Azure Firewall (FQDN rules, outbound dependencies),
      • VPN/ER gateways,
      • Any future Hub‑hosted services relying on DNS.
    • DNS failure in the region becomes a high‑impact event for Hub and transit, not just for monitoring.
  2. Weaker separation of Hub and workloads
    • Hub is intended primarily for:
      • Transit, gateways, firewalls, and shared infrastructure.
    • PEs are data‑plane endpoints for workloads/monitoring.
    • Hosting PEs in the Hub mixes control and data planes and increases the cognitive and operational load on Hub changes.
  3. Private DNS zone linking and dependency chain
    • Private DNS zones must be linked so that the Hub can resolve PE names.
    • Combined with forced Hub routing, the dependency chain becomes:
      • App → Hub FW → DNS → PE → AMPLS → LAW.
    • Any problem in this chain (DNS VMs, zone links, Hub NSGs/UDRs) can break ingestion.
    • Hub becomes a single, complex failure domain for the region.
  4. Limited architectural benefit specifically for AMPLS
    • AMPLS and LAW do not inherently benefit from the PE being hosted in the Hub.
    • In both designs, traffic eventually terminates at the same LAW/AMPLS resources.
    • You add Hub complexity and risk without meaningful gains for AMPLS itself.

Recommended:
Place AMPLS Private Endpoints in regional monitoring spokes (CI‑Monitoring, SI‑Monitoring), not in the Hubs.

Design pattern:

This approach preserves:


Accessing a Spoke-PE from Multiple Spokes

Even though there is no spoke‑to‑spoke peering, you can still share a single PE in the Monitoring Spoke:

Flow:

App Spoke → Hub FW → Monitoring Spoke PE → AMPLS → LAW

So:

You can keep a single PE in the Monitoring Spoke and have all present and future spokes (and subscriptions) access it via the Hub firewall. No spoke‑to‑spoke peering is required; the Hub remains the only transit point.


Final Advice

In most cases, placing AMPLS PEs in regional monitoring spokes provides:


Architecture Diagram of Spoke-PE

Architecture
Click to view full size