AWS Direct Connect — The Architecture Behind the Private Link
A deep, advanced-level walkthrough of how Direct Connect actually works under the hood — physical cross-connects, BGP routing internals, virtual interfaces, Direct Connect Gateway, resiliency models, and the patterns that let enterprises move traffic between their own data centers and AWS without ever touching the public internet.
Picture running a dedicated, physical telephone line directly from your office to a specific building across town, rather than making every call through the shared public phone network. That private line does not get congested by everyone else’s calls, its quality does not depend on the internet’s unpredictable weather, and you can be far more confident about exactly how much bandwidth it can carry at any given moment. That is the fundamental promise of AWS Direct Connect: a dedicated, physical network connection between an organization’s own infrastructure and AWS, bypassing the public internet entirely. This tutorial goes past “Direct Connect is a private network link to AWS” and explains what is actually happening at the physical and protocol layers — how a literal fiber cross-connect gets established, how BGP decides which routes to actually use, how one physical connection can safely serve many isolated environments simultaneously, and how enterprises design genuinely resilient hybrid network architectures on top of it.
1Physical Cross-Connects, Not a VPN
The single fact that separates Direct Connect from every internet-based connectivity option: there is a literal, physical cable involved.
What a Cross-Connect Actually Is
A Direct Connect location is a colocation facility where AWS has network equipment present, and establishing a connection means physically running a fiber cross-connect between the customer’s (or their network provider’s) equipment rack and AWS’s networking equipment within that same facility. This is fundamentally a physical-layer action, not a software configuration step — the connection genuinely does not exist until that cable is run and both ends are verified as optically linked.
A VPN over the internet is like sending a locked, encrypted letter through the regular public postal system — secure in content, but still riding on shared infrastructure you do not control. Direct Connect is like laying your own private pipe directly between two buildings — nothing else travels through that pipe, and its capacity and behavior are entirely predictable because no one else is sharing it.
flowchart LR
Cust["Customer Router\n(in colocation rack)"] -->|Physical Fiber\nCross-Connect| AWS["AWS Network Equipment\n(same Direct Connect location)"]
AWS --> Cloud["AWS Global Network"]
Why Bandwidth and Latency Behave Differently Here
Because the connection does not traverse the public internet or any shared, congestion-prone path, both available bandwidth and latency variability are dramatically more predictable and consistent than an internet-based VPN — a property that matters enormously for latency-sensitive or bandwidth-intensive hybrid workloads.
Production Example — Financial Trading Infrastructure
Financial services firms running latency-sensitive trading systems adopt Direct Connect specifically because consistent, low-jitter network performance between their own data centers and AWS-hosted systems is a hard requirement that internet-based connectivity simply cannot guarantee.
2Internal Working — Direct Connect Locations & Connection Types
Not every organization has equipment already sitting in an AWS-adjacent colocation facility.
Dedicated Connections vs. Hosted Connections
A dedicated connection provisions an entire physical port (1, 10, or 100 Gbps) directly for one customer, requiring that customer’s own equipment be physically present, or connected via a network partner, at the Direct Connect location. A hosted connection, by contrast, is provisioned and resold by an AWS Direct Connect Partner from their own existing physical connection into AWS, sized to a specific customer’s needs in smaller increments — a practical option for organizations that do not have their own equipment in the facility at all.
| Property | Dedicated Connection | Hosted Connection |
|---|---|---|
| Provisioned by | Directly by AWS to the customer | An AWS Direct Connect Partner |
| Port ownership | Entire physical port dedicated to one customer | Shared physical port, logically allocated per customer |
| Typical use case | Organizations with equipment already in the facility | Organizations relying on a partner’s existing infrastructure |
| Bandwidth increments | 1 Gbps, 10 Gbps, 100 Gbps | Smaller, more granular increments set by the partner |
Direct Connect Locations as Physical Meeting Points
Each Direct Connect location is tied to specific AWS Regions it can reach, meaning the choice of which physical facility to establish a cross-connect in is itself an architectural decision, influenced by which Regions need to be reached and which facility is most practical for the organization’s own network footprint.
Assuming a single Direct Connect location automatically provides equally good connectivity to every AWS Region — connectivity from a given location is scoped to a specific set of reachable Regions, which must be verified against actual architectural needs before committing to a facility.
3Virtual Interfaces — Private, Public & Transit
A single physical connection is sliced into multiple logically isolated virtual circuits using 802.1Q VLAN tagging.
Private Virtual Interface
Connects to resources inside a specific VPC using private IP addressing, the most common virtual interface type for hybrid application connectivity.
Public Virtual Interface
Connects to AWS public service endpoints (such as S3 or DynamoDB) using their public IP address ranges, but still over the private physical connection rather than the public internet.
Transit Virtual Interface
Connects to one or more AWS Transit Gateways, enabling a single virtual interface to reach many VPCs across many accounts through the transit gateway’s own routing, rather than requiring a private virtual interface per VPC.
VLAN Tagging Enables Multiple Virtual Interfaces on One Physical Connection
Using 802.1Q VLAN tags, a single physical cross-connect can carry multiple, logically isolated virtual interfaces simultaneously — for example, one private virtual interface reaching a production VPC and a separate private virtual interface reaching a completely isolated development VPC, all traveling over the same physical fiber without any traffic mixing between them.
flowchart TB
Phys["One Physical\nCross-Connect"]
Phys --> VIF1["Private VIF\n(VLAN 100) → Production VPC"]
Phys --> VIF2["Private VIF\n(VLAN 200) → Development VPC"]
Phys --> VIF3["Public VIF\n(VLAN 300) → S3, DynamoDB"]
A Transit Virtual Interface is specifically the mechanism that lets a single Direct Connect connection scale to reach dozens or hundreds of VPCs across an entire organization, avoiding the practical connection-count limits that private virtual interfaces per VPC would otherwise impose.
4BGP — The Routing Protocol Underneath Everything
Every virtual interface’s routing behavior is governed by the Border Gateway Protocol, the same protocol that runs the internet’s core routing.
Establishing a BGP Peering Session
Once a virtual interface is configured, the customer’s router and AWS’s router establish a BGP peering session over it, exchanging route advertisements — the customer’s router announces which private IP prefixes exist on their side, and AWS announces which prefixes (VPC CIDR ranges, or public AWS service ranges) are reachable on its side.
sequenceDiagram
participant Cust as Customer Router
participant AWS as AWS Router
Cust->>AWS: BGP Open (peering request)
AWS->>Cust: BGP Open (accepted)
Cust->>AWS: Advertise on-premises prefixes
AWS->>Cust: Advertise VPC / service prefixes
Note over Cust,AWS: Routes exchanged continuously\nas network topology changes
Bidirectional Forwarding Detection for Fast Failure Detection
Because BGP’s own default timers can take tens of seconds to detect a failed peer, Direct Connect supports Bidirectional Forwarding Detection (BFD), a lightweight protocol that detects link failure in a fraction of a second, allowing BGP to withdraw affected routes and reroute traffic far faster than relying on BGP’s native failure detection alone.
BFD’s fast failure detection matters most in redundant architectures with multiple connections — the faster a failed path is detected, the faster BGP can converge onto the remaining healthy path, directly reducing real-world failover time during a physical link failure.
5Link Aggregation Groups — Combining Physical Connections
Treating multiple physical connections as one logical, higher-bandwidth connection.
LAG as a Single Logical Interface
A Link Aggregation Group bundles multiple physical Direct Connect connections of the same bandwidth and terminating at the same Direct Connect location into a single logical interface, presenting one combined bandwidth capacity and one BGP session configuration to the rest of the network, rather than managing several independent connections separately.
flowchart LR
P1["Physical Connection 1\n(10 Gbps)"] --> LAG["Link Aggregation Group\n(20 Gbps logical)"]
P2["Physical Connection 2\n(10 Gbps)"] --> LAG
LAG --> Net["Single Logical\nNetwork Interface"]
Why LAG Improves Both Bandwidth and Resiliency
Beyond simply adding bandwidth, a LAG also provides resiliency within a single location — if one physical connection in the group fails, traffic continues flowing over the remaining connections in the group automatically, without requiring a separate BGP failover event at the virtual interface level.
Treating a LAG at a single Direct Connect location as sufficient resiliency on its own — a LAG protects against a single physical connection failure, but not against the failure of the entire Direct Connect location (a facility-wide power or fiber cut), which requires a genuinely separate, second location entirely.
6Direct Connect Gateway — Multi-Region, Multi-VPC Connectivity
Extending one physical connection’s reach far beyond a single Region or a single VPC.
The Problem of Reaching Many VPCs Across Many Regions
Without an additional layer, a private virtual interface connects to exactly one VPC in one Region — an organization with dozens of VPCs spread across multiple Regions would otherwise need a proliferation of virtual interfaces and, in some cases, physical connections in multiple Regions entirely.
Direct Connect Gateway as a Global Routing Hub
A Direct Connect Gateway acts as a globally available routing intermediary that a virtual interface connects to once, and which can then be associated with multiple VPCs (via their virtual private gateways or transit gateways) across multiple Regions — meaning a single Direct Connect connection established in one location can reach VPCs in Regions the physical connection itself has no direct presence in.
flowchart TB
Conn["Direct Connect Connection\n(one physical location)"] --> DCGW["Direct Connect Gateway"]
DCGW --> VPC1["VPC — us-east-1"]
DCGW --> VPC2["VPC — eu-west-1"]
DCGW --> VPC3["VPC — ap-southeast-1"]
Production Example — Global Enterprise Network Backbones
Multinational enterprises with a single major data center use a Direct Connect Gateway to give that one facility’s connection reach into VPCs across every Region their global business operates in, avoiding the need to establish a separate physical connection per Region.
7Resiliency Models — From Single Connection to Maximum Resiliency
AWS defines explicit, named resiliency models rather than leaving redundancy design entirely open-ended.
Basic (Single Connection)
A single physical connection at a single location — no protection against a connection or location failure at all, suitable only for non-critical or development use cases.
Development / Test Model
Two connections at the same Direct Connect location, protecting against a single connection or device failure, but not against a full location outage.
High Resiliency
Connections established across two separate Direct Connect locations, protecting against an entire facility becoming unavailable, not just a single connection.
Maximum Resiliency
Multiple connections at multiple locations, each terminating on physically separate devices, designed to tolerate the simultaneous failure of an entire location plus a device failure at the remaining location.
Why Resiliency Model Choice Should Match Actual Business Impact
Selecting a resiliency model is fundamentally a cost-versus-risk decision — Maximum Resiliency provides the strongest protection but at meaningfully higher cost and complexity, making it appropriate specifically for workloads where a hybrid connectivity outage would cause serious, quantifiable business harm, rather than being a default choice for every use case.
A common point of confusion is assuming two connections automatically means high resiliency — if both connections terminate at the same physical Direct Connect location, a facility-wide event still takes down both simultaneously, which is exactly why the High Resiliency model specifically requires two separate locations.
8Direct Connect + VPN — Hybrid Failover Architectures
A common, cost-effective pattern that layers a fundamentally different connectivity type as a backup path.
VPN as a Backup Path for Direct Connect
Rather than paying for a second full Direct Connect connection purely as a backup, many architectures configure a Site-to-Site VPN over the public internet as a failover path, with BGP configured so that the Direct Connect path is preferred under normal conditions and traffic automatically shifts to the VPN path if the Direct Connect connection becomes unavailable.
flowchart TB
OnPrem["On-Premises Network"] -->|Primary: Direct Connect| AWS["AWS VPC"]
OnPrem -->|Backup: Site-to-Site VPN\nover public internet| AWS
Influencing Path Preference With BGP Attributes
Path preference between the Direct Connect and VPN routes is controlled using standard BGP attributes such as AS-path prepending (making the VPN path look artificially longer, and therefore less preferred) or local preference, ensuring traffic only shifts to the VPN when the Direct Connect path genuinely becomes unavailable, rather than load-balancing unpredictably between the two.
Production Example — Cost-Conscious Hybrid Enterprises
Mid-sized enterprises balancing cost against resiliency needs commonly pair one Direct Connect connection with a VPN backup, accepting a temporary drop to internet-based connectivity and reduced bandwidth during a rare Direct Connect outage, rather than paying for a second full physical connection.
9Traffic Engineering — BGP Communities & AS-Path Prepending
Fine-grained control over exactly how traffic flows across redundant paths.
BGP Communities for Route Scoping
AWS Direct Connect supports specific BGP community tags that let a customer influence how their advertised routes propagate — for example, marking a route as local to a specific Region only, or as reachable across an entire continent, giving explicit, fine-grained control over route scope in complex multi-location architectures.
AS-Path Prepending for Explicit Preference Control
By artificially repeating their own Autonomous System number multiple times in a route advertisement, a customer can make a specific path appear “longer” and therefore less attractive under BGP’s standard path-selection algorithm, a common and effective technique for ensuring a secondary connection or location is only used when the primary path is genuinely unavailable.
flowchart LR
Primary["Primary Connection\nAS-Path: 65000"] --> Sel{"BGP Path\nSelection"}
Backup["Backup Connection\nAS-Path: 65000, 65000, 65000\n(prepended)"] --> Sel
Sel -->|Shorter path preferred| Primary
Relying only on connection-level configuration to control primary-versus-backup preference, without also configuring AS-path prepending or local preference at the BGP layer, can result in unpredictable or asymmetric routing behavior that is difficult to diagnose after the fact.
10MACsec — Link-Layer Encryption
Adding encryption at the physical connection layer, for organizations where privacy alone is not enough.
Why Direct Connect Traffic Is Not Encrypted by Default
Because Direct Connect traffic never traverses the public internet, it is inherently private in the sense of not being publicly routable — but “private” is not the same as “encrypted,” and highly regulated industries often require actual cryptographic protection of data in transit, even across a dedicated physical link.
MACsec Encrypting at the Ethernet Layer
MACsec (802.1AE) provides line-rate encryption directly at the Ethernet layer for supported dedicated connections, encrypting traffic between the customer’s router and AWS’s router without requiring any additional encryption tunnel to be configured at a higher layer, and without the meaningful throughput overhead that software-based encryption tunnels typically introduce.
flowchart LR
Cust["Customer Router\n(MACsec-enabled)"] -->|Encrypted at\nEthernet layer| AWS["AWS Router\n(MACsec-enabled)"]
Production Example — Regulated Healthcare and Government Workloads
Organizations subject to strict data-in-transit encryption mandates enable MACsec on their dedicated Direct Connect connections to satisfy compliance requirements while retaining the performance characteristics of a dedicated physical link, avoiding the throughput cost of a software VPN tunnel layered on top.
11Direct Connect SiteLink — Location-to-Location Connectivity
Using AWS’s own global network backbone to connect two of a customer’s own physical sites.
Beyond Site-to-AWS: Site-to-Site Over AWS’s Backbone
SiteLink allows traffic between two Direct Connect locations to route directly over AWS’s global network backbone rather than being forced to travel up to a specific AWS Region and back down again — useful for an organization connecting two of its own data centers, each with its own Direct Connect presence, without needing that traffic to logically pass through a Region’s VPC infrastructure at all.
flowchart LR
Site1["Customer Site A\n(Direct Connect Location 1)"] -->|SiteLink over\nAWS Backbone| Site2["Customer Site B\n(Direct Connect Location 2)"]
Production Example — Global Enterprise WAN Replacement
Enterprises with multiple data centers around the world use SiteLink to replace a traditional, expensive private WAN backbone, leveraging AWS’s already globally distributed network to connect their own facilities to each other, not just to AWS Regions.
12High Availability & Reliability
Resilience in Direct Connect is deliberately layered — physical, protocol, and architectural.
Layering LAG, Multiple Locations, and BFD Together
Genuine high availability combines several of the mechanisms already covered: LAG for protection against a single connection failure, a second Direct Connect location for protection against a facility-wide event, and BFD for fast failure detection so BGP can reroute quickly once a failure does occur — no single mechanism alone is sufficient for a truly resilient hybrid network design.
Testing Failover Deliberately
Because hybrid network failover paths are exercised far less often than cloud-native failover mechanisms, deliberately testing a Direct Connect failover — by disabling a connection or a BGP session in a controlled manner — is a standard operational practice for validating that BFD timers, AS-path preferences, and backup VPN paths actually behave as designed before a real outage forces the issue.
13Security
Beyond MACsec, Direct Connect security spans physical access, routing policy, and IAM.
Physical Access Control at the Colocation Facility
Because the connection begins with a physical cross-connect, security starts with the colocation facility’s own physical access controls governing who can reach the customer’s equipment rack at all — a layer of security consideration that purely cloud-native services never require thinking about.
IAM Policies for Connection and Virtual Interface Management
Creating, modifying, or deleting connections and virtual interfaces is governed by IAM policy, allowing an organization to restrict which teams or roles can make changes to critical hybrid network infrastructure — an important control given how disruptive an accidental virtual interface deletion or BGP misconfiguration could be.
Route Filtering as a Security Boundary
Because BGP will advertise and accept whatever routes are configured, deliberate route filtering — only advertising the specific prefixes that should be reachable, and only accepting the specific prefixes expected from the other side — acts as an important security boundary, preventing accidental or malicious route leakage between environments that should remain isolated.
Accepting and advertising overly broad route ranges by default, rather than explicitly filtering to only the prefixes genuinely required, increases the risk of unintended connectivity between environments that were meant to remain isolated from each other.
14Monitoring, Logging & Metrics
Observability spans both the physical connection and the BGP routing layer above it.
Connection State & Light Levels
CloudWatch metrics report the physical connection’s up/down state and optical signal strength, often the earliest indicator of a degrading physical link before it fails outright.
BGP Session State
Tracks whether the BGP peering session itself is established, a distinct and equally important signal from the physical connection state — a physical link can be up while BGP has failed to establish for a configuration reason.
Connection Bandwidth Utilization
Monitoring utilization against the connection’s or LAG’s total provisioned bandwidth reveals when it is time to add capacity before saturation starts degrading application performance.
Why Physical and BGP-Layer Monitoring Must Both Be Watched
A healthy physical connection with a failed BGP session looks completely different from a failed physical connection, but both result in the same practical outcome — no traffic flowing — which is why comprehensive monitoring must track both layers independently rather than assuming one implies the other.
15Deployment & Cloud Integration Patterns
How organizations actually roll Direct Connect into a broader hybrid architecture.
Partner-Hosted Connections for Faster Onboarding
Organizations without existing equipment in an AWS Direct Connect location commonly start with a hosted connection through an AWS Direct Connect Partner already present in the facility, achieving working hybrid connectivity in days or weeks rather than the longer timeline a dedicated connection with new physical infrastructure would require.
Transit Gateway Integration for Centralized Routing
Pairing a Transit Virtual Interface with AWS Transit Gateway creates a centralized hub-and-spoke architecture where a single Direct Connect connection reaches many VPCs through the transit gateway’s own routing tables, simplifying what would otherwise be a sprawling mesh of individual virtual interfaces as an organization’s VPC count grows.
flowchart TB
DX["Direct Connect\n(Transit VIF)"] --> TGW["Transit Gateway"]
TGW --> VPCA["VPC A"]
TGW --> VPCB["VPC B"]
TGW --> VPCC["VPC C"]
16Design Patterns & Anti-Patterns
Patterns that build genuine resilience, and mistakes that create a false sense of it.
Pattern — Direct Connect Gateway as the Default for Multi-VPC Reach
Standardizing on a Direct Connect Gateway from the outset, even for an initial single-Region deployment, avoids a costly re-architecture later when the organization inevitably expands into additional Regions or VPCs.
Pattern — VPN as a Deliberate, Tested Backup Path
Configuring a Site-to-Site VPN backup with explicit AS-path prepending, and then actually testing the failover in a controlled window, turns a theoretical backup path into a proven one before it is ever needed during a genuine outage.
Problem
Provisioning two Direct Connect connections for redundancy, both terminating at the same physical Direct Connect location.
Why It’s Harmful
A facility-wide event — a power outage, a fiber cut affecting the building, a natural disaster — takes down both connections simultaneously, since physical location, not connection count, is what determines resilience against this class of failure.
Correct Approach
Follow AWS’s High Resiliency or Maximum Resiliency models explicitly, which require connections across genuinely separate Direct Connect locations, not just separate physical cables within the same building.
Problem
Assuming a Direct Connect link is inherently encrypted because it does not traverse the public internet.
Why It’s Harmful
Private routing and cryptographic encryption are two separate properties — traffic on an unencrypted Direct Connect connection could still be intercepted by anyone with physical or logical access to the intermediate network path, a real risk for regulated data.
Correct Approach
Enable MACsec on supported dedicated connections for workloads with genuine data-in-transit encryption requirements, rather than relying on private routing alone to satisfy a compliance obligation.
17Advantages, Disadvantages & Trade-offs
Direct Connect solves a specific class of problem extremely well, at a real cost and complexity trade-off.
Advantages
- Predictable, consistent bandwidth and latency, free from public internet congestion and variability
- Direct Connect Gateway and Transit Virtual Interfaces scale one physical connection to reach many VPCs across many Regions
- MACsec provides high-performance, line-rate encryption without a separate software VPN tunnel’s overhead
- SiteLink extends AWS’s global backbone to connect an organization’s own sites to each other, not just to AWS
- Well-defined, named resiliency models provide clear architectural guidance rather than ambiguous redundancy planning
Disadvantages / Trade-offs
- Requires physical infrastructure and colocation presence, or a partner relationship, introducing longer lead times than purely cloud-native connectivity options
- Genuine resiliency requires multiple physical locations, meaningfully increasing cost compared to a single-connection setup
- BGP configuration and traffic engineering require real networking expertise that pure cloud-native teams may not already have
- Not encrypted by default — MACsec or an overlay VPN must be deliberately added for workloads with encryption requirements
- A single Direct Connect location reaches only a specific set of AWS Regions, requiring careful location selection against actual architectural needs
18Real-World & Industry Examples
How organizations apply these mechanics in production hybrid networks.
Trading Infrastructure
Relies on Direct Connect’s predictable, low-jitter latency for hybrid systems where even small variability in network performance has measurable financial impact.
Regulated Data Workloads
Combines Direct Connect with MACsec encryption to satisfy strict data-in-transit compliance requirements while retaining dedicated-link performance.
Multi-Region Corporate Networks
Uses Direct Connect Gateway to give a single physical connection reach into VPCs across every Region the business operates in worldwide.
WAN Backbone Replacement
Uses SiteLink to connect multiple owned data centers directly over AWS’s global backbone, reducing reliance on traditional private WAN circuits between sites.
19Frequently Asked Questions
No — Direct Connect traffic is private in the sense that it never traverses the public internet, but it is not cryptographically encrypted by default. MACsec, on supported dedicated connections, must be deliberately enabled for actual encryption.
Not necessarily — if both connections terminate at the same physical Direct Connect location, a facility-wide failure still takes down both. AWS’s High Resiliency and Maximum Resiliency models specifically require connections across separate physical locations.
Yes, through a Direct Connect Gateway, which acts as a global routing intermediary that a virtual interface connects to once, then associates with VPCs across multiple Regions without requiring a physical connection in each Region.
A private virtual interface connects to exactly one VPC directly. A transit virtual interface connects to a Transit Gateway, allowing a single virtual interface to reach many VPCs across many accounts through the transit gateway’s own routing.
Cost and speed of deployment — a Site-to-Site VPN backup path can be established quickly and inexpensively over the existing internet connection, providing a reasonable failover option for organizations that accept reduced bandwidth and internet-based variability during the rare event the primary Direct Connect connection fails.
20Summary and Key Takeaways
Advanced command of Direct Connect starts with recognizing it as a genuinely physical service layered underneath a familiar routing protocol — a literal fiber cross-connect at a specific colocation facility, governed by BGP once established. Every advanced capability builds outward from that foundation: VLAN tagging lets one physical connection serve multiple isolated destinations, Direct Connect Gateway extends that connection’s reach across Regions and accounts, LAG and multi-location resiliency models protect against different failure scopes at different layers, and MACsec adds cryptographic protection the physical medium does not provide on its own. None of these mechanisms substitute for the others — a resilient, secure, well-performing hybrid network is the deliberate combination of the right resiliency model, correctly configured BGP traffic engineering, and encryption where genuinely required, matched to how much a hybrid connectivity failure would actually cost the business if it happened.
Key Takeaways
- Direct Connect begins as a physical cross-connect, not a software configuration — location choice and physical redundancy are real architectural decisions.
- VLAN tagging and virtual interfaces let one connection serve many destinations, with Transit Virtual Interfaces specifically solving the multi-VPC, multi-account scaling problem.
- BGP governs all routing behavior, and BFD is what makes failure detection fast enough for real-world failover to matter.
- Resiliency models are named and specific for a reason. Two connections at one location is not the same protection as connections across two genuinely separate locations.
- Direct Connect Gateway removes the single-Region limitation, letting one physical connection reach VPCs across an entire global footprint.
- Private is not the same as encrypted. MACsec must be deliberately enabled for workloads with genuine data-in-transit encryption requirements.
- AS-path prepending and route filtering are the real levers for controlling primary-versus-backup path preference and maintaining routing isolation between environments.