security

Implementing Network Security

ENGINEERING GUIDE · NETWORK SECURITY

IPv4 & IPv6 Network Security — From Packet Filtering to Behavioural Defence

Modern network security is not a single firewall rule or access list. It is a layered control system that determines who can communicate, which traffic is permitted, where trust boundaries exist, how IPv4 and IPv6 behave differently, and how abnormal traffic is detected and investigated.

The Engineering Problem
Allowing connectivity is easy. Controlling communication is the challenge.

Networks must support legitimate application traffic while limiting unwanted access, protecting infrastructure protocols, controlling lateral movement, and maintaining visibility across both IPv4 and IPv6 paths.

01 · CONTROL

Define the Boundary

Identify trust zones, interfaces, identities, services and the traffic that should be permitted between them.

02 · PROTECT

Enforce Policy

Apply ACLs, firewall policy, segmentation and IPv6-specific protections at the points where traffic crosses a security boundary.

03 · OBSERVE

See Behaviour

Combine flow telemetry, packet visibility, DNS, connection metadata and infrastructure events to establish what normal looks like.

04 · RESPOND

Investigate Change

Correlate unusual behaviour with policy, topology and application context to determine whether an event is expected, suspicious or malicious.

Engineering View

Security follows the data flow.

A secure design starts with the communication path: source, destination, protocol, service, trust boundary and enforcement point. IPv6 introduces additional control-plane considerations such as Neighbor Discovery, Router Advertisements and multicast behaviour, while transition technologies introduce their own security boundaries.

Identity

Who or what is attempting the communication?

Policy

Should this source be allowed to reach this destination?

Telemetry

What does the traffic reveal about behaviour and change?

Threat

Does the observed behaviour indicate compromise or abuse?

The engineering question: Can we prove that the traffic we permit is expected, visible and appropriately controlled?
What This Guide Examines
IPv4 ACLs IPv6 ACLs Firewalls Segmentation NDP RA Guard DAD NAT64 NPTv6 GRE & IPsec NetFlow / IPFIX sFlow Threat Detection Incident Investigation
Widget 3 · Visibility & Behaviour

Behavioural Threat Detection Explorer

Security visibility turns network telemetry into intelligence. Explore how traffic patterns can expose beaconing, DNS tunnelling, lateral movement and abnormal east-west activity.

TELEMETRY → INTELLIGENCE
Detection Scenarios LIVE MODEL
Network Behaviour · Simulated Flow
Connections
42
Destinations
3
Pattern
Stable
Detection Engine CORRELATION
BEHAVIOURAL RISK 12
Traffic frequency NORMAL
Destination diversity NORMAL
Protocol behaviour NORMAL
East-west movement NORMAL
Threat correlation NONE
RECOMMENDED RESPONSE
ALLOW
Continue monitoring normal application behaviour.
Education Layer Network-derived intelligence is created by correlating patterns rather than examining a single packet. Frequency, destinations, protocols, identity and east-west behaviour can be combined to identify anomalies.
NETWORK SECURITY LAB

Network Security Control Plane Explorer

Modern network security is not enforced by a single firewall. Identity, segmentation, network controls, application inspection and detection work together to determine whether traffic should be allowed, blocked or isolated.

Security Enforcement Pipeline

POLICY ACTIVE
ID
Identity Validation Validate user identity, device posture and authentication context.
PASS
SG
Network Segmentation Determine whether the source can communicate with the destination segment.
READY
FW
Firewall Policy Evaluate source, destination, protocol, port and security policy.
READY
L7
Application Inspection Inspect application requests, paths and methods where required.
READY
AI
Detection & Analytics Correlate behaviour and telemetry to identify suspicious activity.
READY

Control Analysis

IDENTITY CONTROL

Establish who is requesting access

Identity is the first decision point in a modern security architecture. Authentication, device posture and contextual information establish whether the request can continue through the security pipeline.

Engineering question Can the requesting identity and device be trusted enough to continue?
Security principle Never assume trust simply because a device is already inside the network.
Current decision PASS — Continue Identity requirements are satisfied. Traffic can continue to the next security control.

Security Pipeline Outcome

READY

Select a control above to examine how that layer contributes to the overall network-security decision.

ENGINEERING INTRO · SECTION 01

Security Architecture — Follow the Data Flow

Start with the communication relationship before choosing the security control. Tap a component to see where the trust boundary and enforcement decision belong.

Trust Boundary Explorer
Trust boundary
01 · SOURCE Client
04 · CONTROL Firewall
02 · DESTINATION Service
03 · TRUST Boundary
Current Engineering Question

Who initiates the traffic?

Start at the source. Identify the system initiating the communication before deciding what should be permitted.

1 Identify the source
2 Define the destination
3 Locate the trust boundary
4 Choose the enforcement point
Engineering view: security policy should follow the data flow — not the other way around.
SECTION 01 · DEFINE

Security Architecture & Trust Boundaries

Network security begins before a firewall rule is written. The first task is to understand what is communicating, where trust changes, which traffic is expected, and where that communication can be controlled. This creates the security architecture that later filtering, inspection and monitoring mechanisms enforce.

Engineering Principle
Security policy should follow the data flow.

A useful security model connects the source, destination, application, protocol, trust zone and enforcement point rather than treating the network as a collection of isolated devices.

01 · SOURCE

Who initiates?

Identify the user, endpoint, server, workload or infrastructure device generating the traffic.

02 · DESTINATION

What is reached?

Determine the destination network, host, service or application being accessed.

03 · TRUST

Where does trust change?

Identify the boundary between users, servers, management, Internet, cloud and other security zones.

04 · CONTROL

Where is it enforced?

Place the appropriate ACL, firewall, segmentation or inspection control at the point where it can make the required decision.

Trust Boundaries

A trust boundary is the point at which traffic moves between different security assumptions. The boundary may exist between a user VLAN and server network, between an enterprise and the Internet, or between on-premises infrastructure and a cloud environment.

  • User and endpoint networks
  • Server and application zones
  • Management infrastructure
  • Internet and external services
  • Cloud and hybrid environments

Control Points

Once the boundaries are understood, security controls can be mapped to the traffic path. The objective is not simply to block traffic, but to make the policy decision explicit and observable.

  • Router and Layer 3 ACLs
  • Stateful firewall policy
  • Network segmentation
  • Identity and access controls
  • IDS/IPS and inspection systems
Engineering View

IPv4 and IPv6 must be secured as separate control planes.

A network can appear secure from an IPv4 perspective while IPv6 provides an overlooked path around the intended policy. Security architecture must therefore account for both protocol stacks, their control-plane behaviour, addressing model, routing, neighbour discovery and enforcement mechanisms.

Key takeaway: before deciding what traffic to block, establish what traffic should exist, which boundaries it crosses, and exactly where the security decision should be enforced.
ENGINEERING LAB · SECTION 01 · DEFINE

Trust Boundary Investigation

Follow a communication relationship from source to destination and prove where trust changes, where policy is enforced, and whether IPv4 and IPv6 follow the same security architecture.
INVESTIGATION READY
LIVE SECURITY PATH
IPv4 · EXPECTED
USER / SOURCE ZONE
SECURITY CONTROL ZONE
SERVER / SERVICE ZONE
◉
CLIENT
10.10.10.20
◇
ACCESS
VLAN / L2
▣
POLICY GATE
ACL + FIREWALL
▤
APPLICATION
10.20.10.40
⚠ SECURITY GAP IPv6 traffic reaches the application without crossing the intended policy gate.
TRUST INSPECTOR
LIVE EVIDENCE
CURRENT FINDING
Source identified
Begin the trace by identifying who initiates the communication.
SOURCE
CLIENT
DESTINATION
APPLICATION
PROTOCOL
IPv4
BOUNDARY
NOT YET VERIFIED
CONTROL
ACL + FIREWALL
DECISION
PENDING
DATA-FLOW TRACE
STEP 1 / 4
01
SOURCE
Identify the initiator.
02
DESTINATION
Confirm what is reached.
03
TRUST
Locate the boundary.
04
CONTROL
Prove enforcement.
ENGINEERING READOUT
ARCHITECTURE
SECURITY PRINCIPLE
Security policy should follow the data flow.
ENGINEERING INTRO · SECTION 02

Policy Decisions — Permit the Relationship, Not the Guess

Build a simple security decision by defining who is communicating, what protocol is being used and whether that relationship is actually required.

Build the traffic relationship
SOURCE
DESTINATION
PROTOCOL
RELATIONSHIP REQUIRED?
Security Policy Decision
POLICY REVIEW

Permit only required access

The selected relationship represents an intentional communication path. Enforce it at the appropriate ACL or firewall control point.

Source User
Destination Application
Protocol HTTPS
Control ACL / Stateful Firewall
Engineering principle: every security rule should represent an intentional communication relationship.
SECTION 02 · CONTROL

ACLs, Firewall Policy & Network Segmentation

Once trust boundaries and expected communication flows are defined, the next step is enforcement. ACLs and firewalls provide the decision logic that determines whether traffic is permitted, denied, inspected or logged. Segmentation then limits how far a compromised endpoint or workload can move through the network.

Engineering Principle
Every security rule should represent an intentional communication relationship.

A strong policy is specific about source, destination, protocol, service and direction. Broad rules may restore connectivity quickly, but they also make the security boundary difficult to understand and defend.

01 · FILTER

ACLs

Apply packet-level permit and deny decisions using addresses, prefixes, protocols and ports at routing or interface boundaries.

02 · INSPECT

Stateful Firewalls

Evaluate traffic in the context of connections, zones, applications and security policy rather than treating every packet independently.

03 · CONTAIN

Segmentation

Reduce unnecessary reachability between users, workloads, management systems and sensitive services.

Traffic Flow
Policy Question
Control
Engineering Objective
User → Server IPv4
Is the service required?
ACL / Firewall
Permit only required access
Client → Service IPv6
Does IPv6 follow the same policy?
IPv6 ACL / Firewall
Prevent an unintended alternate path
Server → Database TCP
Is this application relationship expected?
Segmentation
Limit lateral movement
Internet → DMZ External
Which service is intentionally exposed?
Firewall
Minimise attack surface
IPv4 / IPv6 Security

One policy. Two protocol stacks.

Deploying IPv6 does not automatically inherit the security posture of IPv4. IPv6 requires its own filtering and control-plane considerations, including Neighbor Discovery traffic and the protocols required for normal IPv6 operation.

Least Privilege

Reduce reachability before detecting compromise.

Segmentation provides a preventative control. If an endpoint is compromised, limiting which networks and services it can reach can reduce lateral movement before detection and response mechanisms take effect.

Engineering rule: a security policy should be understandable from the traffic flow alone. If nobody can explain why a rule exists, it should be reviewed rather than becoming permanent background configuration.
ENGINEERING LAB · SECTION 02 · CONTROL

Policy Decision Engine

Build a communication relationship and evaluate it against ACL, firewall and segmentation controls. The objective is not simply to permit traffic — it is to prove why that traffic should be permitted.
POLICY ENGINE READY
COMMUNICATION RELATIONSHIP
POLICY INPUT
◉
USER
SOURCE
◇
POLICY
ACL / FIREWALL
▤
APPLICATION
DESTINATION
Policy Rule
Match
Action
Service relationship
TCP/443
MATCH
Network boundary
USER → APP
CHECK
Protocol policy
IPv4
CHECK
DECISION ANALYSIS
ENGINE OUTPUT
SECURITY DECISION
PENDING
Define a source, destination, protocol and service, then evaluate the relationship.
POLICY CONFIDENCE 0%
SOURCE
—
DESTINATION
—
SERVICE
—
CONTROL
—
RATIONALE
—
FILTER
ACL / Stateless Control
Match source, destination, protocol and service. Keep the rule explicit and narrow.
SOURCE + DEST + SERVICE
INSPECT
Stateful Firewall
Evaluate the communication relationship at the security boundary and apply the intended policy.
STATE + POLICY
CONTAIN
Network Segmentation
Reduce unnecessary reachability so that a compromised system has fewer paths to other trust zones.
LIMIT LATERAL MOVEMENT
ENGINEERING INTRO · SECTION 03

IPv6 Control Plane — Follow the Discovery Sequence

IPv6 relies on Neighbor Discovery for router discovery, prefix discovery, address resolution, duplicate-address detection and neighbor reachability. Step through the sequence to see where security controls matter.

IPv6 host configuration sequence
Control-plane inspection
STEP 01 / 05
ROUTER DISCOVERY

Router Advertisement

Router Advertisements provide hosts with information about available IPv6 routers and network configuration. An unexpected RA can therefore influence how hosts configure and route traffic.

Security focus: control unauthorized Router Advertisements.
Engineering principle: protect the IPv6 control plane without breaking the discovery mechanisms that make IPv6 work.
SECTION 03 · PROTECT

IPv6 Control-Plane Security

IPv6 changes more than the address format. Core network functions such as address resolution, router discovery and duplicate-address detection are performed through Neighbor Discovery Protocol (NDP) and IPv6 multicast. These mechanisms are essential to normal operation, but they also create security considerations that do not have a direct IPv4/ARP equivalent.

Engineering Principle
Protect the IPv6 control plane without breaking the mechanisms that make IPv6 work.

Security controls must distinguish legitimate Neighbor Discovery and Router Advertisement traffic from malicious or unexpected control-plane behaviour.

01 · NDP

Neighbor Discovery

Provides neighbour discovery, address resolution, router discovery, prefix discovery and neighbour reachability functions.

02 · RA

Router Advertisements

Hosts learn IPv6 prefixes, default-router information and other configuration parameters through Router Advertisements.

03 · DAD

Duplicate Address Detection

Hosts use Neighbor Solicitation to determine whether an IPv6 address is already in use before assigning it to an interface.

04 · ENFORCE

RA Guard

Layer 2 infrastructure can filter unauthorized Router Advertisements at the access boundary before they reach end hosts.

IPv6 Host Configuration — Control-Plane Sequence
RA Router provides network information
Prefix Host learns the IPv6 prefix
Address Host forms an IPv6 address
DAD Host checks for duplication
Reachability NDP maintains neighbour state
Security Control

RA Guard at the access boundary

An unauthorized device sending Router Advertisements can influence how hosts select default routers or configure their IPv6 connectivity. RA Guard provides a Layer 2 enforcement mechanism that can block unwanted Router Advertisements on access ports while allowing them on trusted router-facing paths.

Threat Consideration

IPv6 attacks can begin with control traffic.

Security monitoring should not focus exclusively on application payloads. Unexpected Router Advertisements, abnormal Neighbor Discovery behaviour, duplicate-address events or unusual IPv6 multicast activity can provide valuable evidence during an investigation.

Key takeaway: IPv6 security includes the control plane. Filtering application traffic is not enough if an attacker can influence neighbour discovery, router discovery or other mechanisms required for normal IPv6 operation.
ENGINEERING LAB · SECTION 03 · PROTECT

IPv6 Control-Plane Investigation

Step through the IPv6 host configuration sequence and identify where Router Advertisements, Neighbor Discovery and Duplicate Address Detection become security-relevant control-plane events.
CONTROL PLANE READY
IPv6 HOST CONFIGURATION SEQUENCE
EVENT 1 / 5
01
⌁
ROUTER DISCOVERY
Host learns about available routers.
02
◇
PREFIX
Prefix information is learned.
03
◉
ADDRESS
The host forms its IPv6 address.
04
◎
DAD
Duplicate address detection runs.
05
⇄
REACHABILITY
Neighbor reachability is established.
CONTROL-PLANE EVENT STREAM
▣
IPv6 ROUTER
fe80::1
▤
IPv6 HOST
fe80::20
ROUTER ADVERTISEMENT
RA RECEIVED The host has received IPv6 router information.
SECURITY INSPECTOR
CONTROL PLANE
CURRENT EVENT
Router Advertisement
Router Advertisements allow hosts to learn about routers, prefixes and other configuration information.
SECURITY QUESTION
Is this router legitimate?
An unexpected RA can influence how hosts select routers and configure IPv6 connectivity.
MESSAGE
ROUTER ADVERTISEMENT
SOURCE
FE80::1
CONTROL
RA GUARD
OBSERVATION
MONITOR
NDP
Neighbor Discovery
IPv6 uses NDP for functions including router discovery, address resolution and neighbor reachability.
NO IPv6 BROADCAST
RA GUARD
Access-Layer Protection
RA Guard can filter unwanted Router Advertisements at an access-layer boundary.
FILTER UNEXPECTED RA
DAD
Address Validation
Duplicate Address Detection uses Neighbor Solicitation to check whether an IPv6 address is already in use.
NS → SOLICITED-NODE MULTICAST
ENGINEERING INTRO · SECTION 04

IPv6 Transition — Choose the Mechanism for the Problem

NAT64, NPTv6 and tunnelling solve different connectivity problems. Select a mechanism to see what changes in the packet path and where the new security boundary appears.

Select mechanism

NAT64 — IPv6 to IPv4 Translation

Protocol Translation
Client IPv6 Host
→
Boundary NAT64
→
Service IPv4 Server
Problem solved IPv6-only clients reaching IPv4 services
Security boundary Translation device and its policy/state
Visibility change Address and protocol context changes across the translator
Security focus Inspect and control the translated path
NAT64 is a translation mechanism for IPv6-to-IPv4 communication. It should not be treated as equivalent to IPv6 prefix translation or tunnelling.
Engineering principle: every transition mechanism changes what the network can see, enforce or troubleshoot. Secure the mechanism as well as the traffic crossing it.
SECTION 04 · TRANSITION

IPv6 Transition, Translation & Tunnelling

IPv4 and IPv6 will often coexist for many years. Security architecture therefore has to account for transition mechanisms as well as native IPv6 traffic. Translation, prefix translation and tunnelling solve different engineering problems and introduce different security boundaries.

Engineering Principle
Do not treat IPv6 transition technologies as interchangeable.

NAT64 provides IPv6-to-IPv4 communication, NPTv6 performs stateless IPv6-to-IPv6 prefix translation, while GRE can encapsulate traffic across an IPv4 underlay. Their security properties and control points are fundamentally different.

01 · TRANSLATE

NAT64

Allows IPv6-only clients to communicate with IPv4-only destinations through an IPv6-to-IPv4 translation function.

IPv6 Client → NAT64 → IPv4 Server
02 · PREFIX

NPTv6

Provides stateless IPv6-to-IPv6 prefix translation. It can be useful for prefix independence or multihoming designs, but it does not provide IPv4/IPv6 interoperability.

IPv6 Prefix A → NPTv6 → IPv6 Prefix B
03 · TUNNEL

GRE + IPsec

GRE can carry IPv6 traffic across an IPv4 transport network. GRE itself does not provide confidentiality; IPsec can be used to protect the encapsulated traffic.

IPv6 Traffic → GRE → IPsec → IPv4 Underlay
Security Boundary

Every translation or tunnel changes what you can see.

A security device may observe the original IPv6 flow, a translated IPv4 flow, or an encapsulated tunnel depending on where inspection occurs. Logging and policy therefore need to identify the correct enforcement point and preserve enough context to reconstruct the original communication.

Operational Design

Secure the transition mechanism itself.

Translation and tunnelling infrastructure should be treated as part of the security architecture. Restrict management access, monitor unusual translation or tunnel activity, apply appropriate filtering and ensure that security policy remains consistent across both sides of the transition boundary.

Important distinction: IPv6 support for IPsec does not mean IPv6 traffic is automatically encrypted. IPsec is a separate security mechanism that must be deliberately configured and applied to the required traffic or tunnel.
ENGINEERING LAB · SECTION 04 · TRANSITION

IPv6 Transition Architecture Explorer

Follow the packet path through NAT64, NPTv6 or GRE + IPsec. The architecture, address family and security boundary change depending on the transition mechanism selected.
NAT64 ARCHITECTURE READY
TRANSITION MECHANISM
SELECT ARCHITECTURE
01
⇄
NAT64
IPv6-only clients communicate with IPv4 services.
02
⇆
NPTv6
Stateless IPv6-to-IPv6 prefix translation.
03
◈
GRE + IPsec
IPv6 traffic carried through an IPv4 underlay.
LIVE PACKET PATH
▣
IPv6 CLIENT
2001:db8:10::20
◆
NAT64
TRANSLATION BOUNDARY
▤
IPv4 SERVER
192.0.2.40
IPv6 PACKET
TRANSLATION EVENT IPv6 traffic crosses a NAT64 translation boundary before reaching an IPv4 destination.
SECURITY INSPECTOR
ARCHITECTURE ANALYSIS
CURRENT TECHNOLOGY
NAT64
Protocol translation provides IPv6-only clients with access to IPv4 services. The translation point becomes an important security and visibility boundary.
ENGINEERING WARNING
Translation changes visibility
Security controls and telemetry must account for both sides of the translation boundary.
MECHANISM
NAT64
ADDRESSING
IPv6 → IPv4
BOUNDARY
TRANSLATION
SECURITY
INSPECT BOTH SIDES
NAT64
IPv6 → IPv4 Interoperability
Used when an IPv6-only client needs to reach an IPv4 service. The translation device becomes a significant policy and telemetry boundary.
DIFFERENT ADDRESS FAMILIES
NPTv6
IPv6 Prefix Translation
NPTv6 translates one IPv6 prefix to another IPv6 prefix. It is not an IPv4/IPv6 interoperability mechanism.
IPv6 → IPv6 · STATELESS
GRE + IPsec
Tunnel + Protection
GRE can carry IPv6 traffic across an IPv4 underlay. GRE itself provides no confidentiality; IPsec can protect the encapsulated traffic.
TUNNEL ≠ ENCRYPTION
ENGINEERING INTRO · SECTION 05

Security Visibility — Choose the Evidence

Different telemetry sources answer different questions. Select an evidence source to see what it can establish, what it cannot prove, and how it contributes to an investigation.

Select evidence source

NetFlow / IPFIX

FLOW EVIDENCE
Can establish Who communicated, which ports were used, protocol, volume and timing.
Best question Which systems communicated and did the traffic pattern change?
Limitation Flow records normally do not provide the full packet payload.
Investigation use Establish a communication baseline and identify unusual flows.
Evidence value HIGH
Flow evidence is particularly useful for understanding communication relationships at scale.
Engineering principle: visibility is not the same as collecting more data. The useful question is whether the evidence can answer the investigation question.
SECTION 05 · OBSERVE

Network Telemetry & Security Visibility

Prevention alone cannot establish whether a network is behaving as expected. Security operations require evidence from multiple visibility layers: flow records, packet observations, infrastructure telemetry, connection metadata and security events. The objective is to turn raw network activity into an evidence trail that can be investigated.

Engineering Principle
Visibility is not the same as collecting more data.

Effective monitoring means collecting the right evidence at the right observation point and correlating it with topology, identity, policy and application context.

01 · FLOW

NetFlow / IPFIX

Provides flow metadata such as endpoints, ports, protocol, byte counts, packet counts and timing information.

02 · SAMPLE

sFlow

Uses sampling to provide scalable visibility into traffic behaviour and interface activity across large networks.

03 · PACKET

SPAN / Capture

Provides packet-level evidence for deeper protocol analysis and investigation when flow metadata is insufficient.

04 · EVENT

Security Telemetry

Firewall, IDS/IPS, DNS, authentication and endpoint events add context around network behaviour and policy decisions.

What the Network Can Tell You

Flow and telemetry systems may not expose application payloads, but they can still reveal important behavioural signals.

Endpoints Who is communicating with whom?
Ports Which services or protocols are involved?
Volume Has traffic volume changed significantly?
Timing When does the communication occur?

Encrypted Traffic Still Leaves Signals

Encryption protects payload content, but network communication still produces observable metadata. Traffic volume, packet sizes, timing, destinations, connection frequency and DNS activity can contribute to behavioural analysis.

Metadata Addresses, ports and connection patterns remain visible.
Baseline Normal application behaviour provides comparison.
Deviation Unexpected patterns can become investigation signals.
Correlation Multiple weak signals can form stronger evidence.
Engineering Evidence Chain

Observe → Correlate → Baseline → Investigate

A useful security monitoring architecture does not stop at collecting telemetry. Evidence becomes valuable when network observations can be correlated with infrastructure state, identity, policy and application behaviour.

OBSERVE Collect traffic and infrastructure signals.
CORRELATE Connect events across systems and time.
BASELINE Understand expected behaviour.
INVESTIGATE Explain meaningful deviations.
Key takeaway: a security platform becomes more useful when telemetry can answer not only what happened, but also where it happened, what changed, and whether the behaviour was expected.
ENGINEERING LAB · SECTION 05 · OBSERVE

Network Telemetry & Security Evidence Lab

Select a telemetry source, inspect the evidence it provides, then correlate the observation to determine what the network can actually prove.
FLOW TELEMETRY SELECTED
TELEMETRY SOURCES
SELECT EVIDENCE TYPE
01
⇄
NetFlow / IPFIX
Endpoints, ports, protocol, bytes, packets and timing.
02
◌
sFlow
Sampling-based visibility for scalable traffic monitoring.
03
◈
Packet Capture
Packet-level evidence for detailed protocol investigation.
04
!
Security Events
Firewall, IDS/IPS, DNS, authentication and endpoint events.
OBSERVED NETWORK EVIDENCE 01 / 04
SOURCE
10.10.20.15
OBSERVED
DESTINATION
10.20.40.30
OBSERVED
PROTOCOL
TCP / 443
OBSERVED
PATTERN
184 MB / 12 MIN
SIGNAL
EVIDENCE CORRELATION
WHAT CAN WE PROVE?
CORRELATION CONFIDENCE
Current evidence strength
25%
CURRENT FINDING
A communication relationship exists.
Flow telemetry can establish who communicated, where they communicated and characteristics such as protocol, volume and timing.
VISIBILITY LIMIT
Flow records do not provide the complete packet payload. Additional evidence may be required.
FLOW
Metadata at Scale
Strong for endpoint relationships, ports, traffic volume, timing and behavioural baselines.
NETFLOW / IPFIX
SAMPLE
Scalable Observation
Sampling provides broad visibility without requiring every packet to be captured.
SFLOW
PACKET
Detailed Evidence
Packet capture can reveal protocol-level details unavailable from flow records alone.
SPAN / CAPTURE
EVENT
Security Context
Firewall, IDS/IPS, DNS, authentication and endpoint events add investigative context.
CORRELATE
ENGINEERING INTRO · SECTION 06

Behavioural Threat Detection — Investigate the Change

A security event becomes meaningful when it can be compared with normal behaviour. Step through the investigation from baseline to correlated evidence and determine whether the change needs investigation.

Investigation workflow
01
Baseline Understand the normal communication pattern.
02
Detect Identify a meaningful deviation.
03
Correlate Connect multiple independent signals.
04
Investigate Decide whether the change is expected or suspicious.
Investigation evidence
BASELINE
NORMAL BEHAVIOUR

Establish the baseline

The first question is not "is this malicious?" It is whether the observed communication differs from the expected operating pattern.

Observed User → Application over HTTPS
Signal Stable daily pattern
Current conclusion
No deviation established yet. Continue observing the baseline.
Engineering principle: incidents are often detected as changes in behaviour. Baseline first, then correlate the evidence before deciding what happened.
SECTION 06 · INVESTIGATE

Behavioural Threat Detection

Traditional security controls are designed around known policy: permitted destinations, approved services, trusted systems and expected communication paths. Behavioural detection adds another question: does the observed behaviour match the normal operating pattern? This allows security teams to identify suspicious change even when no single packet or rule violation provides the complete answer.

Engineering Principle
Security incidents are often detected as changes in behaviour.

A useful detection model establishes a baseline, identifies meaningful deviations and correlates several weak signals before escalating an event into an investigation.

01 · BASELINE

Know Normal

Understand normal hosts, services, destinations, traffic volumes and communication patterns.

02 · DETECT

Find Change

Identify unusual communication, volume, timing, destinations or access patterns.

03 · CORRELATE

Build Evidence

Combine network, DNS, identity, endpoint and security telemetry to strengthen the signal.

04 · INVESTIGATE

Explain the Change

Determine whether the deviation is expected activity, misconfiguration or evidence of compromise.

Behavioural Signals

Individual observations are rarely enough to establish an incident. Their value increases when several signals point toward the same behavioural change.

Scanning One host contacting an unusual number of destinations or ports.
Lateral Movement New east-west communication between systems that normally do not interact.
Command & Control Repeated outbound connections or unusual destination patterns may warrant investigation.
Data Movement Unexpected changes in transfer volume, destination or communication timing.

IPv4 & IPv6 Behaviour

Dual-stack environments create another investigation dimension. Security teams must determine whether IPv4 and IPv6 exhibit the same expected communication relationships.

IPv4 Path Is the expected IPv4 security policy being enforced?
IPv6 Path Does IPv6 expose an alternate route or service?
NDP Activity Are neighbour and router-discovery events consistent with the topology?
Correlation Does the same host behaviour appear across both protocol stacks?
Engineering Investigation Loop

Baseline → Detect → Correlate → Validate → Respond

Behavioural detection should produce an explainable evidence chain rather than an isolated alert. The investigator starts with the deviation, identifies the affected systems and communication paths, then validates whether the observed behaviour is expected before taking containment or response action.

BASELINE What normally happens?
DETECT What changed?
CORRELATE What other evidence supports it?
VALIDATE Is the activity legitimate?
RESPOND What control should change?
Key takeaway: behavioural security is not simply about generating more alerts. The goal is to identify meaningful changes, connect them to the network data flow and produce enough evidence to explain whether the behaviour represents normal activity, misconfiguration or a genuine security event.
ENGINEERING LAB · SECTION 06 · INVESTIGATE

Behavioural Threat Investigation Console

Security incidents often appear first as changes in behaviour. Build the investigation from baseline to detection, correlation and validation instead of treating a single alert as proof.
BASELINE ESTABLISHED
INVESTIGATION WORKFLOW
BUILD THE EVIDENCE
01
◉
Baseline
Establish expected behaviour.
02
!
Detect
Identify meaningful change.
03
⛓
Correlate
Connect independent signals.
04
◈
Investigate
Explain the observed change.
LIVE INCIDENT TIMELINE
09:10
Normal traffic baseline
Host normally communicates with a small set of internal services over predictable ports.
09:42
New destination observed
The host begins communicating with an endpoint outside its established behavioural baseline.
09:44
IPv6 activity increases
IPv6 flows and NDP activity appear alongside the changed communication pattern.
09:48
Cross-source correlation
Flow telemetry and security events independently support the behavioural deviation.
THREAT ASSESSMENT
CURRENT CONFIDENCE
BEHAVIOURAL SIGNAL
Change detected
A communication pattern has deviated from the established operating baseline.
INVESTIGATION CONFIDENCE
20%
CURRENT FINDING
Baseline established — no incident proven.
A baseline tells the investigator what normal looks like. The next question is whether the observed change is meaningful.
1 · Expected? Is the changed communication part of a legitimate operational activity?
2 · Correlated? Do independent telemetry sources show the same change?
3 · Explained? Can the behaviour be explained by configuration, maintenance or application activity?
SCANNING
Many Destinations
A sudden increase in destination diversity can represent reconnaissance or legitimate discovery activity.
DESTINATION CHANGE
LATERAL MOVEMENT
New Internal Paths
Unexpected east-west communication can indicate a change in the host's normal trust relationships.
EAST-WEST
C2 SIGNAL
Repeated Behaviour
Repeated timing, destination or connection patterns may become significant when correlated with other evidence.
PERIODICITY
DATA MOVEMENT
Volume Deviation
Unusual transfer volume or timing can provide another signal when compared with the established baseline.
VOLUME CHANGE
ENGINEERING INTRO · SECTION 07

Response Decisions — Automate What You Understand

Detection does not automatically justify containment. Select the confidence level and see how the response should become more controlled as evidence becomes stronger.

Evidence confidence

Validate Before Acting

LOW CONFIDENCE
01 Detect
02 Validate
03 Contain
04 Verify
05 Recover
CONTROLLED RESPONSE

Investigate — Do Not Automatically Contain

A single signal is not enough to justify a disruptive policy change. Gather additional evidence and validate the event first.

Recommended action Correlate telemetry and investigate
Automation boundary Human validation required
Engineering principle: automate the response that is understood — not the uncertainty.
SECTION 07 · RESPOND

Security Operations & Automated Response

Detection becomes valuable when it can drive a controlled response. Security operations connect the investigation evidence from the previous sections with enforcement systems such as firewalls, IDS/IPS, access controls, routing policy and endpoint controls. The objective is not to automate every decision, but to make response consistent, explainable and repeatable.

Engineering Principle
Automate the response that is understood — not the uncertainty.

High-confidence, well-defined actions can be automated. Ambiguous events should retain a human investigation step before disruptive controls are applied.

01 · DETECT

IDS / IPS

Identify suspicious traffic and, where appropriate, apply prevention or blocking controls.

02 · CONTAIN

Segmentation

Reduce the reachable attack surface by isolating affected systems or communication paths.

03 · ENFORCE

Policy Change

Update firewall, ACL, routing or access policy when evidence justifies a change.

04 · RECOVER

Restore State

Remove temporary controls and confirm that normal, validated behaviour has returned.

Response Decisions

Response should be proportional to confidence and impact. A suspicious signal does not automatically justify a disruptive network change.

LOW CONFIDENCE Collect additional telemetry and continue investigation.
MEDIUM Increase monitoring, restrict exposure or request analyst validation.
HIGH CONFIDENCE Apply a defined containment action with an auditable change record.
CRITICAL Execute approved emergency containment and escalate immediately.

Human + Automation

Automation is most effective when it operates inside clearly defined guardrails rather than replacing engineering judgement.

TRIGGER A detection reaches a defined confidence threshold.
VALIDATE Confirm affected asset, communication path and policy context.
EXECUTE Apply the approved response through a controlled automation workflow.
AUDIT Record what changed, why it changed and what evidence triggered it.
Engineering Response Loop

Detect → Validate → Contain → Verify → Recover

Automation platforms such as Ansible Automation Platform can orchestrate repeatable operational actions across network and security infrastructure. The important engineering control is the workflow around the automation: evidence, approval boundaries, execution, verification and rollback.

DETECT Identify a meaningful security event.
VALIDATE Confirm the evidence and affected scope.
CONTAIN Apply the minimum required control.
VERIFY Confirm the threat path is controlled.
RECOVER Return the environment to a known-good state.
Key takeaway: effective security operations connect detection to controlled action. The strongest response architecture combines telemetry, human judgement, policy enforcement and automation without allowing an uncertain detection to trigger an uncontrolled network change.
ENGINEERING LAB · SECTION 07 · RESPOND

Security Response Decision Engine

Choose the evidence confidence and proposed response. The engine determines whether the action can be automated, requires human approval, or should remain under investigation.
LOW CONFIDENCE · HOLD
RESPONSE POLICY BUILDER
SELECT CONFIDENCE + ACTION
01
LOW
Weak or incomplete evidence.
02
MEDIUM
Suspicious but requires context.
03
HIGH
Correlated evidence supports action.
04
CRITICAL
Immediate controlled containment.
Monitor
Increase observation without changing network state.
Segment
Restrict communication through a controlled boundary.
Policy Change
Modify a firewall or access-control policy.
Isolate
Apply immediate containment to the affected system.
RESPONSE CONTROL LOOP
DETECT
VALIDATE
EXECUTE
DECISION OUTPUT
POLICY EVALUATION
RECOMMENDED CONTROL
Hold action
Evidence is insufficient for an automated network change. Continue observation and gather additional context.
AUTOMATION: BLOCKED
CONFIDENCE
LOW
ACTION
MONITOR
APPROVAL
REQUIRED
ROLLBACK
AVAILABLE
AUTOMATE THE RESPONSE THAT IS UNDERSTOOD
A suspicious signal should not automatically become a destructive policy change. Validate first.
DETECT
Identify the Signal
Use telemetry and security events to establish what changed before deciding what should happen next.
EVIDENCE
VALIDATE
Confirm the Context
Check whether the behaviour is expected, authorised or already explained by an operational change.
HUMAN JUDGEMENT
EXECUTE
Apply Controlled Action
Automation can apply known response procedures when the evidence and action boundaries are well understood.
AUTOMATION
RECOVER
Verify & Roll Back
Confirm the desired state and preserve a rollback path when changing security policy.
AUDIT / ROLLBACK
ENGINEERING INTRO · SECTION 08

Continuous Security — Validate the Network You Actually Have

Security controls drift as networks change. Explore the assurance loop and see how expected data flows are compared with observed reality across IPv4 and IPv6.

Continuous assurance loop
Current stage MAP

Map the Expected Flow

ASSURANCE 01
DEFINE THE MODEL

Understand the communication relationship

Before validating security, establish which systems should communicate, across which protocol stack and through which control points.

Validation question What communication should exist?
Security focus Define the intended data flow.
IPv4 / IPv6 Model both protocol paths.
Drift signal Unexpected path or service.
Engineering principle: security controls must be continuously validated against the data flow, not simply assumed to remain correct after deployment.
SECTION 08 · VALIDATE

Continuous Security & Assurance

Network security is not a configuration that is completed once and then forgotten. Networks change, applications move, policies evolve and new IPv4 and IPv6 paths appear. Continuous security assurance validates that the intended communication model still matches the observed environment.

Engineering Principle
Security controls must be continuously validated against the data flow.

A policy can be syntactically correct while still being ineffective. Assurance therefore compares intended reachability, enforced controls and observed behaviour.

01 · MAP

Understand the Flow

Identify systems, services, trust boundaries and the communication paths that should exist.

02 · CHECK

Validate Policy

Confirm ACLs, firewalls, segmentation and IPv6 controls enforce the intended relationships.

03 · OBSERVE

Compare Reality

Use telemetry to determine whether actual communication matches the expected security model.

04 · IMPROVE

Close the Gap

Remove unnecessary reachability, improve visibility and update controls as the environment changes.

Continuous Validation Questions

Assurance should turn security policy into measurable engineering questions rather than relying only on configuration review.

REACHABILITY Can systems communicate with destinations they should not reach?
POLICY Does the enforced policy match the documented requirement?
VISIBILITY Can the resulting traffic be observed and investigated?
DUAL STACK Does IPv6 introduce a path that bypasses an IPv4 control?

Security Drift

Security drift occurs when the environment gradually moves away from the intended security model. This can happen through new applications, firewall changes, temporary exceptions, topology changes or previously unknown IPv6 connectivity.

NEW PATH A previously unseen communication relationship appears.
NEW SERVICE A service becomes reachable without an approved requirement.
POLICY GAP A control exists on one protocol stack but not the other.
VISIBILITY GAP Traffic exists but cannot be adequately investigated.
Engineering Assurance Loop

Model → Enforce → Observe → Compare → Improve

The strongest security architecture continuously compares the intended network model with observed behaviour. This turns security from a static collection of rules into an engineering feedback loop.

MODEL Define expected communication and trust.
ENFORCE Apply policy at the appropriate control points.
OBSERVE Collect evidence from actual traffic.
COMPARE Find deviations from the intended model.
IMPROVE Reduce exposure and strengthen controls.
Key takeaway: effective network security is a continuous engineering process. Define the expected data flow, enforce the required controls, observe what actually happens, investigate deviations and continuously validate the security model across both IPv4 and IPv6.
ENGINEERING LAB · SECTION 08 · VALIDATE

Continuous Security Assurance Lab

Compare the intended security model with observed network behaviour. Select a drift condition to see how a change in reachability, service exposure, policy or visibility affects assurance.
SECURITY POSTURE · ASSURED
SECURITY ASSURANCE MODEL
MODEL → ENFORCE → OBSERVE → COMPARE → IMPROVE
CONTROL LIFECYCLE
01
MODEL
Define expected flow
02
ENFORCE
Apply policy
03
OBSERVE
Collect evidence
04
COMPARE
Find deviations
05
IMPROVE
Close the gap
SELECT AN OBSERVED CHANGE
DRIFT-01
New Path
A previously unseen IPv4 or IPv6 communication path appears.
DRIFT-02
New Service
A service becomes reachable outside the intended model.
DRIFT-03
Policy Gap
Observed communication is not represented by an explicit rule.
DRIFT-04
Visibility Gap
Expected traffic exists but monitoring evidence is incomplete.
MODEL
INTENDED
OBSERVED
PATH
Defined
Additional path detected
POLICY
Explicit
Review required
VISIBILITY
Observable
Correlation required
ASSURANCE RESULT
CONTINUOUS VALIDATION
SECURITY ASSURANCE
82%
ASSURED
CURRENT FINDING
Communication path requires validation
The observed environment contains a path that should be compared against the intended communication model.
IPv4 POLICY
ALIGNED
IPv6 POLICY
ALIGNED
OBSERVABILITY
AVAILABLE
DRIFT
DETECTED
VALIDATE BEFORE CHANGING POLICY
A deviation is evidence for investigation, not automatic proof that the existing policy is wrong.
REACHABILITY
Can It Communicate?
Validate whether the observed IPv4 and IPv6 paths match the intended communication relationships.
DATA FLOW
POLICY
Is It Explicit?
Every expected relationship should map to an understandable ACL, firewall, segmentation or access-control decision.
ENFORCEMENT
VISIBILITY
Can We Prove It?
Flow, packet, security and infrastructure telemetry should provide enough evidence to explain important changes.
EVIDENCE
DUAL STACK
Check Both Paths
IPv6 must not become an unintended alternate route around an IPv4 security policy.
IPV4 + IPV6
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
Enterprise Isometric Internet security firewall protection information

Network Security Components

ENGINEERING GUIDE · NETWORK SECURITY

Network Security Components — From Isolated Controls to an Integrated Security Fabric

Modern network security is not a single appliance or perimeter. It is a coordinated system of identity, access control, segmentation, inspection, endpoint protection, cloud controls, telemetry and response. The engineering challenge is understanding how these components work together to make — and validate — security decisions.

!
Engineering Observation A security component is only useful when we understand the decision it makes, the evidence it uses, where it is enforced, and how it connects to the rest of the architecture.
01 · IDENTITY

Establish Trust

Determine who or what is requesting access and establish the context required for a security decision.

02 · CONTROL

Enforce Policy

Apply authentication, authorization, ACLs, firewalls and segmentation to control permitted communication.

03 · INSPECT

Detect Threats

Inspect traffic, applications, endpoints and behaviour using IDS/IPS, NDR, WAF and endpoint controls.

04 · CORRELATE

Drive Response

Combine identity, network, endpoint and application telemetry so suspicious behaviour can be investigated and acted upon.

Security Decision Flow
IDENTITY
→
ACCESS
→
SEGMENT
→
INSPECT
→
PROTECT
→
OBSERVE
→
RESPOND
Engineering View

A security architecture is a decision system, not simply a collection of security appliances.

Identity Device Network Application Data Telemetry
Core Engineering Question

Can we prove that every security decision is intentional, visible and connected to the rest of the defence system?

Components Covered
Firewalls IDS / IPS NDR Identity NAC Segmentation EDR / XDR DLP VPN ZTNA SWG DNS Security CASB SIEM SOAR SASE
Interactive Security Architecture

Network Security Components

Security is not a single firewall. Modern protection combines identity, segmentation, inspection, endpoint controls and centralized intelligence. Select a layer to see its role in the security architecture.

Architecture Status
● DEFENDED
01
ID
Identity
Authentication, MFA and authorization
02
AC
Access Control
AAA, NAC and policy enforcement
03
FW
Firewall
Stateful inspection and filtering
04
SG
Segmentation
Macro and micro-segmentation
05
ID
IDS / IPS
Detection and threat prevention
06
EP
Endpoint
EDR, malware and workload security
07
SI
SIEM / SOAR
Correlation, visibility and response
Selected Component
Identity Security
Identity becomes the first security decision. Authentication verifies who or what is requesting access, while authorization determines what that identity is permitted to access.
MFA AAA Zero Trust Authorization
Security Mode
Protection Coverage 86%
Identity
OK
Firewall
ON
IDS
ON
SIEM
LIVE
Interactive Network Security Component

Firewall & Security Placement Explorer

Security controls work best when each layer protects a different part of the attack surface. Explore where firewalls, IDS/IPS, segmentation and application controls fit into a modern security architecture.
External
→
Perimeter
→
Internal
→
Workload
REQUEST
INSPECT
ENFORCE
WORKLOAD
FW
Firewall
Policy enforcement point

Controls traffic according to security policy and creates an enforcement boundary between trusted and untrusted zones.

Primary role Allow / deny traffic
Visibility Flows, sessions and policy
Placement Internet / internal boundary
Security value Defense in depth
SECURITY DECISION
A firewall should enforce the policy at the boundary where traffic crosses security zones.

Why placement matters

A single perimeter firewall cannot provide complete protection once an attacker reaches the internal network. Additional controls reduce lateral movement and protect individual workloads and applications.

MACRO

Protects larger network zones such as Internet, DMZ, user and server segments.

MICRO

Applies granular controls around individual workloads, applications or identities.

INTERACTIVE SECURITY ARCHITECTURE

How the Security Components Connect

Select an architectural layer to see the security decision it makes, the evidence it requires and the controls commonly deployed there.

ARCHITECTURE ACTIVE
Security Decision Chain · Select a Layer
LAYER 01 · TRUST

Identity Security

Identity establishes the context behind a connection. Modern security decisions increasingly consider the identity, device and session rather than relying only on network location.

Who is requesting access?
Identity, authentication state, device and session context
Authentication establishes identity; authorization determines what that identity may access.
MFA AAA RBAC ZTNA
Architecture Model
LAYERED
Primary Objective
CONTROL
Evidence Model
CORRELATED
SECTION 01 · DEFINE · TRUST BOUNDARY LAB

Map the Security Decision

A security architecture starts by understanding the relationship between the requester, the identity context, the destination and the boundary where policy is enforced. Change the variables and observe how the decision path changes.

Source
Identity Context
Destination
Boundary
Engineering Principle

Trust should be explicit. The network location alone should not automatically determine whether a request is safe.

01 · Source
Remote User Request origin
→
02 · Identity
Trusted Identity Authentication context
→
03 · Boundary
Identity-Aware Access Policy enforcement
→
04 · Destination
Internal Application Requested resource
Authenticated
Trusted posture
Application resource
Identity-aware enforcement
Low contextual risk
Least privilege
ALLOW
Identity, device and destination context provide sufficient evidence for the requested application access.
Decision Confidence 88%
16:00:01 [ARCH] Security decision engine initialised.
16:00:02 [AUTH] Identity context available.
16:00:03 [POLICY] Waiting for scenario evaluation.
ENGINEERING MODEL · NETWORK SECURITY

Security Is a System of Connected Decisions

Modern network security is not one firewall or one perimeter. It is a coordinated system in which identity, access, segmentation, inspection, protection and telemetry work together to control communication and reduce the attack surface.

01 · IDENTITY Establish Trust Understand who or what is requesting access and the context surrounding the request.
02 · CONTROL Enforce Policy Apply authentication, authorization, firewall and access policies at the appropriate boundary.
03 · INSPECT Understand Traffic Inspect network and application behaviour to identify unwanted or suspicious activity.
04 · CORRELATE Drive Response Combine security evidence so decisions can be investigated, explained and acted upon.
Identity
→
Access
→
Segmentation
→
Inspection
→
Protection
→
Telemetry
→
Response
01 · DEFINE · SECURITY ARCHITECTURE

Security Architecture & Trust Boundaries

Security begins by defining what is trusted, what is exposed, what is being accessed and where security decisions are enforced. The objective is not simply to deploy more controls, but to place the right control at the right point in the communication path.

A modern environment may contain users, endpoints, workloads, cloud services, branches and applications distributed across multiple networks. These systems cannot be protected effectively by treating the traditional Internet edge as the only security boundary.

Instead, security architecture creates a series of decision points. Identity establishes context, access controls determine whether communication should proceed, segmentation limits the reachable attack surface, and inspection and protection controls examine what happens after access has been permitted.

The security decision path

From request to protected workload
01 Identity Who is requesting?
→
02 Access What is permitted?
→
03 Segmentation Where can it go?
→
04 Inspection What is happening?
→
05 Protection What must be protected?
→
06 Telemetry What evidence exists?

Where are the trust boundaries?

A trust boundary is the point where the security assumptions about a connection, identity, device or workload change. The boundary may exist between the Internet and an organization, between a user and an application, between network segments or directly around an individual workload.

01 · EXPOSURE External Environment Internet users, remote systems, third-party services and other untrusted sources represent the outer attack surface.
02 · ACCESS Identity & Policy Authentication, authorization and contextual policy determine whether a request should receive access.
03 · ENFORCEMENT Security Boundary Firewalls, segmentation, access controls and inspection points enforce the architecture's security policy.
04 · ASSET Application & Data The final objective is protecting workloads, applications and data while preserving legitimate communication.

Four questions every architecture should answer

01
Who is requesting? Identify the user, device, workload or service and establish the relevant context.
02
What should be allowed? Determine which application, destination, service or resource the requester is permitted to access.
03
Where is it enforced? Place enforcement at an appropriate network, identity, workload or application boundary.
04
How do we know? Generate sufficient telemetry to explain the decision and investigate unexpected behaviour.
Engineering evidence
A security boundary must have a decision behind it

Simply placing a firewall, NAC system or segmentation control between two networks does not automatically create effective security. The architecture should identify what the boundary protects, what policy governs communication across it, what evidence supports the decision and what happens when the expected behaviour changes.

Security components form layers, not isolated products

Identity Layer
Establish context
Authentication, MFA, authorization and identity-aware policy establish who or what is requesting access.
Network Layer
Control reachability
Firewalls, ACLs, NAC and segmentation restrict which systems, networks and services can communicate.
Workload Layer
Protect the asset
Endpoint, application, workload and data controls provide protection closer to the resource being accessed.
Inspection Layer
Understand behaviour
IDS/IPS, NDR and application-aware inspection provide deeper visibility into traffic and behaviour.
Data Layer
Protect information
Encryption, DLP and application controls help protect sensitive data as it moves through the environment.
Intelligence Layer
Correlate evidence
Telemetry, SIEM and response workflows connect individual security signals into an operational picture.
Section 01 · Engineering Principle
A security architecture is a decision system, not a collection of appliances.

The strongest architectures make the security decision path explicit: identify the requester, understand the resource, determine the required level of trust, enforce policy at the appropriate boundary and generate evidence that allows the outcome to be verified. The remaining security components in this guide build on that foundation.

01 · DEFINE · SECURITY ARCHITECTURE

Security Architecture & Trust Boundaries

Step through a security decision from identity to enforcement and observe where trust is established, where policy is applied and where evidence is generated.
Ready
Live Security Decision Path
0 / 6
◉
USER
Identity
Request
◎
IDENTITY
Authentication
Trust
◇
ACCESS
Policy
Authorization
▣
WORKLOAD
Application
Data
Architecture principle: security is not one control. A request moves through multiple decision points where identity, context, policy and enforcement can each change the outcome.
Architecture Inspector
Click an architecture component to inspect its security responsibility.
Security Role
Current decision
Identity Unknown
Device trust Unknown
Authorization Pending
Enforcement Pending
Evidence None
Control Health
Live
IDENTITY
Authentication
READY
ACCESS
Authorization
READY
ENFORCEMENT
Policy control
READY
Decision Evidence
Live
Signal Value
Identity Pending
Device Pending
Policy Pending
Outcome Pending
Security Decision Timeline
Identity → enforcement
01
IDENTITY
User presents an identity to begin the access request.
02
AUTH
Authentication verifies whether the claimed identity can be trusted.
03
CONTEXT
Device and request context are evaluated before authorization.
04
POLICY
Authorization determines what the authenticated identity is permitted to access.
05
ENFORCE
A network, application or workload control enforces the decision.
06
EVIDENCE
Telemetry records the decision so it can be investigated later.
Architecture Telemetry
Live interpretation
Current Event
Press Step Forward to begin
Investigation Progress
Engineering takeaway: a security architecture should connect identity, policy, enforcement and telemetry rather than treating each control as an isolated product.
ENGINEERING MODEL · ACCESS CONTROL

Control Who Can Communicate With What

Access control turns security architecture into enforceable policy. Authentication establishes identity, authorization determines what that identity may access, and network controls enforce those decisions at appropriate boundaries.

01 · AUTHENTICATE Verify identity Establish that the user, device, workload or service is who it claims to be.
02 · AUTHORIZE Determine access Decide which resources, applications and services the requester is permitted to use.
03 · ENFORCE Apply policy Use ACLs, firewalls, NAC and other controls to enforce the security decision.
04 · ACCOUNT Record evidence Maintain useful audit and telemetry information so access decisions can be investigated later.
Identity
→
Policy
→
Firewall / ACL
→
Application
→
Audit
02 · CONTROL · ACCESS & FIREWALL ENFORCEMENT

Access Control & Firewall Enforcement

Once the security architecture defines its trust boundaries, the next requirement is enforcement. Access control determines who or what may communicate with a resource, while firewalls and related controls enforce that policy against actual network traffic.

This distinction is important. Authentication answers whether an identity has been established. Authorization answers what that identity is allowed to do. Enforcement is the point where the resulting policy is applied to a real connection, request or flow.

Effective access control therefore combines identity, context, policy and enforcement rather than relying on a single allow or deny rule.

From identity to enforcement

The access-control decision path
01 Identity User / Device / Workload
→
02 Authentication Establish identity
→
03 Authorization Determine permission
→
04 Enforcement Apply policy
→
05 Telemetry Record outcome

Authentication, authorization and accounting

AAA provides a useful conceptual model for access control. Authentication establishes identity, authorization determines permitted actions and accounting records relevant activity for auditing and investigation.

A · AUTHENTICATION
Who are you?
Credentials, certificates, MFA and other mechanisms can establish the identity of a user, device or service.
A · AUTHORIZATION
What can you do?
Policy determines which resources, applications, services or actions the authenticated identity is permitted to access.
A · ACCOUNTING
What happened?
Access and activity records provide evidence for auditing, troubleshooting and security investigation.

Where firewalls fit

Firewalls provide an enforcement point for network security policy. They can evaluate characteristics such as source and destination, protocol, ports, connection state and, depending on the platform, application or user context.

The important engineering question is not simply whether a firewall is present. It is whether the firewall is positioned where the required decision can actually be made and whether its policy matches the intended trust boundary.

Network enforcement
Packet & state policy
ACLs and stateful firewalls can control traffic according to addresses, protocols, ports and connection state.
Context-aware control
Identity & application
Modern platforms may combine network attributes with identity, application and other contextual information when enforcing policy.
Application boundary
WAF protection
A web application firewall focuses specifically on HTTP and HTTPS application-layer requests rather than acting as a general network firewall.

Good security policy is explicit

A well-designed policy should make its intent clear. The engineer should be able to identify the source, destination, service, identity or context where relevant, the expected action and the reason the communication is permitted.

01
Least privilege

Permit only the access required for the intended function. Broad connectivity should not become the default simply because it is operationally convenient.

02
Explicit policy

Rules should describe an intentional security requirement rather than becoming an accumulation of undocumented exceptions.

03
Context matters

Identity, device posture, application, location and risk can provide useful context beyond a simple source and destination address.

04
Evidence matters

Access decisions should generate sufficient telemetry to determine what was permitted, denied and why the decision occurred.

Engineering evidence
An allow rule is a security decision

Every permitted connection creates an exposure. The engineering task is therefore to understand why that connection is allowed, what boundary controls it, what identity or context is associated with it and how the resulting activity will be observed. Security policy should be explainable before it is deployed.

Access control becomes stronger when the layers agree

Identity should not have to operate independently from network policy. Authentication and authorization establish context, while firewalls, ACLs, NAC and segmentation provide enforcement. Endpoint and application controls add further protection closer to the resource.

This creates a layered model in which a single failure does not automatically provide unrestricted access to the rest of the environment. The architecture becomes progressively more difficult to bypass because different controls make different decisions at different points.

Section 02 · Engineering Principle
Authentication establishes identity. Authorization defines permission. Enforcement controls the communication.

Effective access control connects those three concepts with useful telemetry. The goal is not simply to create more rules, but to ensure that every important communication has an intentional policy, an appropriate enforcement point and enough evidence to explain the resulting decision.

02 · CONTROL · ACCESS & FIREWALL ENFORCEMENT

Access Control & Firewall Policy Builder

Build a security decision from identity, device context and destination. Step through the policy chain and see where authorization becomes enforcement.
Policy Ready
Live Policy Evaluation
0 / 6
Identity
Who is requesting access?
Device Trust
Can the endpoint be trusted?
Destination
What is being accessed?
◉
IDENTITY
Authentication
◇
CONTEXT
Device / Risk
▤
POLICY
Authorization
◈
FIREWALL
ACL / State
PENDING
Waiting for policy evaluation
Configure the request and press Step Forward.
Decision Inspector
Live
Identity Pending
Authentication Pending
Device Pending
Destination Pending
Decision Pending
Control Stack
Security enforcement
AAA / Identity
READY
Authentication verifies the security principal.
Authorization
READY
Identity and context are evaluated against policy.
Firewall / ACL
READY
The resulting decision is enforced on traffic.
Policy Evaluation Timeline
Identity → enforcement
01
IDENTITY
The request arrives with a claimed identity.
02
AUTH
Authentication verifies the identity.
03
CONTEXT
Device posture and destination are evaluated.
04
POLICY
Authorization calculates permit or deny.
05
FIREWALL
Firewall or ACL enforcement applies the decision.
06
OUTCOME
Access is either permitted or blocked.
Policy Telemetry
Live interpretation
Current Event
Configure a request and press Step Forward
Evaluation Progress
Engineering takeaway: authentication establishes identity; authorization determines permission; enforcement makes that decision real.
ENGINEERING MODEL · NETWORK SEGMENTATION

Contain the Attack Surface

Segmentation limits how far a user, device, workload or compromised system can communicate. Instead of treating the network as one trusted space, security boundaries divide it into controlled zones with explicit communication requirements.

01 · DEFINE Create zones Group systems according to function, trust level, sensitivity or business requirement.
02 · LIMIT Reduce reachability Prevent systems from communicating simply because they share network connectivity.
03 · CONTROL Permit required flows Define which applications, services and workloads are allowed to communicate across boundaries.
04 · CONTAIN Limit compromise A compromised system should have limited paths to other sensitive resources.
User Zone
→
Application Zone
→
Data Zone
→
Management Zone
03 · SEGMENT · CONTAIN THE ATTACK SURFACE

Network Segmentation & Workload Boundaries

Access control determines whether communication is permitted. Segmentation determines how much of the environment a system can reach in the first place. By creating explicit boundaries between systems with different trust, sensitivity or operational roles, the potential impact of a compromise can be reduced.

A flat network creates unnecessary reachability. If every endpoint, server and workload can communicate freely with every other system, a compromised device may have many possible paths toward more valuable resources.

Segmentation changes that model by introducing controlled boundaries. Communication between zones becomes intentional rather than an automatic consequence of network connectivity.

The segmentation model

Controlled communication between security zones
01 · USER User / Endpoint Zone Workstations, managed devices and user-facing systems that require controlled access to applications.
→
02 · APPLICATION Application Zone Business applications and services exposed only through the communication paths they actually require.
→
03 · DATA Data / Sensitive Zone Databases and sensitive resources protected behind additional policy and tightly controlled access paths.

Macro-segmentation and micro-segmentation

Segmentation can operate at different levels. Macro-segmentation creates larger security zones such as user, server, management and data networks. Micro-segmentation applies more granular policy around individual workloads, applications or groups of systems.

Macro-segmentation
Separate major trust zones
Large security boundaries provide a straightforward way to separate environments according to function, sensitivity or trust.
Example: User → Server → Database → Management
Micro-segmentation
Control workload-to-workload access
More granular controls can restrict communication between individual workloads or application tiers even when those workloads share an underlying network or cluster.
Example: Web Tier → API Tier → Database Tier

East-west traffic matters

Traditional perimeter security focuses heavily on north-south traffic entering or leaving an environment. Modern workloads also generate large amounts of east-west traffic between systems inside the environment.

If internal communication is implicitly trusted, an attacker who gains access to one workload may be able to move laterally toward other systems. Segmentation introduces additional policy decisions into this internal communication path.

Example workload boundary model
Tier 01 Web Front End Public-facing application component with controlled downstream access.
Tier 02 Application API Business logic reachable only from explicitly permitted application sources.
Tier 03 Database Sensitive data service with narrowly defined application access.
Tier 04 Management Administrative systems isolated from normal application traffic.

Segmentation requires explicit policy

01 · SOURCE Who initiates? Identify the system, workload, user or service generating the communication.
02 · DESTINATION What is reached? Determine which zone, workload, application or data resource is being accessed.
03 · SERVICE What is required? Define the protocol, port, application or service that actually needs to communicate.
04 · DECISION Should it cross? Permit only the communication required by the application's intended architecture.

Designing useful boundaries

01
Separate by sensitivity

Systems holding more sensitive information should not automatically inherit the same connectivity as ordinary workloads.

02
Separate by function

User, application, database and management systems often have different communication requirements and should be treated accordingly.

03
Minimise lateral paths

Restrict unnecessary east-west communication so compromise of one system does not automatically expose neighbouring workloads.

04
Make exceptions visible

Required cross-zone communication should be documented, intentional and observable rather than hidden inside broad connectivity rules.

Engineering evidence
Segmentation reduces reachability — it does not replace inspection

A segmentation boundary limits where traffic can travel, but it does not automatically determine whether permitted traffic is malicious. Segmentation therefore works alongside firewalls, identity controls, inspection and endpoint protection rather than replacing them.

Section 03 · Engineering Principle
Containment begins by controlling reachability.

A well-segmented environment assumes that connectivity should be intentional. Macro-segmentation establishes major trust boundaries, while micro-segmentation can provide more granular workload controls. Together they reduce unnecessary lateral paths and limit the potential impact of a compromised system.

ENGINEERING MODEL · THREAT INSPECTION

Inspect the Traffic That Crosses Your Boundaries

Segmentation controls where traffic can travel. Inspection determines what that traffic is doing. Modern security architectures combine prevention, detection, behavioural analysis and application-aware controls at appropriate points in the traffic path.

01 · FILTER Enforce policy Firewalls determine whether traffic matches an explicitly permitted communication policy.
02 · DETECT Identify threats IDS and NDR analyse traffic and behaviour for indicators of malicious or abnormal activity.
03 · PREVENT Block activity IPS can actively prevent traffic when configured detection and policy conditions are met.
04 · PROTECT Inspect applications WAF controls HTTP and HTTPS application traffic using application context rather than treating all traffic as generic packets.
Traffic
→
Policy
→
Detection
→
Prevention
→
Evidence
03 · SEGMENT · CONTAIN THE ATTACK SURFACE

Network Segmentation Investigation Lab

Follow a communication attempt across identity, access and workload boundaries. Change the segmentation policy and observe where the traffic is allowed or stopped.

SCENARIO Employee → Application
SEGMENTATION ENFORCED
STEP 0 / 6
LIVE SEGMENTATION TOPOLOGY Waiting for traffic
USER / ACCESS ZONE
WORKLOAD ZONE
USER
Employee
Trusted device
NAC
Identity + posture
SEGMENT
Policy enforced
WORKLOAD
Application zone
Traffic path: waiting for inspection
EVENT TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Event No event processed.
Security Principle Segmentation limits unnecessary communication paths.
Investigation Finding No finding yet.
04 · INSPECT · DETECT & PREVENT THREATS

Threat Inspection: IDS, IPS, NDR & WAF

Network inspection adds another layer of security between connectivity and trust. A firewall can enforce whether communication is permitted, while detection and prevention technologies examine permitted traffic for indicators of attack, abnormal behaviour or application-level exploitation.

These controls perform different jobs. IDS primarily detects and alerts. IPS can actively block or prevent traffic when its detection and policy conditions are met. NDR focuses on network behaviour and communication patterns, while a WAF is designed specifically to protect web applications at the HTTP and HTTPS application layer.

The inspection pipeline

From connectivity to security evidence
01 · FLOW Traffic arrives A user, workload or external system initiates communication toward a permitted destination.
→
02 · POLICY Firewall decision Network policy determines whether the communication should be allowed, denied or otherwise handled.
→
03 · DETECT Threat analysis IDS, IPS or NDR can evaluate traffic, protocols and behavioural indicators.
→
04 · EVIDENCE Record the signal Alerts, flow records and other telemetry provide evidence for investigation and correlation.

Detection is not the same as prevention

IDS · Detect
Identify suspicious activity
An intrusion detection system analyses traffic or events and generates alerts when configured indicators or behavioural conditions are observed.
IPS · Prevent
Act on detected threats
An intrusion prevention system can take an enforcement action against traffic when a detection matches configured prevention policy.
NDR · Behaviour
Understand communication patterns
Network detection and response looks for suspicious communication behaviour and relationships across network activity rather than relying only on individual signatures.

Where the inspection technologies fit

IDS
Intrusion Detection

Useful when visibility and alerting are required without the inspection system directly blocking the traffic path.

IPS
Intrusion Prevention

Adds an enforcement capability where detected traffic can be blocked or otherwise prevented according to policy.

NDR
Network Detection & Response

Builds a broader view of network behaviour, helping analysts identify unusual relationships, lateral movement and anomalous communication.

WAF
Web Application Firewall

Applies application-layer controls to HTTP and HTTPS traffic, protecting web applications from classes of application attacks.

Application-layer inspection

Network controls and application controls operate at different levels. A firewall may determine whether a connection between two systems is permitted, while a WAF can inspect the HTTP request itself and apply application-specific security rules.

Client Browser or application initiating the HTTP(S) request.
Web Application Firewall Inspects application-layer requests and applies web security policy before forwarding permitted traffic.
Application Web service receiving the request after policy evaluation.

Engineering inspection principles

01 · VISIBILITY Inspect the right traffic Place controls where meaningful traffic can be observed without creating unnecessary blind spots.
02 · CONTEXT Use more than packets Useful detection can combine addresses, ports, protocols, identities, application context and behavioural patterns.
03 · ACTION Match response to confidence Detection, alerting and blocking should be aligned with the confidence of the finding and the operational risk.
04 · EVIDENCE Preserve the signal Inspection becomes more valuable when its alerts and telemetry can be correlated with identity, endpoint and other security evidence.
Engineering evidence
Inspection only works when the traffic and context are visible

A security control cannot reliably detect what it cannot observe. Encrypted traffic, distributed workloads, cloud services and changing application architectures therefore make visibility, telemetry and appropriate inspection placement critical parts of the design.

Section 04 · Engineering Principle
Allowing traffic does not mean trusting it.

Firewalls control communication policy, IDS provides detection, IPS adds prevention, NDR analyses network behaviour and WAF protects application-layer traffic. Used together, these controls provide multiple inspection points between connectivity and the final security decision.

04 · INSPECT · DETECT & PREVENT THREATS

Threat Inspection Pipeline

Follow a traffic flow through multiple security inspection layers. Each control answers a different question: can the traffic pass, does it contain a known threat, does its behaviour look suspicious, and is the application request safe?

TRAFFIC Web Request
INSPECTION READY
STAGE 0 / 6
LIVE INSPECTION PIPELINE Waiting for traffic
SOURCE
User / Device
FIREWALL
Policy / State
IDS / IPS
Threat signatures
NDR
Behaviour
WAF
HTTP / App
Traffic path: waiting for inspection
INSPECTION TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Event No inspection event processed.
Control Function Waiting for traffic.
Investigation Finding No threat finding yet.
ENGINEERING MODEL · ENDPOINT & DATA PROTECTION

Protect the Endpoint and the Data It Handles

Network controls cannot provide complete protection once a workload, endpoint or application becomes the target. Security therefore extends to the systems themselves, the data they process and the cryptographic controls protecting information in transit and at rest.

01 · ENDPOINT Protect the device EPP and EDR provide prevention, detection and investigation capabilities directly on endpoints and workloads.
02 · DATA Control sensitive information DLP and data-aware policies help reduce inappropriate movement or exposure of sensitive information.
03 · TRANSIT Encrypt communication TLS, VPNs and other cryptographic mechanisms protect information while it moves between systems.
04 · ASSURE Validate posture Security controls should provide evidence that endpoints and data protections remain appropriately configured.
Endpoint
→
Application
→
Data
→
Encryption
→
Evidence
05 · PROTECT · ENDPOINTS, DATA & ENCRYPTION

Endpoint, Data & Encryption Protection

Network security does not end at the network boundary. The endpoint executes the workload, the application processes the information and the data itself may remain valuable even when network controls are operating correctly. Protection therefore needs to extend across the systems and information being defended.

Endpoint protection provides controls close to the workload. EPP can provide preventative protection, while EDR provides telemetry and investigation capabilities for suspicious endpoint activity. XDR can extend correlation across multiple security domains where supported.

Data protection adds another perspective. DLP can help identify and control inappropriate movement of sensitive information, while encryption protects information from unauthorised disclosure when data is stored or transmitted.

The protection stack

Protection follows the workload and the information
01 · DEVICE Endpoint Establish a security control point close to the system executing the workload.
→
02 · APPLICATION Process Monitor application and process activity that may indicate compromise or misuse.
→
03 · DATA Information Apply appropriate controls to sensitive information regardless of where the data is processed.
→
04 · EVIDENCE Telemetry Feed endpoint and data security signals into wider investigation and correlation workflows.

Endpoint protection is a local security boundary

EPP · Endpoint Protection Platform
Prevent common endpoint threats
Endpoint protection can provide preventative controls against malware and other known threats, alongside additional host security capabilities.
Prevention happens close to the workload rather than relying entirely on network inspection.
EDR · Endpoint Detection & Response
Investigate what the endpoint is doing
EDR collects endpoint telemetry that can help security teams investigate processes, files, connections and other indicators of suspicious activity.
Detection becomes more useful when endpoint evidence can be correlated with network and identity signals.

Endpoint controls should produce evidence

01 · POSTURE Is the device protected? Security status, configuration and protection state provide useful context for access decisions.
02 · PROCESS What is executing? Process activity can reveal behaviour that is invisible from network addresses alone.
03 · CONNECTION Where is it communicating? Endpoint connection telemetry can be correlated with network and application activity.
04 · RESPONSE Can it be contained? Security operations may need to isolate or otherwise contain a compromised endpoint.

Encryption protects information in transit

Encryption changes the security properties of communication by making captured traffic substantially less useful to an unauthorised observer. TLS is commonly used to protect application sessions, while VPN technologies can create encrypted tunnels across otherwise untrusted networks.

Simplified encrypted communication model
Source Application or endpoint generating the protected information.
→
TLS / VPN Protection Cryptographic protection is applied to the communication path according to the protocol and architecture being used.
→
Destination Intended application or endpoint receives the protected session.

Encryption is not the same as access control. A correctly encrypted connection can still be made by an unauthorised identity if authentication and authorization controls are weak. Encryption protects the information in transit; identity and policy determine who should be allowed to access it.

Protecting sensitive data

CLASSIFY Know what matters Security policy becomes more useful when sensitive information can be identified and assigned appropriate handling requirements.
CONTROL Limit movement DLP and access controls can help prevent sensitive information from being transferred through inappropriate channels.
PROTECT Use encryption Encryption can protect information during transport and, where implemented, while stored.
Engineering evidence
Security must follow the data, not just the network

Modern applications move across endpoints, data centres, cloud platforms and remote access environments. A security architecture that protects only the network path can therefore miss activity occurring directly on the endpoint or around the data itself.

Section 05 · Engineering Principle
Protect the system, the information and the communication between them.

Endpoint security provides local protection and telemetry. DLP helps control sensitive information, while encryption protects data during transport and storage when appropriately implemented. Together these controls extend the security architecture beyond the network boundary and closer to the actual workload and data.

05 · PROTECT · ENDPOINTS, DATA & ENCRYPTION

Endpoint & Data Protection Console

Security does not stop at the network boundary. Follow an endpoint and the data it handles through device posture, process activity, data protection, encryption and security evidence.

ASSET Managed Endpoint
PROTECTION READY
STAGE 0 / 6
PROTECTION STACK Waiting for asset
01 · ENDPOINT POSTURE
Device state, patching, security controls
READY
02 · PROCESS CONTROL
Process behaviour and endpoint detection
READY
03 · DATA PROTECTION
Classification, access and DLP controls
READY
04 · ENCRYPTION
TLS / VPN protection for data in transit
READY
05 · SECURITY EVIDENCE
Logs, telemetry and response context
READY
PROTECTION TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Control No control evaluated.
Security Function Waiting for the protection workflow.
Investigation Finding No finding yet.
ENGINEERING MODEL · CLOUD & REMOTE ACCESS

Secure Access Across a Distributed Environment

Users, applications and workloads increasingly connect from locations outside the traditional enterprise perimeter. Secure access therefore needs to combine identity, device context, encrypted connectivity and application-aware security controls.

01 · IDENTITY Verify the user Authentication establishes who is requesting access before a protected service is exposed.
02 · ACCESS Reach the application ZTNA and other access controls can restrict users to the applications they are authorised to use.
03 · PROTECT Secure the session VPN, TLS, SWG and DNS security provide protection around remote communication and internet access.
04 · CORRELATE Keep the evidence Access and security events should feed broader monitoring and investigation workflows.
User / Workload
→
Identity
→
Access Policy
→
Cloud / App
→
Telemetry
06 · CONNECT · SECURE CLOUD & REMOTE ACCESS

Secure Cloud, Internet & Remote Access

The traditional enterprise perimeter becomes less useful when users work remotely, applications move into cloud platforms and services are consumed directly from the internet. Security controls therefore need to follow the identity, device and application rather than assuming that everything important exists behind one physical firewall.

VPN remains useful when an encrypted tunnel to a private network is the appropriate access model. Zero Trust Network Access takes a different approach by providing identity- and application-aware access without necessarily placing the user onto the entire network.

The secure access journey

Identity and policy follow the connection
01 · REQUEST User or workload A user, endpoint or workload requests access to an internal, cloud-hosted or internet service.
→
02 · IDENTITY Verify context Authentication and policy establish whether the requesting identity should receive access.
→
03 · CONTROL Apply access policy ZTNA, VPN or other controls determine the permitted connectivity model.
→
04 · SERVICE Reach the application Access is provided to the intended service rather than assuming unrestricted network trust.

VPN and ZTNA solve different access problems

VPN · Encrypted Network Connectivity
Create a protected tunnel
A VPN can provide encrypted connectivity across an untrusted network and, depending on its design, provide access to a private network or defined network resources.
Typical model: Remote user → VPN tunnel → Private network
ZTNA · Application-Aware Access
Connect the user to the service
ZTNA can use identity and contextual policy to provide access to authorised applications without necessarily exposing the underlying network to the user.
Typical model: User → Identity Policy → Application

Cloud security is a collection of control functions

Cloud and internet security is rarely one product. Different control functions address different parts of the access path, including web traffic, DNS resolution, SaaS usage and identity-aware application access.

01 · SWG Secure Web Gateway Applies security policy to web access and can provide inspection, filtering and visibility for internet-bound traffic.
02 · DNS DNS Security Uses DNS requests as a policy and detection point, including blocking known malicious or inappropriate destinations where configured.
03 · CASB Cloud Access Security Broker Provides visibility and policy controls around the use of cloud applications and services.
04 · SASE Distributed Security Model SASE combines networking and security functions as a cloud-delivered architectural model for distributed users and locations.

Choosing the control point

Scenario
Primary question
Useful control
Security focus
Remote private access
Should this user reach the private environment?
VPN / ZTNA
Identity + access policy
Internet browsing
Should this destination be reachable?
SWG / DNS security
Web + destination policy
SaaS usage
How is the cloud service being used?
CASB
Application + data policy
Distributed workforce
Where should security policy execute?
SASE functions
Distributed enforcement

SASE as an architectural model

User / Branch Distributed users, branch locations and devices generating network requests.
SASE Security Functions Networking and security capabilities delivered closer to distributed users and applications, according to the architecture.
Cloud / Internet SaaS, public cloud and internet applications accessed through the controlled service path.

Secure access principles

01 · IDENTITY Start with the requester Access decisions should establish who or what is requesting the service before assuming trust.
02 · APPLICATION Expose what is required Where possible, access should be scoped to the application or service rather than unnecessarily exposing an entire network.
03 · CONTEXT Use more than credentials Device state, location, risk and other contextual signals can improve the quality of an access decision.
04 · TELEMETRY Record the decision Authentication, access and security events should remain available for monitoring and investigation.
Engineering evidence
The perimeter has moved closer to the user and application

Distributed applications and remote users do not eliminate network security. They change where security decisions need to occur. Identity, device context, application policy, web controls and cloud-delivered enforcement increasingly operate alongside traditional network boundaries.

Section 06 · Engineering Principle
Secure access should follow the user, device and application.

VPN provides an important encrypted connectivity model, while ZTNA can provide more granular application-aware access. SWG, DNS security, CASB and SASE extend policy into internet and cloud environments. Together, these controls adapt the security architecture to a distributed environment rather than relying on a single fixed perimeter.

06 · CONNECT · CLOUD & REMOTE ACCESS

Secure Cloud & Remote Access Journey

Follow a user or device from the initial access request through identity verification, device context, access policy, security services, application access and telemetry.

ACTOR Employee
ACCESS PENDING
STAGE 0 / 6
SECURE ACCESS PATH Waiting for access request
01 · TRUST
IDENTITY
Verify who is requesting access.
READY
02 · CONTEXT
DEVICE
Evaluate device posture and trust.
READY
03 · DECISION
ACCESS POLICY
Determine what the actor may reach.
READY
04 · PROTECT
SECURITY SERVICE
Apply VPN, ZTNA, SWG or related controls.
READY
05 · RESOURCE
APPLICATION
Reach the permitted cloud or internal service.
READY
06 · EVIDENCE
TELEMETRY
Record the access decision and session evidence.
READY
ACCESS TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Stage No access stage evaluated.
Security Function Waiting for the access workflow.
Investigation Finding No finding yet.
ENGINEERING MODEL · SECURITY INTELLIGENCE

Turn Security Signals Into Evidence

Individual security controls see different parts of an event. Identity systems see authentication, firewalls see connections, endpoints see processes and DNS controls see destinations. Security intelligence connects those signals so an investigation can understand the wider behaviour.

01 · COLLECT Gather telemetry Capture identity, network, endpoint, application and cloud security events.
02 · CORRELATE Connect the signals Relate events by identity, device, address, application, time and other useful context.
03 · INVESTIGATE Understand behaviour Determine whether apparently separate events form a meaningful security pattern.
04 · RESPOND Drive action Use validated findings to support analyst decisions or appropriate automated workflows.
Identity
+
Network
+
Endpoint
+
Application
→
Security Evidence
07 · CORRELATE · SECURITY INTELLIGENCE

SIEM, SOAR & Cross-Layer Security Intelligence

A modern security architecture produces enormous amounts of telemetry. The challenge is not simply collecting more events. It is connecting the right evidence so analysts can distinguish isolated activity from a meaningful attack pattern and then respond appropriately.

SIEM platforms provide centralised collection, search and correlation of security telemetry. SOAR extends the operational model by orchestrating response workflows and actions. Neither replaces the underlying security controls; both depend on the quality and context of the evidence they receive.

One event rarely tells the whole story

Different controls observe different parts of the same activity
IDENTITY Authentication Login attempts, MFA events, identity changes and access decisions.
NETWORK Connections Flows, firewall events, DNS activity and network security alerts.
ENDPOINT Processes Process execution, files, connections and endpoint detection telemetry.
APPLICATION Service activity Application authentication, errors, transactions and security events.
Raw Events Individual observations from separate control points.
→
Correlation Connect events using identity, asset, address, time and behavioural context.
→
Security Finding A contextualised event suitable for investigation.

SIEM and SOAR have different responsibilities

SIEM · Security Information & Event Management
Build the evidence picture
SIEM provides a central platform for collecting, searching and correlating security telemetry. It can help analysts identify relationships between events that would otherwise remain distributed across individual systems.
Primary role: collect → normalise → correlate → investigate
SOAR · Security Orchestration, Automation & Response
Orchestrate the response
SOAR can coordinate predefined workflows across security tools, reducing repetitive analyst tasks and helping execute approved response procedures.
Primary role: validate → orchestrate → execute → record

Security telemetry spans multiple layers

01 · IDENTITY Who? User, service account, authentication and authorization context.
02 · DEVICE What system? Endpoint identity, posture, process and security state.
03 · NETWORK Where? Source, destination, protocol, flow and network security context.
04 · APPLICATION What service? Application behaviour, transactions and service-level security events.
05 · TIME When? Temporal relationships can reveal sequences that isolated events hide.

Correlation turns separate events into an investigation

Example: a suspicious remote access sequence
09:14:02 Identity event Successful authentication from an unusual location.
09:14:18 Network event New connection established to an internal service.
09:14:41 Endpoint event Previously unseen process begins making outbound connections.
09:15:07 DNS event Endpoint resolves a newly observed external destination.
Correlation result: these events become more significant when linked by the same identity, endpoint and time window. The result is an investigation lead rather than four unrelated alerts.

Automation should follow validated evidence

01 · DETECT Generate the finding Correlation identifies behaviour that meets the defined detection criteria.
02 · VALIDATE Establish confidence Analysts or additional automated checks determine whether the finding is sufficiently reliable for action.
03 · RESPOND Execute the workflow Approved actions can then be orchestrated across identity, endpoint, network or other security systems.
Engineering evidence
More telemetry does not automatically mean better security

Effective security intelligence depends on useful context, consistent timestamps, meaningful asset and identity relationships, appropriate retention and well-tuned detection logic. A large event store without correlation can simply create a larger investigation queue.

Section 07 · Engineering Principle
Collect broadly, correlate intelligently and automate carefully.

SIEM provides the evidence and correlation layer while SOAR can orchestrate response workflows. The strongest architecture connects identity, endpoint, network and application telemetry so that security decisions are based on a contextual view of behaviour rather than an isolated alert.

07 · CORRELATE · SECURITY INTELLIGENCE

SIEM & SOAR Correlation Engine

Security events become useful when they are correlated across identity, network, endpoint and application layers. Build the evidence chain, calculate incident confidence and select an appropriate response.

SIGNALS 0 / 4
CONFIDENCE LOW
INCIDENT OPEN
SECURITY SIGNALS Waiting for telemetry
IDENTITY
Unusual Authentication
Authentication occurs from an unusual context or location.
WAIT
NETWORK
Suspicious Traffic
Network telemetry identifies unusual communication behaviour.
WAIT
ENDPOINT
Process Anomaly
Endpoint telemetry reports an unexpected process or execution chain.
WAIT
APPLICATION
Resource Access
Application telemetry shows access to a sensitive resource.
WAIT
CORRELATION CHAIN Confidence: LOW
Identity —
Network —
Endpoint —
Application —
CORRELATION TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Finding No correlated finding yet.
SIEM Function Collect and correlate security telemetry across layers.
SOAR Function No response workflow selected.
ENGINEERING MODEL · INTEGRATED SECURITY ARCHITECTURE

Validate the Security Architecture as a System

Security controls become more effective when they operate as a connected architecture rather than isolated point solutions. Validation asks whether identity, enforcement, segmentation, inspection, endpoint protection, telemetry and response work together as one security decision system.

01 · CONNECT
Integrate Controls Connect identity, policy, enforcement and telemetry.
02 · OBSERVE
Collect Evidence Make security decisions visible across the architecture.
03 · CORRELATE
Understand Context Combine signals instead of treating every alert independently.
04 · VALIDATE
Prove the Design Test whether the controls actually produce the intended outcome.
IDENTITY → ACCESS → SEGMENT → INSPECT → PROTECT → OBSERVE → RESPOND
Engineering Principle A security architecture should be evaluated as a decision chain, not as a collection of products.
Validation Question Can we prove that a security event is detected, understood, enforced and responded to across the complete control path?
08 · VALIDATE · INTEGRATED SECURITY ARCHITECTURE

Integrated Security Architecture

A mature security architecture connects individual controls into a decision and evidence chain. The objective is not to eliminate every point solution, but to ensure that identity, enforcement, detection, telemetry and response operate together.

SECURITY DECISION CHAIN
IDENTITY Who is the user, device or workload?
ACCESS CONTROL What is this identity permitted to reach?
SEGMENTATION Which trust boundary contains the resource?
INSPECTION Does the traffic or request contain suspicious behaviour?
PROTECTION Are endpoint, application and data controls active?
TELEMETRY Can the architecture produce evidence of the decision?
RESPONSE Can the appropriate action be executed and validated?
ARCHITECTURE PRINCIPLES
Least Privilege Grant only the access required for the task and context.
Explicit Policy Make security decisions intentional and explainable.
Continuous Visibility Capture telemetry across identity, network, endpoint and application layers.
Evidence-Based Response Use correlated evidence before escalating or containing an event.
Point Solutions Individual controls can provide strong protection, but disconnected systems increase integration and visibility gaps.
Integrated Architecture Controls remain specialised while sharing identity, telemetry, policy context and response workflows.
Engineering Test

If an attack crosses several security layers, can the organisation trace the event from initial identity signal through enforcement, detection, correlation and response?

The objective is integration, not simply accumulation.

Adding more security products does not automatically create a stronger architecture. The engineering question is whether each control has a defined role, produces useful evidence and connects to the controls responsible for the next security decision.

08 · VALIDATE · INTEGRATED SECURITY ARCHITECTURE

Integrated Security Assurance Console

Validate whether the complete security architecture can establish identity, enforce access, contain trust boundaries, inspect activity, protect assets, generate evidence and trigger an appropriate response.

CONTROLS 0 / 7
ASSURANCE 0%
ARCHITECTURE UNVALIDATED
END-TO-END CONTROL CHAIN Validation not started
01
Identity & Trust
Establish who or what is requesting access.
WAIT
02
Access Enforcement
Apply authentication, authorization and policy.
WAIT
03
Segmentation
Constrain communication within the intended trust boundary.
WAIT
04
Inspection & Detection
Inspect traffic, requests and behaviour for threats.
WAIT
05
Endpoint & Data Protection
Protect the endpoint, application and information.
WAIT
06
Telemetry & Correlation
Produce evidence and correlate events across layers.
WAIT
07
Response & Recovery
Execute, validate and recover from the security decision.
WAIT
ARCHITECTURE ASSURANCE 0%
Validate each layer to determine whether the architecture forms a complete security decision and evidence chain.
VALIDATION TIMELINE 0 events
ENGINEERING EVIDENCE LIVE READOUT
Current Finding No controls validated yet.
Architecture Test Can the security chain be traced from identity to response?
Final Assurance Architecture validation pending.
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
Interactive Security Fabric

Point Solutions vs Integrated Security

Modern security requires more than isolated tools. Explore how identity, device posture, segmentation, threat detection and security analytics combine to produce a stronger security decision.
Unified security decision
Identity
→
Device
→
Network
→
Threat
→
Intelligence
→
Enforcement
Combined Security Risk
LOW · 18%
ID
Identity
Identity security signal

Identity provides context about who is requesting access and whether authentication requirements have been satisfied.

Signal User + MFA
Question Who is requesting access?
Control Authentication
Value Identity-aware policy
CURRENT DECISION
Identity signal is healthy. Continue evaluating device and network context.

Why correlation matters

A single security product sees only part of the story. Correlating identity, device, network and threat telemetry creates a much stronger basis for enforcement.

IDENTITY Who is accessing the resource?
DEVICE Is the endpoint trusted and healthy?
NETWORK Is the requested communication permitted?
THREAT Is there evidence of malicious activity?
SIEM / SOAR Can multiple signals be correlated and acted upon?
data center design

Open Networking

ENGINEERING GUIDE · OPEN NETWORKING

Open Networking — From Disaggregated Hardware to Programmable Fabrics

Open networking is not a single product or protocol. It is an architectural approach that separates hardware, network software, control, telemetry and automation so infrastructure can become more programmable, interoperable and adaptable.

The important engineering shift is not simply replacing a proprietary platform. It is separating the components of the network so that hardware, software, control and operations can evolve independently.
01 · DISAGGREGATE

Separate Hardware

Treat switching hardware and network software as independently selectable components.

02 · PROGRAM

Expose Control

Use protocols, APIs and software interfaces to make network behaviour programmable.

03 · AUTOMATE

Operate at Fabric Scale

Move from box-by-box configuration toward repeatable desired-state workflows.

04 · OBSERVE

Measure Network State

Use telemetry and analytics to understand actual network behaviour continuously.

ENGINEERING MODEL
HARDWARE → NETWORK OS → CONTROL → AUTOMATION → TELEMETRY → ANALYTICS
ENGINEERING QUESTION

Can the network change without requiring every layer to be redesigned or every device to be configured independently?

Open networking moves intelligence toward software, automation and common interfaces.
White-Box Networking Open NOS SONiC FRRouting BGP EVPN VXLAN Leaf-Spine OpenConfig gNMI Automation Telemetry
Interactive Open Networking Architecture

Open Networking Architecture Explorer

Explore how open networking separates hardware, network software, control, telemetry and automation to create a more flexible, programmable and vendor-neutral infrastructure.
From hardware dependency to programmable fabric
Hardware
→
Network Software
→
Control
→
Operations
Disaggregation creates independence
DATA PLANE Forward packets
CONTROL PLANE Build routing state
MANAGEMENT Automate & observe
HW
White-Box Hardware
Disaggregated infrastructure

Open networking separates the physical switching platform from the software controlling it, allowing organizations greater freedom in hardware selection.

Layer Data plane
Principle Hardware / software separation
Benefit Vendor flexibility
Result Reduced lock-in
OPEN NETWORKING PRINCIPLE
Hardware becomes a replaceable platform rather than the sole source of network intelligence.

Why disaggregation matters

Traditional networking commonly couples hardware, operating system and features into a single vendor stack. Open networking separates these functions so each layer can evolve independently.

OPEN STANDARDS Common protocols and models allow different components to interoperate.
OPEN SOFTWARE Network operating systems and routing software can evolve independently of hardware.
OPEN APIs Automation systems can program and integrate the network.
OPEN TELEMETRY Network state becomes observable through streaming data and common models.
Open Networking · Interactive Use Case
How the Open Fabric Works
See how a modern leaf-spine fabric separates the routed underlay from the VXLAN overlay while BGP and EVPN provide the control plane.
L3 UNDERLAY
VXLAN OVERLAY
WORKLOADS
BGP EVPN CONTROL PLANE
VNI 10100 · VXLAN SEGMENT
SPINE 1
S1
Transit
SPINE 2
S2
Transit
LEAF 1
L1
VTEP
LEAF 2
L2
VTEP
VM-A
Host A
10.10.1.10
VM-B
Host B
10.10.1.20
VM-C
Host C
10.10.1.30
Open Fabric
Click a device to explore its role in the open fabric.
Underlay
IP + BGP
Control Plane
BGP EVPN
Overlay
VXLAN VNI 10100
Architecture
Leaf / Spine
BGP Underlay Routed IP connectivity between leaf and spine switches.
EVPN Control Plane BGP distributes MAC/IP and endpoint reachability information.
VXLAN Overlay VXLAN carries logical network segments across the IP fabric.
VTEP Leaf switches encapsulate and decapsulate VXLAN traffic.
01 · DEFINE · ARCHITECTURE

What Does “Open” Actually Mean?

Open networking begins by separating the components that traditionally arrive as one integrated platform: hardware, network operating system, control protocols and operational tooling. The engineering objective is reduced coupling, greater choice and programmable interfaces.

Engineering Question Can each layer evolve without forcing the entire network architecture to change with it?
01 · DEFINE · OPEN NETWORKING ARCHITECTURE

Open Networking Starts With Separation

Open networking begins by separating the functions that traditional networking often bundles together. Hardware provides forwarding capability, network software provides operating and routing functions, control protocols build network state, and automation and telemetry provide the operational feedback loop.

ARCHITECTURAL LAYERS
HARDWARE Switching silicon, ports, memory and physical forwarding resources.
NETWORK OS Operating system, routing software, interfaces and platform services.
CONTROL BGP, OSPF, IS-IS, EVPN and other mechanisms that establish network state.
OPERATIONS APIs, automation, configuration management, telemetry and analytics.
OPEN NETWORKING PRINCIPLES
Hardware Independence

Hardware can become a replaceable platform rather than defining the entire software stack.

Software Choice

Network operating systems and routing software can be selected according to operational requirements.

Open Interfaces

Standards, APIs and models allow systems to exchange state and participate in common workflows.

Operational Automation

Configuration and lifecycle operations can move from individual devices toward repeatable fabric-wide processes.

ENGINEERING PRINCIPLE

Open networking is not simply “using open source.” The architectural objective is to reduce unnecessary coupling between hardware, software, control and operations so that each layer can evolve without forcing the entire network to change with it.

DATA PLANE
Forward the packet

The forwarding infrastructure moves traffic according to the state programmed into the network.

CONTROL PLANE
Build network state

Routing protocols and control systems determine reachability and distribute network information.

MANAGEMENT PLANE
Operate the fabric

APIs, automation and telemetry provide the mechanisms for configuring, observing and validating the network.

02 · DISAGGREGATE · PLATFORM

Separate the Platform From the Network Software

Disaggregation separates the physical switching platform from the network software that controls it. White-box hardware, open network operating systems and routing software can therefore become independent architectural choices rather than a single fixed product.

Engineering Question Which parts of the network platform actually need to come from the same supplier?
ENGINEERING LAB · 01 · DEFINE

Open Networking Architecture Explorer

Explore the four architectural layers that turn a traditional integrated network platform into a more modular and programmable system. Select a layer or use the architecture tabs to inspect what becomes separated and why that separation matters.

OPEN NETWORKING STACK
● MODULAR
LAYER INSPECTOR
SELECTED
01 · PLATFORM

Hardware

Open networking separates the physical switching platform from the software that operates it. This creates greater freedom in choosing the underlying hardware platform, but also introduces responsibility for validating compatibility and lifecycle support.

Network software
Platform choice
Integration & support
White-box switching
OPENNESS SIGNAL

The hardware platform no longer has to dictate which network software is used.

02 · DISAGGREGATE · HARDWARE, NOS & CONTROL PLANE

Separate the Platform From the Network Software

Disaggregation separates the physical switching platform from the network operating system and the control protocols running above it. This creates greater architectural choice, but it also makes lifecycle, integration, compatibility and operational ownership more important.

THE DISAGGREGATED STACK
WHITE-BOX HARDWARE Switching ASICs, interfaces, buffers and physical resources. The platform provides forwarding capability without necessarily defining the complete software stack.
NETWORK OS Software responsible for operating the device, exposing interfaces and integrating routing and forwarding functions.
ROUTING SOFTWARE Protocol implementations such as BGP, OSPF or IS-IS build control-plane state and calculate reachability.
MANAGEMENT APIs, configuration models and automation systems provide the operational interface to the device or fabric.
CONTROL-PLANE EXAMPLES
BGP

Exchanges reachability information between routing peers and is widely used for data-centre and service-provider fabrics.

OSPF

Link-state routing protocol commonly used to build internal IP reachability within an autonomous system.

IS-IS

Link-state protocol used extensively in large-scale provider and data-centre network designs.

EVPN

A BGP-based control-plane technology commonly used to distribute MAC and IP reachability information for modern overlays.

01 · HARDWARE
Forwarding Resources

ASICs and interfaces determine what the platform can physically forward at line rate.

02 · NOS
Operating Environment

The network OS provides the software environment that connects the platform to routing and operational functions.

03 · CONTROL
Network Intelligence

Routing protocols exchange information and construct the state used to make forwarding decisions.

04 · OPERATE
Automation Interface

APIs, models and automation turn individual device configuration into repeatable operational workflows.

ENGINEERING REALITY

Disaggregation increases choice, but choice introduces responsibility. Hardware compatibility, NOS support, routing features, lifecycle management, observability and operational skills must all be considered as part of the architecture.

ENGINEERING LAB · 02 · DISAGGREGATE

Disaggregation Decision Lab

Build an open networking platform by selecting the hardware, network operating system and control model. The objective is not simply to choose “open” components — it is to understand the engineering trade-offs created when the layers are separated.

PLATFORM BUILDER
MODULARITY 82%
01 · Hardware Choose platform
02 · Network OS Choose software
03 · Control Choose model
ARCHITECTURE RESULT
CONFIGURATION READY
Selected Architecture
Hardware White-Box Switching Platform
Network Operating System Open Network OS
Control Open Standards & APIs
Operations Automation + Telemetry
Engineering Assessment
Platform choice
88
Software freedom
86
Integration effort
42
Vendor coupling
24
High platform and software choice
More integration responsibility
ENGINEERING DECISION

Disaggregation increases architectural choice, but the responsibility for validating hardware, software, interoperability and lifecycle support also increases.

03 · FABRIC · BGP EVPN

Build the Fabric With a Routed Underlay

Once the hardware and software layers are separated, the network can be designed as a programmable fabric. A routed IP underlay provides predictable transport while BGP EVPN and VXLAN can provide the control and overlay mechanisms required for scalable workload connectivity.

Engineering Question Can the physical fabric remain simple while the overlay provides the required logical connectivity?
03 · FABRIC · LEAF-SPINE & BGP EVPN

Build the Fabric With a Routed Underlay and Programmable Overlay

Open networking becomes especially powerful when disaggregated components are assembled into a fabric. A routed leaf-spine underlay provides predictable IP connectivity, while BGP and EVPN can distribute the control-plane information required for scalable workload and overlay connectivity.

FABRIC ARCHITECTURE
SPINE
High-speed routed transit between leaf switches. The spine provides fabric connectivity rather than directly hosting workloads.
LEAF
Connects servers, appliances and external networks while providing the edge of the fabric.
UNDERLAY
Routed IP transport between fabric devices. BGP, OSPF or IS-IS can provide the reachability required by the design.
OVERLAY
VXLAN can provide virtual network segmentation while EVPN distributes endpoint reachability through the control plane.
SERVER
→
LEAF
→
SPINE
→
LEAF
→
SERVER
CONTROL-PLANE MODEL
IP UNDERLAY

Provides simple routed reachability between the devices that make up the fabric.

BGP

Can provide scalable routing between leaf and spine devices and establish the fabric's IP reachability.

EVPN

Uses BGP to distribute MAC and IP reachability information for modern Ethernet VPN designs.

VXLAN

Encapsulates tenant traffic across the IP underlay and identifies virtual networks using a VNI.

01 · UNDERLAY
Transport Layer

The underlay answers a fundamental question: can the fabric devices reach one another reliably?

02 · CONTROL
Reachability State

Routing protocols exchange information so devices can calculate paths through the fabric.

03 · OVERLAY
Virtual Networks

VXLAN separates logical networks from the physical topology and provides scalable segmentation.

04 · EVPN
Endpoint Knowledge

EVPN distributes endpoint reachability through the control plane, reducing reliance on traditional flood-and-learn behaviour.

ENGINEERING PRINCIPLE

Keep the underlay simple and predictable. Put the complexity required for tenant connectivity, segmentation and endpoint distribution into the overlay and its control plane. This separation makes the fabric easier to reason about, troubleshoot and automate.

ENGINEERING LAB · 03 · FABRIC

Open Fabric Path Lab

Follow a packet through a modern open networking fabric. Select each stage to expose the engineering evidence behind the underlay, BGP control plane, EVPN and VXLAN overlay.

Stage 1 of 6
Fabric Path
Host A → Host B
Packet context: Host A · 10.10.10.21 → Host B · 10.10.20.31 · VNI 10100
Underlay
Keep Transport Simple
The routed fabric provides IP reachability between loopbacks and VTEPs. The underlay should not need to understand tenant networks.
Overlay
Move Tenant State Into EVPN
EVPN distributes endpoint and MAC/IP reachability information through the control plane rather than relying only on data-plane flooding.
Live Trace
Path Evidence
00:00 Path investigation initialised
00:01 Ingress leaf selected
04 · PROGRAM · AUTOMATION

Turn Network Operations Into a Programmable System

Open interfaces become valuable when they can be used consistently by automation. Models such as OpenConfig, interfaces such as gNMI, and tools such as Ansible and Terraform allow network intent to become repeatable change rather than a sequence of manual device commands.

Engineering Question Can the same intended network state be deployed repeatedly and then verified automatically?
04 · PROGRAM · APIs, AUTOMATION & DESIRED STATE

Turn Network Operations Into a Programmable System

Once hardware and network software are separated, the next engineering challenge is operating the infrastructure consistently. APIs, configuration models and automation allow engineers to describe, deploy and validate network state without relying on repetitive device-by-device configuration.

FROM INTENT TO NETWORK STATE
01
INTENT

Define what the network should provide.

02
MODEL

Represent configuration using structured data and models.

03
AUTOMATE

Apply repeatable changes across the infrastructure.

04
DEPLOY

Push validated state into network devices and services.

05
VERIFY

Compare the resulting state with the intended state.

06
REPEAT

Treat network change as an operational lifecycle.

OPEN PROGRAMMABILITY TOOLBOX
OpenConfig

Open, vendor-neutral data models commonly used to represent network configuration and operational state.

gNMI

A management interface commonly used to retrieve and modify structured configuration and operational data.

Ansible

Automation and configuration-management tooling suited to repeatable network changes and operational workflows.

Terraform

Infrastructure-as-code tooling commonly used to provision and manage infrastructure through declarative configuration.

DAY 0 → DAY 1 → DAY 2
DAY 0 · BOOTSTRAP Establish the initial platform, management connectivity, credentials and baseline configuration.
DAY 1 · DEPLOY Introduce production services such as routing, VLANs, VRFs, interfaces and fabric configuration.
DAY 2 · OPERATE Continue monitoring, changing, validating and remediating the network throughout its lifecycle.
ENGINEERING PRINCIPLE

Automation should not simply make configuration faster. The stronger objective is repeatability: the same intent should produce a predictable result, and the resulting network state should be measurable and verifiable.

API
Expose the Network

APIs provide a programmable interface instead of forcing every operation through manual CLI interaction.

MODEL
Structure the State

Models provide a consistent representation of configuration and operational information.

AUTOMATION
Scale the Change

Automation turns individual operations into repeatable workflows that can be applied across the fabric.

ENGINEERING LAB · 04 · PROGRAM

Desired-State Automation Lab

Define the network you want, generate the intended configuration, deploy the change, then verify that the fabric actually reached the desired state.

Intent not deployed
Define Intent
Desired state
Fabric Protocol
Overlay
Automation
Validation
Automation Pipeline
Awaiting plan
01
Intent
Defined
02
Model
Pending
03
Deploy
Pending
04
Observe
Pending
05
Verify
Pending
Generated Plan
Configuration Intent
# intent fabric.protocol = BGP overlay = EVPN/VXLAN automation = model-driven validation = telemetry
Configuration Diff
Proposed Change
+ enable bgp fabric + enable evpn overlay + configure telemetry
PENDING
Config State
PENDING
Control Plane
PENDING
Data Plane
PENDING
Telemetry
05 · OBSERVE · TELEMETRY

You Cannot Automate What You Cannot Observe

Programmable infrastructure needs equally strong visibility. Interface state, routing information, traffic flows and system health provide the evidence required to understand what the network is actually doing. Telemetry turns network state into operational data.

Engineering Question Can the network prove what changed, what is happening now and whether the resulting state is healthy?
05 · OBSERVE · TELEMETRY & NETWORK VISIBILITY

Expose the State of the Network

Programmability is only useful when engineers can also observe the resulting network state. Open networking therefore depends on telemetry that exposes interfaces, routing state, traffic behaviour and system health so that automation can be validated against what the network is actually doing.

NETWORK TELEMETRY SIGNALS
INTERFACES

Counters, errors, link state and utilisation reveal the health of physical and logical interfaces.

ROUTING STATE

BGP, OSPF, IS-IS and EVPN state shows whether the control plane is building the expected reachability.

TRAFFIC FLOWS

Flow records and sampled telemetry provide visibility into communication patterns and traffic volumes.

SYSTEM HEALTH

CPU, memory, buffers, process state and platform health provide additional operational context.

OBSERVABILITY PIPELINE
NETWORK STATE Devices generate operational and protocol information.
TELEMETRY State is exposed through streaming telemetry, APIs or sampled visibility mechanisms.
COLLECT Data is transported into monitoring, analytics or observability systems.
CORRELATE Signals are combined to understand relationships and anomalies.
ACT Engineers or automation can investigate, validate and respond.
STREAMING TELEMETRY
Continuous State

Streaming telemetry can deliver operational state continuously rather than relying entirely on periodic polling.

OPEN MODELS
Structured Data

OpenConfig and interfaces such as gNMI help expose structured configuration and operational information.

FLOW VISIBILITY
Traffic Behaviour

Technologies such as sFlow provide sampled visibility into traffic patterns without requiring full packet capture.

ENGINEERING PRINCIPLE

Automation without telemetry creates blind change. Telemetry without automation creates visibility without scale. The stronger architecture connects both: change the network, observe the result, compare it with the intended state, and investigate any deviation.

ENGINEERING LAB · 05 · OBSERVE

Telemetry Investigation Console

Select the signals you would use to investigate a fabric event, correlate them against the timeline, and build enough evidence to distinguish a control-plane problem from a forwarding or workload problem.

Select evidence
Telemetry Signals
Select multiple
Correlation View
No correlation yet
Signals Selected
0 / 5
Evidence Quality
LOW
Likely Domain
UNKNOWN
Confidence
0%
10:42:01 Baseline stable Leaf and spine interfaces operating normally.
10:42:17 EVPN state changed Remote endpoint reachability changed on Leaf-02.
10:42:18 Traffic drop observed Flow telemetry reports loss toward remote workload.
10:42:21 Interface remains up No physical link failure detected.
10:42:24 System health normal No resource saturation detected.
Investigation Finding
0 evidence sources
Select telemetry sources, then correlate them with the event timeline. The objective is to identify which layer changed first.
06 · OVERLAY · VXLAN

Separate Logical Networks From the Physical Fabric

Modern fabrics often carry many logical networks across the same physical infrastructure. VXLAN provides the encapsulation mechanism, while EVPN can provide the control-plane information required to distribute endpoint and reachability state across the fabric.

Engineering Question Can multiple logical networks share the same physical fabric without coupling tenant connectivity to the physical topology?
06 · OVERLAY · VXLAN & NETWORK VIRTUALISATION

Separate Logical Networks From the Physical Fabric

Network virtualisation allows logical connectivity to span a physical fabric without requiring every physical link to represent a separate tenant or broadcast domain. VXLAN provides the encapsulation mechanism, while EVPN can provide the control-plane information needed to discover and distribute endpoint reachability.

UNDERLAY → OVERLAY MODEL
PHYSICAL FABRIC

Switches, links and interfaces provide the physical transport between fabric nodes.

IP UNDERLAY

Routed connectivity provides the transport path between VTEPs across the fabric.

VXLAN OVERLAY

Tenant Ethernet frames can be encapsulated inside IP packets for transport across the underlay.

EVPN CONTROL PLANE

BGP EVPN distributes endpoint information so VTEPs can make informed forwarding decisions.

VTEP A Workload / VLAN
VNI 10100
VTEP B Workload / VLAN
CONTROL VS DATA PLANE
FUNCTION ROLE
UNDERLAY Provides IP reachability between the physical fabric devices.
VTEP Encapsulates and decapsulates VXLAN traffic at the edge of the overlay.
VNI Identifies a VXLAN virtual network and separates logical connectivity within the overlay.
EVPN Distributes MAC and IP reachability information through the control plane.
VXLAN Carries the overlay traffic across the IP underlay using encapsulation.
01 · VNI
Logical Identifier

VXLAN uses a 24-bit VNI, providing a large identifier space for logical networks.

02 · VTEP
Overlay Edge

VTEPs connect local workloads to the VXLAN overlay and perform encapsulation and decapsulation.

03 · EVPN
Reachability

EVPN provides control-plane distribution of endpoint information rather than relying entirely on flood-and-learn behaviour.

04 · MOBILITY
Physical Independence

Logical networks can span different physical locations and paths without changing the underlying fabric topology.

ENGINEERING PRINCIPLE

The underlay should answer “How do I reach the VTEP?” while the overlay answers “Which logical network and endpoint am I trying to reach?” Keeping those responsibilities separate makes large fabrics easier to scale, troubleshoot and automate.

ENGINEERING LAB · 06 · OVERLAY

VXLAN Overlay Packet Trace

Trace an Ethernet frame across a shared IP fabric and see where the logical network, VNI, VTEPs and VXLAN encapsulation fit into the forwarding path.

Ready to trace
Overlay Parameters
Packet context
H
Host A
10.10.10.21
Ethernet frame
V
VTEP A
Leaf-01
Encapsulation
I
IP Fabric
Underlay
ECMP
V
VTEP B
Leaf-02
Decapsulation
H
Host B
10.10.20.31
Ethernet frame
Current Packet Representation
ETH SRC=H-A DST=H-B
VNI
Logical Network Identity
The VNI identifies the logical VXLAN segment carried across the shared physical fabric. Different VNIs can use the same underlay.
VTEP
Where Encapsulation Happens
The VTEP sits at the edge of the overlay. It encapsulates traffic entering VXLAN and decapsulates traffic leaving the overlay.
Underlay
Transport Does Not Need Tenant State
The IP fabric forwards toward the remote VTEP. The physical transport can remain largely independent from the logical tenant network.
07 · OPERATE · WORKLOAD NETWORKING

Extend Open Networking Into the Host

The network does not end at the top-of-rack switch. Linux networking, virtual switching and container networking extend connectivity into servers and workloads. This creates another programmable layer that must be automated, observed and secured alongside the physical fabric.

Engineering Question Where does the network boundary actually end when applications run inside virtualised or containerised workloads?
07 · OPERATE · LINUX, VIRTUAL SWITCHING & CONTAINERS

Extend Open Networking Into the Workload Layer

Open networking does not stop at the physical switch. Linux networking, virtual switches and container networking extend the same programmable principles into the systems and workloads connected to the fabric. The result is a network model that spans physical interfaces, virtual interfaces, workloads and applications.

SOFTWARE NETWORKING STACK
PHYSICAL NIC Provides host connectivity into the physical network and participates in the server's forwarding path.
LINUX NETWORKING Interfaces, routing, namespaces, bridges, filtering and other kernel networking functions provide the host network layer.
VIRTUAL SWITCH Software such as Open vSwitch can provide programmable switching between physical interfaces, virtual interfaces and workloads.
WORKLOAD NETWORK Containers and virtual workloads consume the networking services provided by the host and its virtual switching layer.
OPEN SOFTWARE COMPONENTS
Linux Networking

Provides interfaces, routing, namespaces, bridges, firewalling and other host-level networking capabilities.

Open vSwitch

A software switch designed for programmable virtual networking and integration with physical and virtual infrastructure.

Network Namespaces

Provide isolated network views that can separate interfaces, routing tables and network resources.

Container Networking

Connects containers to host and external networks through bridges, virtual interfaces or additional networking systems.

01
PHYSICAL

Server connects to the fabric.

02
HOST

Linux provides the local network stack.

03
VIRTUAL

Software switching connects logical interfaces.

04
WORKLOAD

Containers or VMs consume network connectivity.

05
FABRIC

Traffic exits through the physical network.

LINUX
Programmable Host

Linux provides a powerful networking environment that can be automated alongside the physical fabric.

OPEN VSWITCH
Virtual Forwarding

OVS provides software-based switching between virtual and physical network interfaces.

CONTAINERS
Workload Connectivity

Containers consume network connectivity through host and container networking mechanisms rather than directly owning the physical fabric.

ENGINEERING PRINCIPLE

The physical fabric and workload network should be treated as connected layers rather than one giant control plane. The fabric provides transport, while Linux, virtual switching and workload networking provide connectivity closer to the application.

ENGINEERING LAB · 07 · OPERATE

Host Networking Stack Inspector

Follow connectivity from an application workload through the Linux network namespace, virtual switch, physical NIC and finally into the upstream fabric.

Select a host layer
Host Networking Path
Click any layer
Compute Host · worker-07
Linux
External Network Fabric
BGP / EVPN
HOST VTEP 192.0.2.11
↔
FABRIC Leaf / Spine
Linux
Host Networking Is Its Own Layer
Interfaces, namespaces, routing tables and policy exist below the application but above the physical fabric.
Virtual Switching
Forwarding Can Move Into Software
Open vSwitch and other virtual switching mechanisms connect workload interfaces to host uplinks and can apply forwarding policy locally.
Engineering Boundary
Do Not Collapse Every Layer
The physical fabric transports traffic while host networking provides connectivity closer to the workload. Automation and observability need visibility across both.
08 · VALIDATE · CLOSED LOOP

The Network Becomes a Continuous Feedback System

The final step is connecting intent, automation and telemetry into a controlled feedback loop. The network should not simply accept changes; it should provide evidence that the resulting state matches the design, detect meaningful drift and support controlled remediation.

Engineering Question Can the network detect when reality has diverged from the intended state and safely guide it back into compliance?
08 · VALIDATE · CLOSED-LOOP OPEN NETWORKING

Turn Open Networking Into a Closed-Loop System

The real advantage of an open network appears when programmability, automation and telemetry operate as one system. Desired state defines the intended configuration, automation applies it, the fabric delivers connectivity, telemetry exposes the resulting state and validation determines whether the network still matches the design.

01 · INTENT
DESIRED STATE

Define what the network should look like.

02 · CHANGE
AUTOMATION

Translate intent into repeatable configuration.

03 · FORWARD
NETWORK FABRIC

The physical and virtual network delivers connectivity.

04 · OBSERVE
TELEMETRY

Collect evidence about the resulting network state.

05 · DETECT
DRIFT

Compare observed state with intended state.

06 · ACT
REMEDIATE

Correct validated deviations and verify again.

CLOSED-LOOP OPERATING CYCLE
01
Define Intent Specify topology, policy, connectivity and operational requirements.
02
Automate Change Use models, APIs and automation to produce consistent changes.
03
Observe State Gather configuration, routing, interface and traffic evidence.
04
Compare Determine whether observed state matches the intended design.
05
Validate & Remediate Correct confirmed drift and return the system to the desired state.
ENGINEERING SAFETY GATES
01 · INTENT
Define Before Change

Automation should operate against an explicit desired state rather than an undocumented collection of commands.

02 · EVIDENCE
Observe Before Acting

Telemetry and state data provide the evidence required to determine whether a deviation is real.

03 · CONTROL
Validate Before Remediation

Not every difference should trigger an automatic change. Context and policy must determine the response.

04 · RECOVERY
Verify After Change

A successful configuration deployment is not the final result. The resulting network state must also be verified.

CHECK 01
Configuration State

Does the deployed configuration match the intended model?

CHECK 02
Control-Plane State

Are routing adjacencies and learned paths behaving as expected?

CHECK 03
Data-Plane State

Is traffic actually following the expected forwarding path?

CHECK 04
Operational State

Does telemetry confirm that the network remains healthy over time?

ENGINEERING PRINCIPLE

Open networking becomes strategically valuable when openness is combined with automation and evidence. The goal is not simply to make individual devices programmable, but to create a network that can be defined, changed, observed, validated and safely corrected as a system.

ENGINEERING LAB · 08 · VALIDATE

Closed-Loop Network Validation

Introduce configuration drift into a network, collect evidence, identify the affected state and safely drive the system back toward the intended design.

Network converged
Closed-Loop Cycle
STATE · CONVERGED
01
Desired State
Declared network intent and policy baseline
→
02
Deploy
Automation applies intended configuration
→
03
Observe
Telemetry exposes operational state
→
04
Detect Drift
Compare intended and observed state
→
05
Remediate
Controlled correction and verification
Network Evidence
Configuration State MATCH
Control Plane HEALTHY
Data Plane FORWARDING
Telemetry NORMAL
Evidence
Observe Before You Act
Telemetry provides evidence of what the network is actually doing. A desired-state system should not remediate solely because a configuration differs.
Safety Gate
Validate the Failure Domain
Compare configuration, control-plane, data-plane and operational evidence before deciding that automated remediation is appropriate.
Convergence
Verify After Remediation
Closed-loop automation is incomplete until the resulting state is checked and confirmed against the original intent.
Open Networking · Interactive Use Case
Automation & Observability Lab
Follow the operational lifecycle from desired state and Day 0 provisioning through Day 1/2 services, telemetry, drift detection and remediation.
DESIRED STATE
AUTOMATION
NETWORK FABRIC
OBSERVABILITY / FEEDBACK
Desired State
Intent
Policy
Inventory
Devices
Source of Truth
Templates
Config Model
Reusable
Automation
Pipeline
Ansible / Terraform
Day 0
Provision
Base Fabric
Day 1 / 2
Services
VRF / EVPN
Leaf / Spine
Fabric
BGP / EVPN
Network State
Running State
Actual Config
Telemetry
gNMI / gRPC
Streaming
Analytics
Visibility
Health / KPIs
Drift Detection
Compare
Desired ≠ Actual
Remediation
Closed Loop
Restore State
Closed-Loop Networking
Modern open networking connects desired state, automation, network operation and telemetry into a continuous lifecycle.
Automation
Desired State
Network
Leaf / Spine
Telemetry
Streaming Telemetry
State
In Sync
● FABRIC OPERATING NORMALLY
Day 0 Provision the base fabric using repeatable infrastructure-as-code workflows.
Day 1 / 2 Automate services such as VRFs, EVPN, VXLAN and network policy.
Telemetry Continuously observe network state using streaming telemetry.
Closed Loop Detect drift and, where policy permits, restore the intended state.
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```
Cisco ACI

ACI Cisco

Cisco ACI Components

Cisco Application Centric Infrastructure (ACI) represents a different way of approaching data centre networking. Rather than treating the network primarily as a collection of individually configured switches and interfaces, ACI uses application requirements and policy as the foundation for how connectivity, segmentation, and network behaviour are defined. This becomes particularly valuable as organizations operate physical servers, virtual machines, containers, and workloads across increasingly dynamic environments.

Cisco ACI brings the physical data centre fabric and software-defined policy model together through a centralized operational framework. The underlying network still provides the forwarding infrastructure, but administrators can define how applications and workloads should communicate without having to express every requirement as a series of device-by-device configurations. This separation between intent and implementation is central to the ACI model.

A major benefit is policy consistency. Instead of relying entirely on individual switch configurations, teams can define application relationships, network connectivity, and security requirements through policy. Those policies can then be applied across the fabric as workloads are deployed or changed, helping reduce configuration drift and making large environments easier to operate.

Security is another important part of the architecture. ACI supports segmentation and policy-based control between application tiers and workloads, allowing organizations to restrict communication according to defined requirements rather than relying solely on broad network boundaries. Integration with external security and operational platforms can further extend visibility and enforcement across the environment.

The model is also designed for scale. Modern data centres may contain large numbers of applications, virtual workloads, containers, and rapidly changing endpoints. A policy-driven fabric allows network operations to respond to those changes through automation and orchestration rather than requiring every network change to be handled manually. This can improve deployment consistency while reducing operational overhead.

ACI also provides a framework for connecting traditional physical infrastructure with virtualized and container-based workloads. This is important because most enterprise environments are not completely homogeneous: legacy applications, modern distributed applications, databases, virtualization platforms, and containerized services often coexist within the same broader architecture.

Hybrid and multi-cloud environments add another dimension. Organizations increasingly need consistent connectivity and policy across on-premises infrastructure and external cloud platforms. ACI can participate in these architectures through its integration and multi-site capabilities, helping organizations extend network and application policy across environments while recognizing that each cloud still has its own native networking and security model.

Cisco ACI is therefore best understood as a policy-driven data centre networking architecture, rather than simply a replacement for traditional switching. Its value comes from combining a scalable fabric with centralized policy, automation, segmentation, and application-aware operational models. For organizations managing complex data centre environments, this approach can provide a more consistent way to connect applications, enforce policy, and adapt the network as workloads evolve.

Cisco ACI • Interactive Architecture
ACI Fabric Architecture Explorer
Explore how APIC policy, the spine–leaf fabric and endpoint connectivity work together to create a policy-driven data-center network.
Learning objective: Understand how Cisco ACI separates policy and management from distributed forwarding — APIC defines intent while leaf and spine switches enforce and transport that policy.
MANAGEMENT / POLICY PLANE SPINE FABRIC LEAF / DATA-PLANE EDGE ENDPOINTS / WORKLOADS APIC CLUSTER Policy • Management • Orchestration SPINE 1 Fabric Transit SPINE 2 Fabric Transit LEAF 1 Endpoint Edge LEAF 2 Endpoint Edge LEAF 3 Endpoint Edge SERVER A EPG: WEB SERVER B EPG: APP SERVER C EPG: DB MULTI-PATH FABRIC / ECMP POLICY ENFORCEMENT AT THE LEAF EDGE
Fabric
Policy
Endpoint
Interactive Inspector
Cisco ACI Fabric
Fabric concept
Select a device or connection in the diagram to see how that component participates in the ACI architecture.
Selected component
Architecture overview
ACI concept
Policy-driven spine–leaf fabric
Why it matters
ACI separates centralized policy definition from distributed packet forwarding.

Highlights: Cisco ACI Components

The ACI Fabric

Cisco ACI is a software-defined networking (SDN) solution that integrates with software and hardware. With the ACI, we can create software policies and use hardware for forwarding, an efficient and highly scalable approach offering better performance. The hardware for ACI is based on the Cisco Nexus 9000 platform product line. The APIC centralized policy controller drives the software, which stores all configuration and statistical data.

–The Cisco Nexus Family–

To build the ACI underlay, you must exclusively use the Nexus 9000 family of switches. You can choose from modular Nexus 9500 switches or fixed 1U to 2U Nexus 9300 models. Specific models and line cards are dedicated to the spine function in ACI fabric; others can be used as leaves, and some can be used for both purposes. You can combine various leaf switches inside one fabric without any limitations.

a) Cisco ACI Fabric: Cisco ACI’s foundation lies in its fabric, which forms the backbone of the entire infrastructure. The ACI fabric comprises leaf switches, spine switches, and the application policy infrastructure controller (APIC). Each component ensures a scalable, agile, and resilient network.

b) Leaf Switches: Leaf switches serve as the access points for endpoints within the ACI fabric. They provide connectivity to servers, storage devices, and other network devices. With their high port density and advanced features, such as virtual port channels (vPCs) and fabric extenders (FEX), leaf switches enable efficient and flexible network designs.

c) Spine Switches: Spine switches serve as the core of the ACI fabric, providing high-bandwidth connectivity between the leaf switches. They use a non-blocking, multipath forwarding mechanism to ensure optimal traffic flow and eliminate bottlenecks. With their modular design and support for advanced protocols like Ethernet VPN (EVPN), spine switches offer scalability and resiliency.

d) Application Policy Infrastructure Controller (APIC): At the heart of Cisco ACI is the APIC, a centralized management and policy control plane. The APIC acts as a single control point, simplifying network operations and enabling policy-based automation. It provides a comprehensive view of the entire fabric, allowing administrators to define and enforce policies across the network.

e) Integration with Virtualization and Cloud Environments: Cisco ACI seamlessly integrates with virtualization platforms such as VMware vSphere and Microsoft Hyper-V and cloud environments like Amazon Web Services (AWS) and Microsoft Azure. This integration enables consistent policy enforcement and visibility across physical, virtual, and cloud infrastructures, enhancing agility and simplifying operations.

Cisco ACI — Policy‑Driven, Application‑Centric Networking

Cisco ACI (Application Centric Infrastructure) is Cisco’s flagship data‑center fabric built around policy‑driven automation, centralized control, and application‑aware networking. Instead of configuring individual switches, ACI abstracts the network into application policies, endpoint groups, and contracts. This creates a programmable, intent‑based fabric where the network automatically aligns with application requirements. Data analytics strengthens ACI by providing visibility into fabric health, policy behavior, endpoint movement, and application flows, ensuring that the fabric remains consistent, secure, and optimized.

Policy Model — Endpoint Groups, Contracts, and Intent

ACI’s core innovation is its policy model:

  • Endpoint Groups (EPGs) define logical groupings of workloads
  • Contracts define how EPGs communicate
  • Application Network Profiles (ANPs) map application tiers to policies
  • Tenants provide multi‑domain isolation

This model replaces traditional VLANs, ACLs, and manual segmentation with intent‑based policies. Analytics enhances this by identifying unused contracts, misaligned EPGs, shadow policies, and unexpected east‑west flows. With analytics, ACI’s policy model becomes adaptive and identity‑aware rather than static.

Fabric Architecture — Spine‑Leaf, VXLAN, and Distributed Control

ACI uses a spine‑leaf architecture with VXLAN overlays and a centralized policy controller (APIC). The fabric provides:

  • consistent forwarding across all leaf switches
  • distributed anycast gateways
  • scalable multi‑tenant segmentation
  • automated endpoint learning

Analytics correlates fabric telemetry—routing updates, VXLAN behavior, endpoint mobility, and link performance—to detect anomalies such as asymmetric routing, endpoint flapping, or misconfigured policies. This ensures the fabric remains stable and predictable even under dynamic workloads.

Security and Microsegmentation in ACI

ACI provides built‑in microsegmentation through EPGs and contracts. Security becomes application‑centric rather than IP‑centric. Analytics enhances ACI security by monitoring:

  • unusual endpoint movement
  • abnormal contract usage
  • unexpected east‑west communication
  • privilege escalation inside application tiers

This transforms ACI into a Zero Trust‑aligned data‑center fabric where segmentation is continuously validated and enforced.

Operational Visibility — Telemetry, Health Scores, and Assurance

ACI includes extensive telemetry and health scoring across:

  • fabric nodes
  • policies
  • endpoints
  • application flows

Analytics consumes this telemetry to provide deeper insights into performance, security, and policy alignment. Tools like ACI AppDynamics integration, Nexus Dashboard Insights, and fabric assurance engines use analytics to detect drift, highlight anomalies, and recommend remediation. ACI becomes a self‑optimizing fabric driven by real‑time intelligence.

ACI in Hybrid and Multi‑Cloud Architectures

ACI extends beyond the data center into cloud environments through ACI Anywhere and Cloud ACI. Policies can be pushed to AWS, Azure, and GCP, creating a unified segmentation and security model across hybrid environments. Analytics ensures consistency across on‑prem and cloud fabrics, detecting mismatches, drift, and cross‑cloud anomalies. This creates a seamless, policy‑driven hybrid architecture.

–ACI Architecture: Spine and Leaf–

To be used as ACI spines or leaves, Nexus 9000 switches must be equipped with powerful Cisco CloudScale ASICs manufactured using 16-nm technology. The following figure shows the Cisco ACI based on the Nexus 9000 series. Cisco Nexus 9300 and 9500 platform switches support Cisco ACI. As a result, organizations can use them as spines or leaves to utilize an automated, policy-based systems management approach fully. 

Cisco ACI Components
Diagram: Cisco ACI Components. Source is Cisco

**Hardware-based Underlay**

Server virtualization helped by decoupling workloads from the hardware, making the compute platform more scalable and agile. However, the server is not the main interconnection point for network traffic. So, we need to look at how we could virtualize the network infrastructure similarly to the agility gained from server virtualization.

**Mapping Network Endpoints**

This is carried out with software-defined networking and overlays that could map network endpoints and be spun up and down as needed without human intervention. In addition, the SDN architecture includes an SDN controller and an SDN network that enables an entirely new data center topology.

**Specialized Forwarding Chips**

In ACI, hardware-based underlay switching offers a significant advantage over software-only solutions due to specialized forwarding chips. Furthermore, thanks to Cisco’s ASIC development, ACI brings many advanced features, including security policy enforcement, microsegmentation, dynamic policy-based redirect (inserting external L4-L7 service devices into the data path), or detailed flow analytics—besides the vast performance and flexibility.

 

Cisco ACI • Fabric Mechanics

ACI Overlay & Underlay Lab

See how ACI builds the fabric: IS-IS provides the underlay, VXLAN carries the overlay, VTEPs connect endpoints, and COOP helps the fabric locate endpoints.
ACI FABRIC MECHANICS OVERLAY UNDERLAY ENDPOINTS VXLAN OVERLAY Leaf 1 VTEP Leaf 2 VTEP IS-IS UNDERLAY Spine Fabric transport Leaf 1 Underlay node Leaf 2 Underlay node COOP Endpoint database Server A Endpoint Server B Endpoint FABRIC TRANSPORT ATTACHMENT ATTACHMENT
IS-IS Underlay
VXLAN Overlay
COOP Control Plane
Endpoint Attachment
Selected Component
ACI Fabric Flow
Start here. ACI separates the physical transport network from the logical VXLAN overlay. Click a tab, node, or connection to explore how the pieces work together.
Technology
IS-IS + VXLAN + VTEP + COOP
Role
Build transport, carry overlay traffic, and locate endpoints.
Why it matters
This separation allows ACI to provide scalable fabric connectivity without making applications depend on the physical topology.

Cisco ACI Components

 Introduction to Leaf and Spine

The Cisco SDN ACI works with a Clos architecture, a fully meshed ACI network. Based on a spine leaf architecture. As a result, every Leaf is physically connected to every Spine, enabling traffic forwarding through non-blocking links. Physically, a leaf switch set creates a leaf layer attached to the spines in a full BIPARTITE graph. This means that each Leaf is connected to each Spine, and each Spine is connected to each Leaf. 

The ACI uses a horizontally elongated Leaf and Spine architecture with one hop to every host in an entirely messed ACI fabric, offering good throughput and convergence needed for today’s applications.

The ACI fabric: Does Not Aggregate Traffic

A key point in the spine-and-leaf design is the fabric concept, like a stretch network. One of the core ideas around a fabric is that it does not aggregate traffic. This does increase data center performance along with a non-blocking architecture. With the spine-leaf topology, we are spreading a fabric across multiple devices.

Required: Increased Bandwidth Available

The result of the fabric is that each edge device has the total bandwidth of the fabric available to every other edge device. This is one big difference from traditional data center designs; we aggregate the traffic by either stacking multiple streams onto a single link or carrying the streams serially.

Challenge: Oversubscription

With the traditional 3-tier design, we aggregate everything at the core, leading to oversubscription ratios that degrade performance. With the ACI Leaf and Spine design, we spread the load across all devices with equidistant endpoints, allowing us to carry the streams parallel.

Required: Routed Multipathing

Then, we have horizontal scaling load balancing.  Load balancing with this topology uses multipathing to achieve the desired bandwidth between the nodes. Even though this forwarding paradigm can be based on Layer 2 forwarding ( bridging) or Layer 3 forwarding ( routing), the ACI leverages a routed approach to the Leaf and Spine design, and we have Equal Cost Multi-Path (ECMP) for both Layer 2 and Layer 3 traffic. 

**Overlay and Underlay Design**

Mapping Traffic:

So you may be asking how we can have Layer 3 routed core and pass Layer 2 traffic. This is done using the overlay, which can map different traffic types to other overlays. So, we can have Layer 2 traffic mapped to an overlay over a routed core.

L3 active-active links: ACI links between the Leaf and the Spine switches are L3 active-active links. Therefore, we can intelligently load balance and traffic steer to avoid issues. We don’t need to rely on STP to block links or involve STP in fixing the topology.

Challenge: IP – Identity & Location

When networks were first developed, there was no such thing as an application moving from one place to another while it was in use. So, the original architects of IP, the communication protocol used between computers, used the IP address to indicate both the identity of a device connected to the network and its location on the network. Today, in the modern data center, we need to be able to communicate with an application or application tier, no matter where it is.

Required: Overlay Encapsulation

One day, it may be in location A and the next in location B, but its identity, which we communicate with, is the same on both days. An overlay is when we encapsulate an application’s original message with the location to which it needs to be delivered before sending it through the network. Once it arrives at its final destination, we unwrap it and deliver the original message as desired.

The identities of the devices (applications) communicating are in the original message, and the locations are in the encapsulation, thus separating the place from the identity. This wrapping and unwrapping is done on a per-packet basis and, therefore, must be done quickly and efficiently.

**Overlay and Underlay Components**

The Cisco SDN ACI has an overlay and underlay concept, which forms a virtual overlay solution. The role of the underlay is to glue together devices so the overlay can work and be built on top. So, the overlay, which is VXLAN, runs on top of the underlay, which is IS-IS. In the ACI, the IS-IS protocol provides the routing for the overlay, which is why we can provide ECMP from the Leaf to the Spine nodes. The routed underlay provides an ECMP network where all leaves can access Spine and have the same cost links. 

ACI overlay
Diagram: Overlay. Source Cisco

Underlay & Overlay Interaction

Example: 

Let’s take a simple example to illustrate how this is done. Imagine that application App-A wants to send a packet to App-B. App-A is located on a server attached to switch S1, and App-B is initially on switch S2. When App-A creates the message, it will put App-B as the destination and send it to the network; when the message is received at the edge of the network, whether a virtual edge in a hypervisor or a physical edge in a switch, the network will look up the location of App-B in a “mapping” database and see that it is attached to switch S2.

It will then put the address of S2 outside of the original message. So, we now have a new message addressed to switch S2. The network will forward this new message to S2 using traditional networking mechanisms. Note that the location of S2 is very static, i.e., it does not move, so using traditional mechanisms works just fine.

Upon receiving the new message, S2 will remove the outer address and thus recover the original message. Since App-B is directly connected to S2, it can easily forward the message to App-B. App-A never had to know where App-B was located, nor did the network’s core. Only the edge of the network, specifically the mapping database, had to know the location of App-B. The rest of the network only had to see the location of switch S2, which does not change.

Let’s now assume App-B moves to a new location switch S3. Now, when App-A sends a message to App-B, it does the same thing it did before, i.e., it addresses the message to App-B and gives the packet to the network. The network then looks up the location of App-B and finds that it is now attached to switch S3. So, it puts S3’s address on the message and forwards it accordingly. At S3, the message is received, the outer address is removed, and the original message is delivered as desired.

App-A did not track App-B’s movement at all. App-B’s address identified It, while the switch’s address, S2 or S3, identified its location. App-A can communicate freely with App-B no matter where It is located, allowing the system administrator to place App-B in any area and move it as desired, thus achieving the flexibility needed in the data center.

Multicast Distribution Tree (MDT)

We have a Multicast Distribution Tree MDT tree on top that is used to forward multi-destination traffic without having loops. The Multicast distribution tree is dynamically built to send flood traffic for specific protocols. Again, it does this without creating loops in the overlay network. The tunnels created for the endpoints to communicate will have tunnel endpoints. The tunnel endpoints are known as the VTEP. The VTEP addresses are assigned to each Leaf switch from a pool that you specify in the ACI startup and discovery process.

Normalize the transports

VXLAN tunnels in the ACI fabric normalize the transports in the ACI network. Therefore, traffic between endpoints can be delivered using the VXLAN tunnel, resulting in any transport network regardless of the device connecting to the fabric. 

So, using VXLAN in the overlay enables any network, and you don’t need to configure anything special on the endpoints for this to happen. The endpoints that connect to the ACI fabric do not need special software or hardware. The endpoints send regular packets to the leaf nodes they are connected to directly or indirectly. As endpoints come online, they send traffic to reach a destination.

Bridge Domains and VRF

Therefore, the Cisco SDN ACI under the hood will automatically start to build the VXLAN overlay network for you. The VXLAN network is based on the Bridge Domain (BD), or VRF ACI constructs deployed to the leaf switches. The Bridge Domain is for Layer 2, and the VRF is for Layer 3. So, as devices come online and send traffic to each other, the overlay will grow in reachability in the Bridge Domain or the VRF. 

Direct host routing for endoints

Routing within each tenant, VRF is based on host routing for endpoints directly connected to the Cisco ACI fabric. For IPv4, the host routing is based on the /32, giving the ACI a very accurate picture of the endpoints. Therefore, we have exact routing in the ACI.  In conjunction, we have a COOP database that runs on the Spines and offers remarkably optimized fabric to know where all the endpoints are located.

To facilitate this, every node in the fabric has a TEP address, and we have different types of TEPs depending on the device’s role. The Spine and the Leaf will have TEP addresses but will differ from each other.

COOP database
Diagram: COOP database

The VTEP and PTEP

The Leaf’s nodes are the Virtual Tunnel Endpoints (VTEP), which are also known as the physical tunnel endpoints (PTEP) in ACI. These PTEP addresses represent the “WHERE” in the ACI fabric where an endpoint lives. Cisco ACI uses a dedicated VRF and a subinterface of the uplinks from the Leaf to the Spines as the infrastructure to carry VXLAN traffic. In Cisco ACI terminology, the transport infrastructure for VXLAN traffic is known as Overlay-1, which is part of the tenant “infra.” 

**The Spine TEP**

The Spines also have a PTEP and an additional proxy TEP, which are used for forwarding lookups into the mapping database. The Spines have a global view of where everything is, which is held in the COOP database synchronized across all Spine nodes. All of this is done automatically for you.

**Anycast IP Addressing**

For this to work, the Spines have an Anycast IP address known as the Proxy TEP. The Leaf can use this address if they do not know where an endpoint is, so they ask the Spine for any unknown endpoints, and then the Spine checks the COOP database. This brings many benefits to the ACI solution, especially for traffic optimizations and reducing flooded traffic in the ACI. Now, we have an optimized fabric for better performance.

The ACI optimizations

**Mouse and elephant flow**

This provides better performance for load balancing different flows. For example, in most data centers, we have latency-sensitive flows, known as mouse flows, and long-lived bandwidth-intensive flows, known as elephant flows. 

The ACI has more precisely load-balanced traffic using algorithms that optimize mouse and elephant flows and distribute traffic based on flow lets: flow let load-balancing. Within a Leaf, Spine latency is low and consistent from port to port.

The max latency of a packet from one port to another in the architecture is the same regardless of the network size. So you can scale the network without degrading performance. Scaling is often done on a POD-by-POD basis. For more extensive networks, each POD would be its Leaf and Spine network.

**ARP optimizations: Anycast gateways**

The ACI comes by default with a lot of traffic optimizations. Firstly, instead of using an ARP and broadcasting across the network, that can hamper performance. The Leaf can assume that the Spine will know where the destination is ( and it does via the COOP database ), so there is no need to broadcast to everyone to find a destination.

If the Spine knows where the endpoint is, it will forward the traffic to the other Leaf. If not, it will drop it.

**Fabric anycast addressing**

This again adds performance benefits to the ACI solution as the table sizes on the Leaf switches can be kept smaller than they would if they needed to know where all the destinations were, even if they were not or never needed to communicate with them. On the Leaf, we have an Anycast address too.

These fabric Anycast addresses are available for Layer 3 interfaces. On the Leaf ToR, we can establish an SVI that uses the same MAC address on every ToR; therefore, when an endpoint needs to route to a ToR, it doesn’t matter which ToR you use. The Anycast Address is spread across all ToR leaf switches. 

**Pervasive gateway**

Now we have predictable latency to the first hop, and you will use the local route VRF table within that ToR instead of traversing the fabric to a different ToR. This is the Pervasive Gateway feature that is used on all Leaf switches. The Cisco ACI has many advanced networking features, but the pervasive gateway is my favorite. It does take away all the configuration mess we had in the past.

ACI Cisco: Integrations

  • Routing Control Platform

Then came along Cisco SDN ACI, the ACI Cisco, which operates differently from the traditional data center with an application-centric infrastructure. The Cisco application-centric infrastructure achieves resource elasticity with automation through standard policies for data center operations and consistent policy management across multiple on-premises and cloud instances.

  • Extending & Integrating the fabric

What makes the Cisco ACI interesting is its several vital integrations. I’m not talking about extending the data center with multi-pod and multi-site, for example, with AlgoSec, Cisco AppDynamics, and SD-WAN. AlgoSec enables secure application delivery and policy across hybrid network estates, while AppDynamic lives in a world of distributed systems Observability. SD-WAN enabled path performance per application with virtual WANs.

Cisco Multi-Pod Design

Cisco ACI Multi-Pod is part of the “Single APIC Cluster / Single Domain” family of solutions, as a single APIC cluster is deployed to manage all the interconnected ACI networks. These separate ACI networks are named “pods,” Each looks like a regular two-tier spine-leaf topology. The same APIC cluster can manage several pods, and to increase the resiliency of the solution, the various controller nodes that make up the cluster can be deployed across different pods.

ACI Multi-Pod
Diagram: Cisco ACI Multi-Pod. Source Cisco.

ACI Cisco and AlgoSec

With AlgoSec integrated with the Cisco ACI, we can now provide automated security policy change management for multi-vendor devices and risk and compliance analysis. The AlgoSec Security Management Solution for Cisco ACI extends ACI’s policy-driven automation to secure various endpoints connected to the Cisco SDN ACI fabric.

These simplify network security policy management across on-premises firewalls, SDNs, and cloud environments. They also provide visibility into ACI’s security posture, even across multi-cloud environments. 

ACI Cisco and AppDynamics 

Then, with AppDynamics, we are heading into Observability and controllability. Now, we can correlate app health and network for optimal performance, deep monitoring, and fast root-cause analysis across complex distributed systems with numbers of business transactions that need to be tracked.

This will give your teams complete visibility of your entire technology stack, from your database servers to cloud-native and hybrid environments. In addition, AppDynamics works with agents that monitor application behavior in several ways. We will examine the types of agents and how they work later in this post.

ACI Cisco and SD-WAN 

SD-WAN brings a software-defined approach to the WAN. These enable a virtual WAN architecture to leverage transport services such as MPLS, LTE, and broadband internet services. So, SD-WAN is not a new technology; its benefits are well known, including improving application performance, increasing agility, and, in some cases, reducing costs.

The Cisco ACI and SD-WAN integration makes active-active data center design less risky than in the past. The following figures give a high-level overview of the Cisco ACI and SD-WAN integration. For pre-information generic to SD-WAN, go here: SD-WAN Tutorial

SD WAN integration
Diagram: Cisco ACI and SD-WAN integration

The Cisco SDN ACI with SD-WAN integration helps ensure an excellent application experience by defining application Service-Level Agreement (SLA) parameters. Cisco ACI releases 4.1(1i) and adds support for WAN SLA policies. This feature enables admins to apply pre-configured policies to specify the packet loss, jitter, and latency levels for the tenant traffic over the WAN.

When you apply a WAN SLA policy to the tenant traffic, the Cisco APIC sends the pre-configured policies to a vManage controller. The vManage controller, configured as an external device manager that provides SDWAN capability, chooses the best WAN link that meets the loss, jitter, and latency parameters specified in the SLA policy.

Openshift and Cisco SDN ACI

OpenShift Container Platform (formerly known as OpenShift Enterprise) or OCP is Red Hat’s offering for the on-premises private platform as a service (PaaS). OpenShift is based on the Origin open-source project and is a Kubernetes distribution, the defacto for container-based virtualization. The foundation of the OpenShift networking SDN is based on Kubernetes and, therefore, shares some of the same networking technology along with some enhancements, such as the OpenShift route construct.

Other data center integrations

Cisco SDN ACI has another integration with Cisco DNA Center/ISE that maps user identities consistently to endpoints and apps across the network, from campus to the data center. Cisco Software-Defined Access (SD-Access) provides policy-based automation from the edge to the data center and the cloud.

Cisco SD-Access provides automated end-to-end segmentation to separate user, device, and application traffic without redesigning the network. This integration will enable customers to use standard policies across Cisco SD-Access and Cisco ACI, simplifying customer policy management using Cisco technology in different operational domains.

OpenShift and Cisco ACI

OpenShift does this with an SDN layer and enhances Kubernetes networking to create a virtual network across all the nodes. It is made with the Open Switch standard. For OpenShift SDN, this pod network is established and maintained by the OpenShift SDN, configuring an overlay network using a virtual switch called the OVS bridge. This forms an OVS network that gets programmed with several OVS rules. The OVS is a popular open-source solution for virtual switching.

OpenShift SDN plugin

We mentioned that you could tailor the virtual network topology to suit your networking requirements, which can be determined by the OpenShift SDN plugin and the SDN model you select. With the default OpenShift SDN, several modes are available. This level of SDN mode you choose is concerned with managing connectivity between applications and providing external access to them. Some modes are more fine-grained than others. The Cisco ACI plugins offer the most granular.

Integrating ACI and OpenShift platform

The Cisco ACI CNI plugin for the OpenShift Container Platform provides a single, programmable network infrastructure, enterprise-grade security, and flexible micro-segmentation possibilities. The APIC can provide all networking needs for the workloads in the cluster. Kubernetes workloads become fabric endpoints, like Virtual Machines or Bare Metal endpoints.

Cisco ACI CNI Plugin

The Cisco ACI CNI plugin extends the ACI fabric capabilities to OpenShift clusters to provide IP Address Management, networking, load balancing, and security functions for OpenShift workloads. In addition, the Cisco ACI CNI plugin connects all OpenShift Pods to the integrated VXLAN overlay provided by Cisco ACI.

Cisco SDN ACI and AppDynamics

AppDynamis overview

So, an application requires multiple steps or services to work. These services may include logging in and searching to add something to a shopping cart. These services invoke various applications, web services, third-party APIs, and databases, known as business transactions.

The user’s critical path

A business transaction is the essential user interaction with the system and is the customer’s critical path. Therefore, business transactions are the things you care about. If they start to go, your system will degrade. So, you need ways to discover your business transactions and determine if there are any deviations from baselines. This should also be automated, as learning baseline and business transitions in deep systems is nearly impossible using the manual approach.

So, how do you discover all these business transactions?

AppDynamics automatically discovers business transactions and builds an application topology map of how the traffic flows. A topology map can view usage patterns and hidden flows, acting as a perfect feature for an Observability platform.

AppDynamic topology

AppDynamics will automatically discover the topology for all of your application components. It can then build a performance baseline by capturing metrics and traffic patterns. This allows you to highlight issues when services and components are slower than usual.

AppDynamics uses agents to collect all the information it needs. The agent monitors and records the calls that are made to a service. This is from the entry point and follows executions along its path through the call stack. 

Types of Agents for Infrastructure Visibility

If the agent is installed on all critical parts, you can get information about that specific instance, which can help you build a global picture. So we have an Application Agent, Network Agent, and Machine Agent for Server visibility and Hardware/OS.

  • App Agent: This agent will monitor apps and app servers, and example metrics will be slow transitions, stalled transactions, response times, wait times, block times, and errors.  
  • Network Agent: This agent monitors the network packets, TCP connection, and TCP socket. Example metrics include performance impact Events, Packet loss, and retransmissions, RTT for data transfers, TCP window size, and connection setup/teardown.
  • Machine Agent Server Visibility: This agent monitors the number of processes, services, caching, swapping, paging, and querying. Example Metrics include hardware/software interrupts, virtual memory/swapping, process faults, and CPU/DISK/Memory utilization by the process.
  • Machine Agent: Hardware/OS – disks, volumes, partitions, memory, CPU. Example metrics: CPU busy time, MEM utilization, and pieces file.

Automatic establishment of the baseline

A baseline is essential, a critical step in your monitoring strategy. Doing this manually is hard, if not impossible, with complex applications. It is much better to have this done automatically. You must automatically establish the baseline and alert yourself about deviations from it.

This will help you pinpoint the issue faster and resolve it before it can be affected. Platforms such as AppDynamics can help you here. Any malicious activity can be seen from deviations from the security baseline and performance issues from the network baseline.

Cisco ACI • Policy & Application Flow

ACI Policy & Application Flow Lab

Follow how ACI turns application requirements into policy: Tenant → VRF → Bridge Domain → EPG → Contract → Application Flow.
ACI POLICY MODEL TENANT & NETWORK CONTEXT APPLICATION GROUPS POLICY APPLICATION FLOW Tenant Administrative container NETWORK CONTEXT VRF Layer 3 routing context Bridge Domain Endpoint network Web EPG Web application endpoints App EPG Application endpoints CONTRACT ALLOWED APPLICATION FLOW Web Servers Endpoint group App Servers Endpoint group
Tenant / VRF
Network
EPG
Contract
Application Flow
Selected Component
ACI Policy Model
ACI expresses application connectivity through a hierarchy of objects. Start at the Tenant and follow the model down to the application flow.
Object
Tenant → VRF → Bridge Domain → EPG
Policy
Contracts define which EPGs can communicate.
Why it matters
ACI lets administrators describe application connectivity as policy rather than configuring every individual switch interface.

Summary: Cisco ACI Components

In the ever-evolving world of networking, organizations are constantly seeking ways to enhance their infrastructure’s performance, security, and scalability. Cisco ACI (Application Centric Infrastructure) presents a cutting-edge solution to these challenges. By unifying physical and virtual environments and leveraging network automation, Cisco ACI revolutionizes how networks are built and managed.

Understanding Cisco ACI Architecture

At the core of Cisco ACI lies a robust architecture that enables seamless integration between applications and the underlying network infrastructure. The architecture comprises three key components:

1. Application Policy Infrastructure Controller (APIC):

The APIC serves as the centralized management and policy engine of Cisco ACI. It provides a single point of control for configuring and managing the entire network fabric. Through its intuitive graphical user interface (GUI), administrators can define policies, allocate resources, and monitor network performance.

2. Nexus Switches:

Cisco Nexus switches form the backbone of the ACI fabric. These high-performance switches deliver ultra-low latency and high throughput, ensuring optimal data transfer between applications and the network. Nexus switches provide the necessary connectivity and intelligence to enable the automation and programmability features of Cisco ACI.

3. Application Network Profiles:

Application Network Profiles (ANPs) are a fundamental aspect of Cisco ACI. ANPs define the policies and characteristics required for specific applications or application groups. By encapsulating network, security, and quality of service (QoS) policies within ANPs, administrators can streamline the deployment and management of applications.

The Power of Network Automation

One of the most compelling aspects of Cisco ACI is its ability to automate network provisioning, configuration, and monitoring. Through the APIC’s powerful automation capabilities, network administrators can eliminate manual tasks, reduce human errors, and accelerate the deployment of applications. With Cisco ACI, organizations can achieve greater agility and operational efficiency, enabling them to rapidly adapt to evolving business needs.

Security and Microsegmentation with Cisco ACI

Security is a paramount concern for every organization. Cisco ACI addresses this by providing robust security features and microsegmentation capabilities. With microsegmentation, administrators can create granular security policies at the application level, effectively isolating workloads and preventing lateral movement of threats. Cisco ACI also integrates with leading security solutions, enabling seamless network enforcement and threat intelligence sharing.

Conclusion

Cisco ACI is a game-changer in the realm of network automation and infrastructure management. Its innovative architecture, coupled with powerful automation capabilities, empowers organizations to build agile, secure, and scalable networks. By leveraging Cisco ACI’s components, businesses can unlock new levels of efficiency, flexibility, and performance, ultimately driving growth and success in today’s digital landscape.

zero trust network design

Zero Trust SASE

Zero Trust SASE

The traditional network perimeter has become increasingly difficult to define. Users work from offices, homes, mobile devices, and third-party locations, while applications and data are distributed across private data centres, SaaS platforms, and public clouds. In this environment, security cannot depend solely on whether a connection originates from a trusted corporate network. Organizations need a way to evaluate access continuously while delivering security and connectivity closer to users and applications.

Zero Trust provides the security model for this approach. Its core principle is that access should not be automatically trusted simply because a user or device is inside a particular network. Authentication and authorization should consider factors such as user identity, device posture, application, location, risk, and the sensitivity of the requested resource. Access can then be granted according to policy and the level of access actually required.

SASE, or Secure Access Service Edge, addresses the architectural side of the problem. It brings networking and security capabilities together through a distributed, cloud-delivered model designed to support users and applications wherever they are located. Instead of forcing all traffic through a traditional central data centre, security and connectivity services can be positioned closer to users, branches, and cloud resources.

A SASE architecture can incorporate capabilities such as secure web gateways, cloud-delivered firewalls, Zero Trust Network Access, security controls, and data protection services. The exact combination varies between implementations and vendors, but the broader objective is consistent: provide secure, policy-driven access without depending on a fixed network perimeter.

The combination of Zero Trust principles with SASE can simplify how organizations approach distributed access. Identity, device context, application requirements, security policy, and network connectivity can be evaluated together rather than treated as completely separate functions. This can help reduce unnecessary access while providing users with more direct and consistent connectivity to the applications they need.

The model also changes how security teams think about visibility and control. Rather than focusing only on network boundaries, they need to understand who is accessing an application, from which device, under what conditions, and what activity occurs after access is granted. Monitoring and policy enforcement therefore become continuous parts of the architecture rather than one-time decisions at the network edge.

Zero Trust and SASE should not be viewed as a single product or a quick replacement for existing security infrastructure. They represent architectural approaches that require careful consideration of identity, applications, devices, connectivity, security controls, legacy systems, and operational processes. When these elements are designed together, Zero Trust and SASE can provide a more adaptable security architecture for organizations operating across distributed users, networks, and cloud environments.

Zero Trust SASE • Risk-Based Access

Zero Trust Access Decision

See how identity, device posture and context are evaluated before access is granted. Zero Trust does not automatically trust the user simply because they are on a known network.

ACCESS DECISION ENGINE
User Request Who is requesting access? Identity User • role • authentication • MFA Device Posture Healthy • managed • compliant Context Location • time • behaviour • resource Risk & Policy Engine Evaluate trust against policy ALLOW Trusted request MFA Verify again LIMITED Restrict access DENY Block request
LEARNING PANEL
Selected

Trusted User

A trusted request still passes through the Zero Trust decision process. Trust is evaluated rather than assumed.

IDENTITY Authenticated user with valid MFA
DEVICE Managed and compliant
CONTEXT Normal behaviour and expected resource
DECISION ALLOW — application access granted

Highlights: Zero Trust SASE

Innovative Security Framework

Zero Trust SASE is an innovative security framework that combines Zero Trust principles with Secure Access Service Edge (SASE) architecture. It emphasizes continuous verification and validation of every user, device, and network resource attempting to access an organization’s network, regardless of location. By adopting a zero-trust approach, organizations can enhance security by eliminating the assumption of trust and implementing stricter access controls.

1. Note: Zero Trust SASE is built upon several key components to create a robust and comprehensive security framework. These components include identity and access management, multi-factor authentication, network segmentation, encryption, continuous monitoring, and threat intelligence integration. Each element is crucial in strengthening network security and protecting against evolving cyber threats.

2. Note: Both SASE and ZTNA are essential components of modern security architecture. However, they are two different solutions. SASE provides a comprehensive, multi-faceted security framework, while ZTNA is a more narrowly focused model focused on limiting resource access, which is a part of SAS

SASE + Zero Trust — Unified Secure Access for Modern Networks

SASE (Secure Access Service Edge) and Zero Trust form a unified architecture for securing modern distributed environments. SASE delivers networking and security controls through a cloud‑based framework, while Zero Trust defines how access should be verified, limited, and continuously monitored. Together, they replace legacy perimeter‑based models with identity‑driven, context‑aware access that follows users, devices, and applications wherever they operate. SASE provides the delivery mechanism—SD‑WAN, SWG, CASB, FWaaS, ZTNA—while Zero Trust provides the decision engine, enforcing least‑privilege access and continuous verification.

— Identity as the Foundation of Secure Access

Zero Trust requires explicit verification of every user, device, and session. Identity becomes the primary control point, replacing network location as the basis for trust. SASE operationalizes this by applying identity‑aware policies at distributed cloud enforcement points rather than centralized data centers. This ensures consistent protection across remote workers, branch sites, and cloud workloads. Identity signals—user role, device posture, authentication strength, and behavioral context—drive access decisions, aligning with NIST Zero Trust principles.

— Continuous Verification and Context‑Aware Access

Zero Trust eliminates implicit trust by continuously evaluating risk throughout the session. SASE enforces this through ZTNA, SWG, CASB, and FWaaS delivered at the cloud edge. Every request is assessed based on identity, device health, location, application sensitivity, and behavioral anomalies. If risk increases—unusual commands, suspicious cloud activity, degraded device posture—policies tighten automatically. This adaptive enforcement ensures that access is always aligned with real‑time context rather than static rules.

— Replacing VPNs with Application‑Level Access

Zero Trust SASE replaces traditional VPNs with ZTNA, granting access only to specific applications rather than entire network segments. This eliminates over‑privileged access and reduces lateral movement risk. Users connect directly to the application they are authorized to use, not the network. This model is especially critical as hybrid work expands and VPN concentrators become bottlenecks and security liabilities. ZTNA inside SASE becomes the modern remote‑access architecture.

— Cloud‑Delivered Security at the Edge

SASE shifts security from centralized appliances to distributed cloud points of presence (PoPs). SWG, CASB, DNS security, FWaaS, and ZTNA are applied close to users and applications, improving performance and reducing backhaul. This cloud‑delivered model supports hybrid work, SaaS adoption, and multi‑cloud architectures by enforcing consistent policies across all edges—branch, remote, and cloud. Zero Trust ensures that these policies are identity‑driven and continuously validated.

— Zero Trust SASE — One Policy Engine for All Traffic

Zero Trust SASE unifies private‑app access, web traffic inspection, SaaS governance, and WAN security under a single policy engine. Identity, device posture, data sensitivity, and application behavior feed into one decision framework. This ensures that least‑privilege access applies not only to private applications but also to SaaS, AI traffic, encrypted channels, and cloud workloads. Modern Zero Trust SASE platforms integrate AI visibility, DLP, and app control to secure data paths—not just ports and protocols.

**Challenge: The Lag in Security** 

Today’s digital transformation and strategy initiatives require speed and agility in I.T. However, there is a lag, and that lag is with security. Security can either hold them back or not align with the fluidity needed for agility. As a result, we have decreased an organization’s security posture, which poses a risk that needs to be managed. We have a lot to deal with, such as the rise in phishing attacks, mobile malware, fake public Wi-Fi networks, malicious apps, and data leaks. Therefore, we have new requirements that SASE can help with.

Zero Trust Security

Zero Trust Security is a paradigm shift from the traditional perimeter-based security model. It operates on the principle of “never trust, always verify.” Unlike the old approach, where users and devices were granted broad access once inside the network, Zero Trust Security treats every user, device, and network segment as potentially untrusted. This enhanced approach minimizes the risk of unauthorized access and lateral movement within the network.

Continuous Verification & Strict Access Control

Zero Trust is a security model that operates on the principle of never trusting any network or user by default. It emphasizes continuous verification and strict access control to mitigate potential threats. With Zero Trust, organizations adopt a granular approach to security, ensuring that every user, device, and application is authenticated and authorized before accessing any resources.

Zero Trust SASE Through Unified Access & Steering

This lab demonstrates how Zero Trust SASE evaluates every access request using identity, posture, and behavioural signals before allowing traffic to move across the network. By analysing trustScore, anomalyScore, burst‑traffic behaviour, device posture, and identity tokens, the Zero Trust SASE engine builds a complete security context for each session. This lightweight model shows learners how Zero Trust SASE continuously validates both the user and the device before any routing or access decision is made.

Unified Access and Steering

When the Zero Trust SASE server receives a request, it calculates a risk score that reflects identity strength, posture health, and behavioural stability. This risk score drives the enforcement outcome, shifting the session between allow, MFA‑required, limited‑access, or deny. Because the test payload represents a trusted and stable session, the Zero Trust SASE engine returns an allow decision. This makes it easy for learners to see how Zero Trust SASE uses risk to adapt its security posture in real time.Zero Trust Engine

The Zero Trust SASE lab provides full visibility into how access decisions are made. The server prints the payload, headers, risk breakdown, and final enforcement action, while the client displays the JSON decision returned by the engine. This end‑to‑end flow illustrates how Zero Trust SASE merges identity validation, posture assessment, and behavioural analytics into a single enforcement pipeline. With this foundation in place, learners can expand into more advanced Zero Trust SASE topics such as microsegmentation, continuous authentication, and dynamic session re‑evaluation.
Zero Trust Enforcement Engine

Zero Trust SASE Through Behaviour‑Driven Trust

This lab demonstrates how Zero Trust SASE strengthens security by evaluating every client request using behavioural signals rather than relying solely on identity or tokens. By analysing request frequency, metadata consistency, and error patterns, the system builds a dynamic trust profile for each client. This ensures that Zero Trust SASE policies continuously validate every action, preventing risky behaviour from moving across the edge‑to‑cloud environment.

The risk engine applies weighted rules to burst‑traffic spikes, identity mismatches, repeated failures, and trust‑score influence to generate a single risk value. This multi‑factor scoring model reflects how Zero Trust SASE depends on combining diverse indicators to detect anomalies across distributed branches, cloud edges, and secure gateways. As risk increases, the system escalates its security posture, shifting from normal to monitored to quarantine service to protect the SASE fabric.

Once the risk score is computed, the steering engine selects the appropriate response path. Low‑risk behaviour is routed normally, medium‑risk behaviour is monitored, and high‑risk behaviour is quarantined. This adaptive routing illustrates how Zero Trust SASE enforces dynamic segmentation, ensuring that suspicious behaviour triggers stronger controls while legitimate application flows continue securely across the network.

Zero Trust SASE Through Identity‑Centric Access Control

This server file demonstrates how Zero Trust SASE begins with strict identity validation before any traffic is allowed to reach protected services. The login endpoint issues JWT tokens that act as authenticated identity credentials, mirroring how SASE platforms verify users before granting access to cloud or edge resources. The JWT middleware enforces continuous authentication, ensuring that every request is checked rather than relying on any implicit trust. By anchoring all routing decisions to verified identity, the application reflects the Zero Trust SASE principle that access must always be authenticated, authorized, and continuously validated

SD WAN Policy

Once identity is confirmed, the application applies Zero Trust SASE logic by evaluating multiple contextual attributes—user role, application version, and client IP—to determine how traffic should be routed. This mirrors how SASE engines combine identity, device posture, application metadata, and network origin to enforce granular access policies. The policy engine dynamically selects the correct backend service based on these combined factors, demonstrating how Zero Trust SASE uses layered, context‑driven checks to classify flows and apply precise routing decisions across distributed cloud environments. Every request is steered according to explicit policy rather than network location or assumed trust.SDN WAN Node Js

The overall behavior of this file showcases how Zero Trust SASE can be implemented through dynamic segmentation and secure path selection. After a request passes identity validation and policy evaluation, the application determines the correct backend service, effectively creating isolated service paths based on role, version, and network origin. This reflects SASE architectures where segmentation is enforced through identity‑driven policy rather than static network boundaries, ensuring that each flow reaches only the services it is authorized to access. By combining identity, metadata, and IP context, the application demonstrates how Zero Trust SASE delivers adaptive, policy‑driven control over traffic movement across cloud and edge environments.
SD WAN security testing
SD WAN Security testing

Knowledge Checks: Microsegmentation

**Understanding Microsegmentation**

Microsegmentation is a network security technique that involves creating secure zones within a data center, enabling organizations to isolate different workloads from each other. This isolation limits the potential for lateral movement by attackers, thereby reducing the attack surface. Unlike traditional network segmentation, which often relies on physical barriers, microsegmentation uses software-defined policies to manage and secure traffic between segments.

**Benefits of Microsegmentation**

The primary advantage of microsegmentation is its ability to provide granular security controls. By implementing policies at the workload level, organizations can tailor security measures to specific applications and data. This not only enhances protection but also improves compliance with regulatory standards. Additionally, microsegmentation offers greater visibility into network traffic, allowing for more effective monitoring and threat detection.

Challenge: Large Segments with VLANs

Example Technology: Network Endpoint Groups

#### What Are Network Endpoint Groups?

Network Endpoint Groups are collections of endpoints, which can be instances, IP addresses, or other network entities, that share the same configuration within Google Cloud. NEGs are pivotal for managing traffic and balancing loads across multiple endpoints, ensuring that applications remain available and performant even under heavy demand. This flexibility allows businesses to seamlessly scale their operations without compromising on efficiency or security.

#### Types of Network Endpoint Groups

Google Cloud provides different types of NEGs to cater to various networking needs:

1. **Zonal NEGs**: These are used for backend services within a single zone, offering reliability and low-latency connections.

2. **Internet NEGs**: Designed for external services, these endpoints can reside outside of Google Cloud, enabling effective hybrid cloud architectures.

3. **Serverless NEGs**: Perfect for serverless applications, these allow you to integrate Cloud Run, App Engine, and Cloud Functions with your load balancer.

Each type serves distinct use cases, making it vital to choose the right NEG for your specific application requirements.

**Understanding Micro-segmentation**

Microsegmentation is a critical strategy in modern network management, providing a method to improve security by dividing a network into smaller, isolated segments. This approach ensures that any potential security breaches are contained and do not spread across the network. In the context of Google Cloud, NEGs can be effectively used to implement microsegmentation. By creating smaller, controlled segments, you can enforce security policies more rigorously, reducing the risk of unauthorized access and enhancing the overall security posture of your applications.


network endpoint groups

**The SASE Concept**

Gartner coined the SASE concept after seeing a pattern emerge in cloud and SD-WAN projects where full security integration was needed. We now refer to SASE as a framework and a security best practice. SASE leverages multiple security services into a framework approach.

The idea of SASE was not far from what we already did, which was integrating numerous security solutions into a stack that ensured a comprehensive, layered, secure access solution. By calling it a SASE framework, the approach to a complete solution somehow felt more focused than what the industry recognized as a best security practice.

The security infrastructure and decisions must become continuous and adaptive, not static, that formed the basis of traditional security methods. Consequently, we must enable real-time decisions that balance risk, trust, and opportunity. As a result, security has beyond a simple access control list (ACL) and zone-based segmentation based on VLANs. In reality, no network point acts as an anchor for security.

Example Technology: IPv6 Access Lists 

Many current network security designs and technologies were not designed to handle all the traffic and security threats we face today. This has forced many to adopt multiple-point products to address the different requirements. Remember that for every point product, there is an architecture to deploy, a set of policies to configure, and a bunch of logs to analyze. I find correlating logs across multiple-point product solutions used in different domains hard.

For example, a diverse team may operate the secure web gateways (SWG) to that of the virtual private network (VPN) appliances. It could be the case that these teams work in silos and are in different locations.

Zero Trust SASE requirements:

  1. Information hiding: SASE requires clients to be authenticated and authorized before accessing protected assets, regardless of whether the connection is inside or outside the network perimeter.
  2. Mutually encrypted connections: SASE uses the full TLS standard to provide mutual, two-way cryptographic authentication. Mutual TLS provides this and goes one step further to authenticate the client.
  3. Need to know the access model: SASE employs a need-to-know access model. As a result, SASE permits the requesting client to view only the resources appropriate to the assigned policy.
  4. Dynamic access control: SASE deploys a dynamic firewall that starts with one rule – deny all. Then, requested communication is dynamically inserted into the firewall, providing an active firewall security policy instead of static configurations.
  5. Identity-driven access control: SASE provides adaptive, identity-aware, precision access for those seeking more precise access and session control to applications on-premises and in the cloud.

Starting Zero Trust

Endpoint Security 

Understanding ARP (Address Resolution Protocol)

ARP is a vital network communication protocol that maps an IP address to a physical MAC address. By maintaining an ARP table, endpoints can efficiently communicate within a network. 

Routes and gateways act as the pathways for data transmission between networks. Safeguarding these routes is crucial to ensure network integrity. We will discuss the significance of secure routing protocols, such as OSPF and BGP, and how they contribute to endpoint security. 

Netstat, short for Network Statistics, is a powerful command-line tool providing detailed information about network connections and statistics. This section will highlight the importance of using netstat for monitoring endpoint security. From identifying active connections to detecting suspicious activities, netstat empowers administrators to protect their networks proactively.

Understanding SELinux

SELinux is a robust security framework built into the Linux kernel. It provides fine-grained access control policies and mandatory access controls (MAC) to enforce system-wide security policies. Unlike traditional Linux discretionary access controls (DAC), SELinux operates on the principle of least privilege, ensuring that only authorized actions are allowed.

Organizations can establish a robust security posture for their endpoints by combining SELinux with zero trust principles. SELinux provides granular control over system resources, enabling administrators to define strict policies based on user roles, processes, and system components. This ensures that even if an endpoint is compromised, the attacker’s lateral movement and potential damage are significantly limited.

### Understanding Authentication in Vault

Authentication is the process of verifying the identity of a user or system. In Vault, this is achieved through various authentication methods such as tokens, AppRole, LDAP, GitHub, and more. Each method serves different use cases, allowing flexibility and scalability in managing access. Vault ensures that only authenticated users can access sensitive data, thus mitigating the risk of unauthorized access.

—

### The Role of Authorization

While authentication verifies identity, authorization determines what authenticated users can do. Vault uses policies to define the actions that users and applications can perform. These policies are written in HashiCorp Configuration Language (HCL) or JSON, and they provide a fine-grained control over access to secrets. By segregating duties and defining clear access levels, Vault helps prevent privilege escalation and minimizes the risk of data exposure.

—

### Managing Identity with Vault

Vault’s identity management capabilities allow organizations to unify identities across various platforms. By integrating with identity providers and managing roles and entities, Vault simplifies user management and enhances security. This integration ensures that user credentials are consistently verified and that access rights are updated as roles change, reducing the risk of stale credentials being exploited.

—

Vault

Use Case: WAN Edge Performance Routing

SASE & Performance-Based Routing

Performance-based routing is a dynamic routing technique that selects the best path for network traffic based on real-time performance metrics. Traditional routing protocols often follow static routes, leading to suboptimal network performance. However, performance-based routing leverages latency, packet loss, and bandwidth availability metrics to make informed routing decisions. By continuously evaluating these metrics, networks can adapt and reroute traffic to ensure optimal performance.

Google Cloud & IAP

**Understanding the Basics of IAP**

At its core, Identity-Aware Proxy is a security service that acts as a gatekeeper for applications and resources. It ensures that only authenticated and authorized users can access specific web applications hosted on cloud platforms. Unlike traditional security models that rely on network-level access controls, IAP takes a user-centric approach, verifying identity and context before granting access. This method not only strengthens security but also simplifies access management across distributed environments.

**The Role of IAP in Google Cloud**

Google Cloud offers a versatile and integrated approach to using IAP, making it an attractive option for organizations leveraging cloud services. With Google Cloud’s IAP, businesses can secure their web applications and VMs without the need for traditional VPNs or complex network configurations. This section will delve into how Google Cloud implements IAP, highlighting its seamless integration with other Google Cloud services and the ease with which it can be deployed. By utilizing Google Cloud’s IAP, businesses can streamline their security operations and focus on delivering value to their customers.

**Benefits of Using Identity-Aware Proxy**

The advantages of implementing IAP are manifold. Firstly, it enhances security by enforcing granular access controls based on user identity and context. This reduces the risk of unauthorized access and potential data breaches. Secondly, IAP simplifies the user experience by enabling single sign-on (SSO) capabilities, allowing users to access multiple applications with a single set of credentials. Additionally, IAP’s integration with existing identity providers ensures that businesses can maintain a consistent security policy across their entire IT ecosystem.

Identity aware proxy

 

Zero Trust SASE • Least Privilege

Zero Trust Micro-Perimeter Lab

Compare broad network access with application-level access. ZTNA creates a smaller security boundary around the application instead of placing the user directly onto the network.

APPLICATION-LEVEL ACCESS
User Identity + device ZTNA Identity + Context Least Privilege Application Policy Application A Approved application ACCESS ALLOWED Application B Policy permitted ACCESS ALLOWED Database Higher privilege ACCESS BLOCKED
LEARNING PANEL
Selected

ZTNA Model

The user is not placed directly onto the network. Access is granted to specific applications based on identity and policy.

ACCESS MODEL Application-level access
TRUST BOUNDARY Micro-perimeter around the application
SECURITY RESULT Reduced lateral movement

Zero Trust SASE

Many challenges to existing networks and infrastructure create big security holes and decrease security posture. In reality, several I.T. components give the entity more access than required. We have considerable security flaws with using I.P. addresses as a security anchor and static locations; the virtual private networks (VPN) and demilitarized zone (DMZ) architectures used to establish access are often configured to allow excessive implicit trust.  

##Challenge 1: The issue with a DMZ

The DMZ is the neutral network between the Internet and your organization’s private network. It’s protected by a front-end firewall that limits Internet traffic to specific systems within its zone. The DMZ can have a significant impact on security if not appropriately protected. Remote access technologies such as VPN or RDP, often located in the DMZ, have become common targets of cyberattacks. One of the main issues I see with the DMZ is that the bad actors know it’s there. It may be secured, but it’s visible.

##Challenge 2: The issue with the VPN

In basic terms, a VPN provides an encrypted server and hides your IP address. However, the VPN does not secure users when they land on a network segment and is based on coarse-grained access control where the user has access to entire network segments and subnets. Traditionally, once you are on a segment, there will be no intra-filtering on that segment. That means all users in that segment need the same security level and access to the same systems, but that is not always the case. 

GRE without IPsec GRE with IPsec

##Challenge 3: permissive network access

VPNs generally provide broad, overly permissive network access with only fundamental access control limits based on subnet ranges. So, the traditional VPN provides overly permissive access and security based on I.P. subnets. Note: The issue with VLAN-based segmentation is large broadcast domains with free-for-all access. This represents a larger attack surface where lateral movements can take place. Below is a standard VLAN-based network running Spanning Tree Protocol ( STP ).

## Challenge 4: Security-based on trust

Much of the non-zero trust security architecture is based on trust, which bad actors abuse. On the other hand, examining a SASE overview includes zero trust networking and remote access as one of its components, which can adaptively offer the appropriate trust required at the time and nothing more. It is like providing a narrow segmentation based on many contextual parameters continuously assessed for risk to ensure the users are who they are and that the entities, either internal or external to the network, are doing what they are supposed to do.

**Removes excessive trust**

A core feature of SASE and Zero Trust is that it removes the excessive trust once required to allow entities to connect and collaborate. Within a zero-trust environment, our implicit trust in traditional networks is replaced with explicit identity-based trust with a default denial. With an identity-based trust solution, we are not just looking at IP addresses to determine trust levels. After all, they are just binary, deemed a secure private or a less trustworthy public. This assumption is where all of our problems started. They are just ones and zeros.

## Challenge 5: IP for Location and Identity 

To improve your security posture, it would be best to stop relying primarily on IP addresses and network locations as a proxy for trust. We have been doing this for decades. There is minimal context in placing a policy with legacy constructs. To determine the trust of a requesting party, we need to examine multiple contextual aspects, not just IP addresses.

And the contextual aspects are continuously assessed for security posture. This is a much better way to manage risk and allows you to look at the entire picture before deciding to enter the network or access a resource.

Example: Firewall Tagging

Firewall tags

1) SASE: First attempt to 

Organizations have adopted different security technologies to combat these changes and include them in their security stack. Many of the security technologies are cloud-based services. Some of these services include the cloud-based secure web gateway (SWG), content delivery network [CDN], and web application firewall [WAF].

A secure web gateway (SWG) protects users from web-based threats and applies and enforces acceptable corporate use policies. A content delivery network (CDN) is a geographically distributed group of servers that works together to deliver Internet content quickly. A WAF, or web application firewall, helps protect web applications by filtering and monitoring HTTP traffic between them and the Internet.

The data center is the center of the universe.

However, even with these welcomed additions to security, the general trend was that the data center is still the center of most enterprise networks and network security architectures. Let’s face it: These designs are becoming ineffective and cumbersome with the rise of cloud and mobile technology. Traffic patterns have changed considerably, and so has the application logic.

2) SASE: Second attempt to

The next attempt was for a converged cloud-delivered secure access service edge (SASE) to accomplish this shift in the landscape. And that is what SASE architecture does. As you know, the SASE architecture relies on multiple contextual aspects to establish and adapt trust for application-level access. It does not concern itself with significant VLANs and broad-level access or believe that the data center is the center of the universe. Instead, the SASE architecture is often based on PoPs, where each PoP acts as the center of the universe.

The SASE definition and its components are a transformational architecture that can combat many of these discussed challenges. A SASE solution converges networking and security services into one unified, cloud-delivered solution that includes the following core capabilities of sase.

From the network side of things: SASE in networking:

    1. Software-defined wide area network (SD-WAN)
    2. Virtual private network (VPN)
    3. Zero Trust Network ZTN
    4. Quality of service (QoS)
    5. Software-defined perimeter (SDP)

Example SDP Technology: VPC Service Controls

**What are VPC Service Controls?**

VPC Service Controls are a security feature offered by Google Cloud that allows organizations to define a security perimeter around their cloud resources. This perimeter helps prevent unauthorized access to sensitive data and provides an additional layer of protection against potential threats. By using VPC Service Controls, you can restrict access to your resources based on specific criteria, ensuring that only trusted entities can interact with your data.

**Key Benefits of Implementing VPC Service Controls**

Implementing VPC Service Controls offers several key benefits for organizations seeking to enhance their cloud security:

1. **Enhanced Data Security**: By creating a security perimeter around your cloud resources, you can reduce the risk of data breaches and ensure that sensitive information remains protected.

2. **Granular Access Control**: VPC Service Controls allow you to define access policies based on various factors such as source IP addresses, user identities, and more. This granular control ensures that only authorized users can access your resources.

3. **Simplified Compliance**: For organizations operating in regulated industries, compliance with data protection laws is critical. VPC Service Controls simplify the process of meeting regulatory requirements by providing a robust security framework.

4. **Seamless Integration**: Google Cloud’s VPC Service Controls integrate seamlessly with other Google Cloud services, allowing you to maintain a consistent security posture across your entire cloud environment.

**Setting Up VPC Service Controls**

Getting started with VPC Service Controls is a straightforward process. First, identify the resources you want to protect and define the security perimeter around them. Next, configure access policies to control who can access these resources and under what conditions. Google Cloud provides detailed documentation and tools to guide you through the setup process, ensuring a smooth implementation.

**Best Practices for Using VPC Service Controls**

To maximize the effectiveness of your VPC Service Controls, consider the following best practices:

– **Regularly Review Access Policies**: Periodically review and update access policies to ensure they align with your organization’s security requirements and industry standards.

– **Monitor and Audit Activity**: Use Google Cloud’s monitoring and logging tools to track access to your resources and identify any potential security incidents.

– **Educate Your Team**: Ensure that your team is well-versed in the use of VPC Service Controls and understands the importance of maintaining a secure cloud environment.

VPC Security Controls VPC Service Controls

From the security side of things, SASE capabilities in security:

    1. Firewall as a service (FWaaS)
    2. Domain Name System (DNS) security
    3. Threat prevention
    4. Secure web gateways
    5. Data loss prevention (DLP)
    6. Cloud access security broker (CASB)

Example Technology: The Web Security Scanner

### How Google Cloud’s Web Security Scanner Works

Google Cloud’s Web Security Scanner is a robust solution that integrates seamlessly with the Google Cloud environment. It automatically scans your web applications for common vulnerabilities, such as cross-site scripting (XSS), mixed content, and outdated libraries. The scanner’s intuitive interface provides detailed reports, highlighting potential issues and offering actionable recommendations for mitigation. This automation not only saves time but also ensures that your applications remain secure as you continue to develop and deploy new features.

### Key Features and Benefits

One of the standout features of Google Cloud’s Web Security Scanner is its ability to perform authenticated scans. This means it can test parts of your web application that require user login, ensuring a comprehensive security assessment. Additionally, the scanner is designed to work seamlessly with other Google Cloud services, making it a convenient choice for those already invested in the Google ecosystem. Its cloud-native architecture ensures that it scales efficiently to meet the needs of businesses, big and small.

### Best Practices for Using Web Security Scanners

To get the most out of your web security scanner, it’s important to integrate it into your continuous integration and deployment processes. Regularly scanning your applications ensures that any new vulnerabilities are promptly identified and addressed. Additionally, consider using the scanner alongside other security tools to create a multi-layered defense strategy. Training your development team on common security pitfalls can also help prevent vulnerabilities from being introduced in the first place.

security web scanner

SASE changes the focal point to the identity of the user and device. With traditional network design, we have the on-premises data center, considered the universe’s center. With SASE, that architecture changes this to match today’s environment and moves the perimeter to the actual user, devices, or PoP with some SASE designs. In contrast to traditional enterprise networks and security architectures, the internal data center is the focal point for access. 

Example Product: Cisco Meraki

### What is Cisco Meraki?

Cisco Meraki is a suite of cloud-managed IT solutions that include wireless, switching, security, EMM (Enterprise Mobility Management), and security cameras, all centrally managed from the web. The Meraki dashboard provides powerful and intuitive tools to manage your entire network from a single pane of glass. This holistic approach ensures that businesses can maintain robust security protocols without compromising on ease of management.

### Key Features of Cisco Meraki

#### Cloud-Based Management

One of the standout features of Cisco Meraki is its cloud-based management. This allows for real-time monitoring, configuration, and troubleshooting from anywhere in the world. With automatic updates and seamless scalability, businesses can ensure their network is always up-to-date and secure.

#### Advanced Security Features

Cisco Meraki offers a range of advanced security features designed to protect your network from various threats. These include intrusion detection and prevention systems (IDS/IPS), advanced malware protection (AMP), and content filtering. By leveraging these tools, businesses can safeguard their data and maintain the integrity of their network.

#### Simplified Deployment

Deploying a traditional network can be a complex and time-consuming task. Cisco Meraki simplifies this process with zero-touch provisioning, which allows devices to be pre-configured and managed remotely. This reduces the need for on-site technical expertise and accelerates the deployment process.

### Benefits of Using Cisco Meraki for Network Security

#### Centralized Control

The centralized control offered by the Meraki dashboard enables IT teams to manage multiple sites from a single interface. This not only streamlines operations but also ensures consistent security policies across all locations.

#### Scalability

As businesses grow, their network needs evolve. Cisco Meraki’s scalable solutions allow for easy expansion without the need for significant infrastructure changes. This flexibility ensures that businesses can adapt to changing demands without compromising on security.

#### Cost Efficiency

By reducing the need for on-site hardware and simplifying management, Cisco Meraki can lead to significant cost savings. Additionally, the reduced need for technical expertise can lower operational costs, making it an attractive option for businesses looking to optimize their IT budget.

VPN Security Scenario 

  • Challenge: Traditional remote access VPNs

Remote access VPNs are primarily built to allow users outside the perimeter firewall to access resources inside the perimeter firewall. As a result, they often follow a hub-and-spoke architecture, with users connected by tunnels of various lengths depending on their distance from the data center. Traditional VPNs introduce a lot of complexity. For example, what do you do if you have multiple sites where users need to access applications? In this scenario, the cost of management would be high. 

  • Challenge: Tunnel based on I.P

What’s happening here is that the tunnel creates an extension between the client device and the application location. The tunnel is based on IP addresses on the client device and the remote application. Now that there is I.P. connectivity between the client and the application, the network where the application is located is extended to the client.

However, the client might not sit in an insecure hotel room or from home. These may not be sufficiently protected, and such locations should be considered insecure. The traditional VPN has many issues to deal with. It is user-initiated, and policy often permits split-tunnel VPNs without Internet or cloud traffic inspection.

SASE: A zero-trust VPN solution

A SASE solution encompasses VPN services and enhances the capabilities of operating in cloud-based infrastructure to route traffic. On the other hand, with SASE, the client connects to the SASE PoP, which carries out security checks and forwards the request to the application. A SASE design still allows clients to access the application, but they can only access that specific application and nothing more, like a stripped-down VLAN known as a micro-segmentation.

Restricting Lateral Movements

Clients must pass security controls, and no broad-level access is susceptible to lateral movements. Access control is based on an allowlist rather than the traditional blocklist rule. Also, other variables present in the request context are used instead of using I.P. addresses as the client identifier. As a result, the application is now the access path, not the network.

Simplified Management & Policy Control

So, no matter what type of VPN services you use, the SASE provides a unified cloud to connect to instead of backhauling to a VPN gateway—simplifying management and policy control. Well-established technologies such as VPN, secure web gateway, and firewall are being reviewed and reassessed in Zero Trust remote access solutions as organizations revisit approaches that have been in place for over a decade. 

A recommendation: SASE and SD-WAN

The value of SD-WAN is high. However, it also brings many challenges, including new security risks. In some of my consultancies, I have seen unreliable performance and increased complexity due to the need for multiple overlays. Also, these overlays need to terminate somewhere, and this will be at a hub site.  However, when combined with SASE, the SD-WAN edge devices can be connected to a cloud-based infrastructure rather than the physical SD-WAN hubs. This brings the value of interconnectivity between branch sites without the complexity of deploying or managing physical Hub sites.

Zero Trust SASE: Vendor considerations

SASE features converge various individual components into one connected, cloud-delivered service, making it easy to control policies and behaviors. The SASE architecture is often based on a PoP design. When examining the SASE vendor, the vendor’s PoP layout should be geographically diverse, with worldwide entry and exit points. 

Also, considerations should be made regarding the vendor’s edge/physical infrastructure providers or colocation facilities. We can change your security posture, but we can’t change the speed of light and the laws of physics.

Consider how the SASE vendor routes traffic in their PoP fabric. Route optimization should be performed at each PoP. Some route optimizations are for high availability, while others are for performance. Does the vendor offer cold-potato or hot-potato routing? The cold-potato routing means bringing the end-user device into the provider’s network as soon as possible. On the other hand, “hot-potato routing” means the end user’s traffic traverses more of the public Internet.

The following is a list of considerations to review when discussing SASE with your preferred cybersecurity vendor:

A. Zero Trust SASE requirements: Information hiding:

Secure access service requires clients to be authenticated and authorized before accessing protected assets, regardless of whether the connection is inside or outside the network perimeter. Then, real-time encrypted connections are created between the requesting client and the protected asset. As a result, all SASE-protected servers and services are hidden from all unauthorized network queries and scan attempts.

You can’t attack what you can’t see.

The base for network security started by limiting visibility – you cannot attack what you cannot see. Public and private IP addresses range from separate networks. This was the biggest mistake we ever made as I.P. addresses are just binary, whether they are deemed public or private. If a host were assigned a public address and wanted to communicate with a host with a private address, it would need to go through a network address translation (NAT) device and have a permit policy set.

Understanding Port Knocking

Port knocking is a technique that enables secure and controlled access to network services. Traditionally, network ports are open and accessible, leaving systems vulnerable to unauthorized access. However, with port knocking, access to specific ports is only granted after a predefined sequence of connection attempts is made to other closed ports. This sequence acts as a virtual “knock” on the door, allowing authorized users to gain access while keeping malicious actors at bay.

To fully comprehend port knocking, let’s explore its inner mechanics. When users wish to access a specific service, they must first send connection attempts to a series of closed ports in a particular order. This sequence acts as a secret handshake, notifying the server that the user is authorized. Once the correct sequence is detected, the server dynamically opens the desired port, granting access to the requested service. It’s like having a hidden key that unlocks the door to a secure sanctuary.

Security based on the visibility

Network address translation is mapping an IP address space into another by modifying network address information in the IP header of packets while they are in transit across a traffic routing device. Limiting visibility this way works to a degree, but we cannot ignore the fact that a) if you have someone’s IP address, you can reach them, and b) if a port is open, you can potentially connect to it.

Therefore, the traditional security method can open your network wide for compromise, especially when bad actors have all the tools. However, finding, downloading, and running a port scanning tool is not hard.

“Nmap,” for Network Mapper, is the most widely used port scanning tool. Nmap works by checking a network for hosts and services. Once found, the software platform sends information to those hosts and services, responding. Nmap reads and interprets the response and uses the data to create a network map.

Example: Understanding Lynis

Lynis is an open-source security auditing tool for discovering vulnerabilities on Unix, Linux, and macOS systems. It comprehensively analyzes the system’s configuration and provides valuable insights into potential security weaknesses. By scanning the system against a vast database of known security issues, Lynis helps identify areas for improvement.

Lynis runs a series of tests and audits on the target system. It examines various aspects, including file permissions, system settings, available software packages, and network configurations. Lynis generates a detailed report highlighting any identified vulnerabilities or potential security gaps by analyzing these factors. This report becomes a valuable resource for system administrators and security professionals to take necessary actions and mitigate risks.

Example: Single Packet Authorization

Zero-trust network security hides information and infrastructure through lightweight protocols such as single-packet authorization (SPA). No internal IP addresses or DNS information is shown, creating an invisible network. As a result, we have zero visibility and connectivity, only establishing connectivity after clients prove they can be trusted to allow legitimate traffic. Now, we can have various protected assets hidden regardless of location: on-premise, public or private clouds, a DMZ, or a server on the internal LAN, in keeping with today’s hybrid environment.

Default-drop dynamic firewall

This approach mitigates denial-of-service attacks. Anything internet-facing is reachable on the public Internet and, therefore, susceptible to bandwidth and server denial-of-service attacks. The default-drop firewall is deployed, with no visible presence to unauthorized users. Only good packets are allowed. Single packet authorization (SPA) also provides for attack detection.

If a host receives anything other than a valid SPA packet or similar construct, it views that packet as part of a threat. The first packet to a service must be a valid SPA packet or similar security construct.

If it receives another packet type, it views this as an attack, which is helpful for bad packet detection. Therefore, SPA can determine an attack based on a single malicious packet, a highly effective way to detect network-based attacks. Thus, external network and cross-domain attacks are detected.

B. Zero Trust SASE architecture requirements: Mutually encrypted connections:

Transport Layer Security ( TLS ) is an encryption protocol that protects data when it moves between computers. When two computers send data, they agree to encrypt the information in a way they both understand. Transport layer security (TLS) was designed to provide mutual device authentication before enabling confidential communication over the public Internet. However, the standard TLS configuration validates that the client is connected to a trusted entity. So, typical TLS adoptions authenticate servers to clients, not clients to servers. 

Mutually encrypted connections

SASE uses the full TLS standard to provide mutual, two-way cryptographic authentication. Mutual TLS provides this and goes one step further to authenticate the client. Mutual TLS connections are set up between all components in the SASE architecture. Mutual Transport Layer Security (mTLS) establishes an encrypted TLS connection in which both parties use X. 509 digital certificates to authenticate each other.

MTLS can help mitigate the risk of moving services to the cloud and prevent malicious third parties from imitating genuine apps. This offers robust device and user authentication, as connections from unauthorized users and devices are mitigated. Secondly, forged certificates, which are attacks aimed at credential theft, are disallowed. This will reduce impersonation attacks, where a bad actor can forge a certificate from a compromised authority.

C. Need to know the access model: Zero Trust SASE architecture requirements

Thirdly, SASE employs a need-to-know access model. As a result, SASE permits the requesting client to view only the resources appropriate to the assigned policy. Users are associated with their devices, which are validated based on policy. Only connections to the specifically requested service are enabled, and no other connection is allowed to any other service. SASE provides additional information, such as who made the connection, from what device, and to what service.

This gives you complete visibility into all the established connections, which is hard to do without an IP-based solution. So now we have a contextual aspect of determining the level of risk. As a result, it makes forensics easier. The SASE architecture only accepts good packets; bad packets can be analyzed and tracked for forensic activities.

Key Point: Device validation

Secondly, it enforces device validation, which helps against threats from unauthorized devices. We can examine the requesting user and perform device validation. Device validation ensures that the machine runs on trusted hardware and is used by the appropriate user.

Finally, suppose a device becomes compromised. In that case, lateral movements are entirely locked down, as a user is only allowed access to the resource it is authorized to. Or they could be placed into a sandbox zone where human approval must intervene and assess the situation.

D. Dynamic access control: Zero Trust SASE architecture requirements

This traditional type of firewall is limited in scope as it cannot express or enforce rules based on identity information, which you can with zero trust identity. Attempting to model identity-centric control with the limitations of the 5-tuple, SASE can be used alongside traditional firewalls and take over the network access control enforcement that we try to do with conventional firewalls. SASE deploys a dynamic firewall that starts with one rule – deny all.

Then, requested communication is dynamically inserted into the firewall, providing an active firewall security policy instead of static configurations. For example, every packet hitting the firewall is inspected with a single packet authentication (SPA) and then quickly verified for a connection request. 

Key Point: Dynamic firewall

Once established, the firewall is closed again. Therefore, the firewall is dynamically opened only for a specific period. The connections made are not seen by rogues outside the network or the user domain within the network. Allows dynamic, membership-based enclaves that prevent network-based attacks.

The SASE dynamically binds users to devices, enabling those users to access protected resources by dynamically creating and removing firewall rules.  Access to protected resources is facilitated by dynamically creating and removing inbound and outbound access rules. Therefore, we now have more precise access control mechanisms and considerably reduced firewall rules.

**Micro perimeter**

Traditional applications were grouped into VLANs whether they offered similar services or not. Everything on that VLAN was reachable. The VLAN was a performance construct to break up broadcast domains, but it was pushed into the security world and never meant to be there. 

Its prime use was to increase performance. However, it was used for security in what we know as traditional zone-based networking. The segments in zone-based networks are too large and often have different devices with different security levels and requirements.

Key Points:

A. Logical-access boundary: SASE enables this by creating a logical access boundary encompassing a user and an application or set of applications. And that is it—nothing more and nothing less. Therefore, we have many virtual micro perimeters specific to the business instead of the traditional main inside/outside perimeter. Virtual perimeters allow you to grant access to the particular application, not the underlying network or subnet.

B. Reduce the attack surface: The smaller micro perimeters reduce the attack surface and limit the need for excessive access to all ports and protocols or all applications. These individualized “virtual perimeters” encompass only the user, the device, and the application. They are created and specific to the session and then closed again when it is over or if the risk level changes and the device or user needs to perform setup authentication.

C. Software-defined perimeter (SDP): SASE only grants access to the specific application at an application layer. The SDP part of SASE now controls which devices and applications can access distinctive services at an application level. Permitted by a policy granted by the SDP part of SASE, machines can only access particular hosts and services and cannot access network segments and subnets.

**Reduced: Broad Network Access**

Broad network access is eliminated, reducing the attack surface to an absolute minimum. SDP provides a fully encrypted application communication path. However, the binding application permits only authorized applications to communicate through the established encrypted tunnels, thus blocking all other applications from using them. This creates a dynamic perimeter around the application, including connected users and devices. Furthermore, it offers a narrow access path—reducing the attack surface to an absolute minimum.

E. Identity-driven access control: Zero Trust SASE architecture requirements

Traditional network solutions provide coarse-grained network segmentation based on someone’s IP address. However, someone’s IP address is not a good security hook and does not provide much information about user identity. SASE enables the creation of microsegmentation based on user-defined controls, allowing a 1-to-1 mapping, unlike with a VLAN, where there is the potential to see everything within that VLAN.

Identity-aware access: SASE provides adaptive, identity-aware, precision access for those seeking more precise access and session control to applications on-premises and in the cloud. Access policies are primarily based on user, device, and application identities. The procedure is applied independent of the user’s physical location or the device’s I.P. address, except where it prohibits it. This brings a lot more context to policy application. Therefore, if a bad actor gains access to one segment in the zone, they are prevented from compromising any other network resource.

Detecting Authentication Failures in Logs:

Syslog: Useful Security Technology

Syslog, short for System Logging Protocol, is a standard for message logging within computer systems. It collects various log entries from different sources and stores them in a centralized location. Syslog is a valuable resource for detecting security events as it captures information about system activities, errors, and warnings.

Auth.log is a specific type of log file that focuses on authentication-related events in Unix-based operating systems. It records user logins, failed login attempts, password changes, and other authentication activities. Analyzing auth.log can provide vital insights into potential security breaches, such as brute-force attacks or suspicious login patterns.

Now that we understand the importance of syslog and auth.log, let’s delve into some effective techniques for detecting security events in these files. One widely used approach is log monitoring, where automated tools analyze log entries in real time, flagging suspicious or malicious activities. Another technique is log correlation, which involves correlating events across multiple log sources to identify complex attack patterns.

Zero Trust SASE • Cloud Security Edge

SASE Secure Access Flow

SASE brings networking and security services together at distributed cloud edges. The user request is inspected and policy is enforced before reaching the protected application.

SECURE ACCESS PATH
Remote User Identity + device SASE PoP Distributed security edge Policy inspection Identity-aware enforcement Traffic optimization ZTNA Private applications SWG Web security CASB SaaS visibility FWaaS Cloud firewall Policy Inspect Allow / Block Protected App Only approved access
LEARNING PANEL
Selected

SASE PoP

A SASE Point of Presence brings security enforcement closer to users and applications.

ROLE Distributed security edge
TRAFFIC Identity-aware inspection
RESULT Only policy-approved traffic continues

Summary: Zero Trust SASE

Traditional security measures are no longer sufficient in today’s rapidly evolving digital landscape, where remote work and cloud-based applications have become the norm. Enter Zero Trust Secure Access Service Edge (SASE), a revolutionary approach that combines network security and wide-area networking into a unified framework. In this blog post, we explored the concept of Zero Trust SASE and its implications for the future of cybersecurity.

Understanding Zero Trust

Zero Trust is a security framework that operates under the “never trust, always verify.” It assumes no user or device should be inherently trusted, regardless of location or network. Instead, Zero Trust focuses on continuously verifying and validating identity, access, and security parameters before granting any level of access.

The Evolution of SASE

Secure Access Service Edge (SASE) represents a convergence of network security and wide-area networking capabilities. It combines security services, such as secure web gateways, firewall-as-a-service, and data loss prevention, with networking functionalities like software-defined wide-area networking (SD-WAN) and cloud-native architecture. SASE aims to provide comprehensive security and networking services in a unified, cloud-delivered model.

The Benefits of Zero Trust SASE:

a) Enhanced Security: Zero Trust SASE brings a holistic approach to security, ensuring that every user and device is continuously authenticated and authorized. This reduces the risk of unauthorized access and mitigates potential threats.

b) Improved Performance: By leveraging cloud-native architecture and SD-WAN capabilities, Zero Trust SASE optimizes network traffic, reduces latency, and enhances overall performance.

c) Simplified Management: A unified security and networking framework can streamline organizations’ management processes, reduce complexity, and achieve better visibility and control over their entire network infrastructure.

Implementing Zero Trust SASE

a) Comprehensive Assessment: Before adopting Zero Trust SASE, organizations should conduct a thorough assessment of their existing security and networking infrastructure, identify vulnerabilities, and define their security requirements.

b) Architecture Design: Organizations must design a robust architecture that aligns with their needs and integrates Zero Trust principles into their existing systems. This may involve deploying virtualized security functions, adopting SD-WAN technologies, and leveraging cloud services.

c) Continuous Monitoring and Adaptation: Zero Trust SASE is an ongoing process that requires continuous monitoring, analysis, and adaptation to address emerging threats and evolving business needs. Regular security audits and updates are crucial to maintaining a solid security posture.

Conclusion: Zero Trust SASE represents a paradigm shift in cybersecurity, providing a comprehensive and unified approach to secure access and network management. By embracing the principles of Zero Trust and leveraging the capabilities of SASE, organizations can enhance their security, improve performance, and simplify their network infrastructure. As the digital landscape continues to evolve, adopting Zero Trust SASE is not just an option—it’s necessary to safeguard our interconnected world’s future.

microservices development

Microservices Observability

NETWORK INSIGHT · MICROSERVICES OBSERVABILITY

Monitoring Microservices: Understanding the Distributed System

Modern applications are no longer confined to a single server or a single execution environment. A request may cross API gateways, independently deployed services, container platforms, databases and external dependencies before producing a response.

This distributed architecture introduces flexibility, scalability and independent deployment. However, it also creates a fundamental operational challenge: understanding what is happening when application behaviour becomes unpredictable.

A service may appear healthy while its downstream dependency is experiencing high latency. An application may return successful responses while its performance gradually deteriorates. A single failing dependency can trigger retries, queue growth and cascading delays across multiple services.

The engineering challenge: Knowing that an application is slow is not enough. Engineers need to determine which request was affected, which services participated, where the delay originated, and how the problem propagated through the architecture.

From Application Request to Operational Insight

A conceptual request journey across independently deployed microservices

01
Client Request Application entry point
02
API Gateway Routing and ingress
03
Order Service Application logic
04
Database Persistent dependency
M
Metrics

Request rate, latency, errors and resource saturation.

L
Logs

Detailed events, exceptions, state changes and context.

T
Distributed Traces

Request paths, span relationships and execution timing.

Unified Observability

Correlating telemetry across services helps engineers connect symptoms to dependencies, identify bottlenecks and investigate failures.

01 / DETECT Recognise Degradation

Identify abnormal latency, rising error rates, unusual traffic patterns and resource pressure.

02 / CORRELATE Connect the Signals

Bring together metrics, logs and traces to understand the behaviour of a distributed request.

03 / INVESTIGATE Find the Cause

Follow service dependencies, identify critical paths and isolate likely sources of failure.

Throughout this engineering guide, we will explore how monitoring evolves into observability, how distributed tracing exposes the critical path, how metrics and structured logs provide operational evidence, and how instrumentation, cloud-native monitoring and automated investigation help maintain reliable microservices applications.
Microservices • Observability

Microservices Observability Explorer

Understand how metrics, logs and distributed traces work together to reveal what is happening inside a distributed application.

OBSERVABILITY SIGNALS
Microservices Application Distributed services and dependencies Metrics Rate • Errors • Latency Saturation • Throughput Logs Events • Errors • State Detailed forensic data Distributed Traces Trace ID • Spans End-to-end request path Unified Observability Correlate metrics + logs + traces Investigate the Failure Detect • correlate • explain
LEARNING PANEL
Selected

Unified Observability

Observability becomes powerful when different telemetry signals are correlated rather than examined independently.

QUESTION What is happening?
SIGNAL Metrics + logs + traces
VALUE Connect symptoms to causes
01 MICROSERVICES OBSERVABILITY · SECTION 01

Microservices Monitoring: From Visibility to Understanding

Microservices change how applications are designed, deployed and operated. Instead of running application functionality inside a single tightly integrated system, individual services are distributed across containers, hosts, clusters and cloud environments.

This architecture provides teams with greater flexibility to develop and scale individual services. However, it also introduces new operational complexity. Services communicate over networks, depend on external systems and may be deployed independently by different engineering teams.

A single user transaction may involve authentication, application logic, payment processing, databases, message queues and external APIs. Understanding the health of any individual component does not necessarily explain the behaviour of the complete transaction.

The central challenge is the growing distance between the cause of a failure and its visible effect. A database slowdown may first appear as an API latency problem. A failing downstream service may cause upstream retries, increasing traffic and resource consumption across otherwise healthy services.

01 / Architecture Evolution

From Monolithic Applications to Distributed Services

Traditional monolithic applications generally package multiple functional components into a common deployment unit. While these applications can still be complex and distributed, engineers often have fewer independently deployed services and network boundaries to investigate.

Microservices separate application capabilities into independently deployable components. Each service may have its own runtime, scaling characteristics, logs, metrics and operational dependencies.

Monolithic Architecture Shared Deployment
Application Runtime
Authentication
Business Logic
Data Access
Application Monitoring

Multiple application capabilities operate within a common deployment boundary.

Microservices Architecture Distributed Deployment
API Gateway
Auth Service
Order Service
Data Service

Independently deployed services communicate through APIs and network connections.

The operational difference is significant. In a monolithic application, engineers may investigate application logs, runtime performance and database activity within a relatively consolidated environment.

In a microservices architecture, the same investigation may require correlating telemetry from dozens or hundreds of services, container instances, orchestration components and network connections.

02 / Distributed System Challenges

Why Microservices Are Difficult to Monitor

The characteristics that make microservices attractive also introduce new failure modes. Independent deployments, elastic scaling and distributed communication make the application more dynamic, but they also reduce the usefulness of monitoring components in isolation.

01
Obscured Failure Paths

The source of a failure may be several service calls away from the user-facing symptom. Dependencies can hide the original cause of degradation.

02
Independent Components

Services have different release cycles, scaling behaviour and operational states. One service can fail while others continue operating.

03
Decentralised Execution

Hundreds of service instances may run across multiple hosts and clusters. Requests must be correlated across changing infrastructure.

These challenges become particularly visible during partial failures. An application does not always fail completely. Instead, a small percentage of requests may experience high latency, timeouts or inconsistent results.

Traditional infrastructure checks may report that every server is reachable and that CPU utilization remains within acceptable limits, while customers continue experiencing degraded application performance.

03 / Cascading Failures

How a Single Dependency Can Affect the Entire Application

Microservices are independently deployed, but they are not operationally independent. A request frequently depends on several downstream services completing their work within an acceptable time.

When one dependency slows down, upstream services may wait longer for responses. Retries can increase traffic, connection pools may become exhausted and queues may begin to grow. Without suitable timeouts, backpressure and resilience controls, a local problem can spread across the application.

Example: Cascading Latency Incident
STAGE 01 Database Slowdown Queries exceed their normal response time.
STAGE 02 Service Latency The order service waits for database responses.
STAGE 03 Retry Pressure Timeouts and retries increase application load.
STAGE 04 User Impact API requests become slow or fail.

Engineering observation: The API gateway may report increased request latency, even though the original problem is a database dependency several service boundaries away. This is an illustrative failure scenario, not a live telemetry measurement.

This illustrates why monitoring individual components is insufficient. Engineers need visibility into service relationships, request dependencies, execution timing and the propagation of failures across the distributed system.

04 / Monitoring and Observability

Monitoring Tells Us What Happened. Observability Helps Explain Why.

Monitoring and observability are closely related, but they address different aspects of operating distributed applications.

Monitoring focuses on collecting and evaluating known indicators of system health. Engineers define measurements, dashboards and alerts that identify expected failure conditions or performance deviations.

Observability extends this capability by providing enough contextual telemetry to investigate system behaviour, including failure modes that were not anticipated when monitoring rules were created.

M
Traditional Monitoring
What is happening?

Monitoring tracks known conditions using predefined metrics, health checks, thresholds and alerts.

  • Is the service available?
  • Has CPU utilization increased?
  • Is the error rate above its threshold?
  • Has response time exceeded its objective?
O
System Observability
Why is it happening?

Observability connects telemetry and execution context to investigate unexpected system behaviour.

  • Which dependency caused the delay?
  • Which requests were affected?
  • Where did the failure propagate?
  • What changed before degradation began?

Monitoring remains essential. Alerts, dashboards and service health indicators provide the initial signals that something requires attention. Observability makes those signals more useful by enabling deeper investigation into their causes.

For example, a monitoring system may detect that the 99th-percentile request latency has increased. Distributed tracing can identify which downstream operation consumed the additional time, while structured logs may reveal a database timeout, connection error or unexpected application state.

05 / Visibility Models

White-Box and Black-Box Monitoring

Effective microservices monitoring combines external observations with telemetry collected from inside applications and infrastructure.

B
Black-Box Monitoring

Observes a system from the outside, using synthetic requests, endpoint checks and externally measured availability or latency. It helps determine whether the service behaves correctly from a user's perspective.

W
White-Box Monitoring

Uses internal instrumentation to expose application state, request processing, resource consumption, dependencies and execution details. It helps engineers investigate why the system behaves as it does.

Both approaches are necessary. Black-box monitoring validates the externally observable experience, while white-box monitoring provides internal evidence for diagnosing failures.

A service can pass internal health checks while failing to deliver acceptable end-user performance. Conversely, an external failure may be difficult to diagnose without internal metrics, logs and distributed traces.

06 / Engineering Perspective

Observe the Request, Not Just the Infrastructure

The most important unit of investigation is often the complete user request. Engineers need to understand the sequence of operations that contributed to the response, including service execution, network communication, database queries and external calls.

This requires connecting application-level telemetry with infrastructure and platform signals. Kubernetes pod restarts, network timeouts, service-mesh errors, database saturation and application exceptions may all contribute to the same incident.

A reliable observability strategy therefore extends beyond collecting large volumes of data. It requires meaningful instrumentation, consistent metadata, service dependency context and the ability to correlate signals across the application.

Network Insight · Engineering Principle

A healthy component does not guarantee a healthy application. Microservices reliability must be evaluated across the complete request path. The goal is to connect application symptoms to the services, dependencies and infrastructure conditions responsible for them.

Section 01 — Key Engineering Takeaways
✓ Microservices introduce distributed dependencies, independently deployed components and more complex failure paths.
✓ Local service health does not necessarily represent end-to-end application health.
✓ Monitoring detects known symptoms, while observability provides context for investigating unexpected behaviour.
✓ Black-box and white-box monitoring provide complementary perspectives on system reliability.
✓ Understanding complete request journeys is essential for diagnosing cascading failures and distributed latency.
02
NEXT SECTION Metrics, Logs & Distributed Traces
01 Interactive Engineering Lab

Microservices Architecture Explorer

Investigate a distributed checkout platform. Select services to inspect their health, inject failures, execute requests and observe how dependency problems affect the wider application.

ALL SERVICES HEALTHY
Healthy Degraded Failed

Select any service node to inspect its simulated metrics and dependencies. Animated links show the most recent request path. This is an educational model, not a live Kubernetes or APM connection.

Requests 0
Success Rate —
Last Latency —
Distributed Request Trace No request yet
Select a scenario and press Send Request to generate a trace.
✓
Architecture Ready

Start with the healthy scenario, then inject a dependency failure to investigate how microservices propagate errors.

Engineering principle: A service can be locally healthy while an end-to-end transaction fails because one of its dependencies is unavailable or slow. This simplified simulation assumes sequential payment and inventory calls, with no retries, caching or fallback behaviour.
02 MICROSERVICES OBSERVABILITY · SECTION 02

Metrics, Logs & Distributed Traces

Understanding a distributed application requires more than knowing whether its individual services are running. Engineers must observe performance trends, investigate individual events and reconstruct how requests move between services.

Three complementary telemetry signals form the foundation of modern microservices observability: metrics, logs and distributed traces. Each provides a different perspective on application behaviour, and each becomes more valuable when correlated with the others.

Metrics describe measurable system behaviour over time. Logs record individual events and application context. Distributed traces reconstruct operations across service boundaries, helping engineers understand request execution and dependency timing.

The objective is not simply to collect three independent datasets. It is to connect them so that an abnormal metric can lead to a specific request trace, which can then lead to the relevant application logs.

01 / The Three Observability Signals

Three Perspectives on the Same Distributed System

A microservices application produces different types of operational information. These signals answer different engineering questions and are suited to different forms of analysis.

M
Metrics
How is the system performing?

Aggregated numerical measurements reveal changes in traffic, latency, errors, resource utilization and saturation.

Example: p99 latency = 850 ms
L
Logs
What events occurred?

Structured event records capture errors, exceptions, state transitions and contextual application information.

Example: database connection timeout
T
Traces
Where did the request spend time?

Distributed spans reconstruct the request journey and expose timing, service dependencies and failures.

Example: Order Service → Database
◎
Correlated Observability

Shared service metadata, trace context and consistent instrumentation connect telemetry into a coherent investigation.

None of these signals is a complete substitute for the others. Metrics provide efficient aggregated visibility but often lack individual request detail. Logs can expose precise events but may not show the complete request path. Traces provide execution context but can be affected by sampling and instrumentation gaps.

02 / Metrics

Metrics: Quantifying Application Health

Metrics are numerical measurements recorded over time. They allow engineers to observe how system behaviour changes, compare current performance against a baseline and identify conditions that require investigation.

Common microservices metrics include request throughput, response latency, error rates, resource utilization, queue depth and connection-pool saturation.

Understanding Time-Series Metrics

A metric measurement generally combines a value with a timestamp and identifying attributes or labels.

For example, request latency can be analysed by service, endpoint, deployment or region, provided the metric instrumentation includes the appropriate dimensions.

  • Request rate measures incoming demand.
  • Error rate identifies failed operations.
  • Latency percentiles reveal slow requests.
  • Saturation indicates resource pressure.
Illustrative Service Metrics
Request throughput 1,250 req/s
p50 latency 42 ms
p99 latency 850 ms
HTTP 5xx error rate 3.2%
CPU utilization 68%

Percentile latency measurements are particularly important. An average response time may appear acceptable even when a subset of users experiences severe delays. The 99th-percentile latency, commonly called p99, describes a threshold at or below which approximately 99% of measured requests fall within the selected measurement window.

Tools such as Prometheus collect and store time-series metrics, while Grafana and other visualization platforms help engineers build dashboards and investigate performance trends.

Metrics should also be designed with storage efficiency in mind. Adding labels creates additional time series, and high-cardinality dimensions such as unique user identifiers or individual request IDs can significantly increase collection and storage costs.

03 / Logs

Logs: Detailed Evidence of Application Behaviour

Logs record individual events generated by applications, infrastructure components and supporting platforms. They provide contextual evidence about errors, authentication activity, configuration changes, service lifecycle events and unexpected application states.

In distributed environments, unstructured text messages are difficult to correlate across independently deployed services. Structured logging improves searchability by representing events using consistent fields and formats.

Structured Logging

A structured log record can contain a timestamp, severity, service name, operation, trace identifier and error details.

Consistent fields make it possible to search across services and connect events belonging to the same distributed request.

  • Timestamp identifies when an event occurred.
  • Service name identifies its source.
  • Trace ID links events to a request.
  • Severity distinguishes event importance.
  • Error context supports investigation.
Example JSON Application Log
{ "timestamp": "2026-11-06T14:32:10Z", "service": "order-service", "severity": "ERROR", "trace_id": "4bf92f...", "operation": "create-order", "error": "database timeout" }

Centralized logging platforms collect events from multiple sources so engineers can search, filter and analyse them without accessing individual service instances.

Technologies such as Elasticsearch, Logstash, Fluent Bit, Fluentd, Grafana Loki and cloud-native logging services support different stages of log collection, processing, storage and analysis.

Effective logging also requires operational discipline. Sensitive data should not be unnecessarily recorded, retention policies should reflect business and security requirements, and log volumes must be controlled to avoid excessive cost and noise.

04 / Distributed Traces

Distributed Traces: Reconstructing the Request Journey

Distributed tracing follows a request as it crosses service boundaries. Instead of viewing isolated application events, engineers can reconstruct the operations that contributed to a complete transaction.

A trace contains spans representing individual units of work. Each span can record the operation name, start time, duration, attributes, status and relationship to its parent span.

Trace context propagates between services, allowing spans generated by different components to be associated with the same request. Standards such as W3C Trace Context support this propagation using identifiers carried in headers such as traceparent.

Understanding a Distributed Trace

A request may pass through an API gateway, authentication service, order service and database.

Each instrumented operation contributes a span to the overall trace, revealing the timing and relationships between different parts of the transaction.

  • Trace ID identifies the request journey.
  • Span ID identifies an individual operation.
  • Parent relationships describe execution structure.
  • Duration highlights expensive operations.
Illustrative Span Durations
API Gateway
24 ms
Auth Service
15 ms
Order Service
210 ms
Database
280 ms

Bars compare individual span durations. They are not a chronological waterfall or a complete end-to-end latency calculation.

Tracing is particularly valuable when failures are distributed across several components. A slow API response may originate from a downstream database, an external service or a network connection rather than the API gateway itself.

Trace visualization systems such as Jaeger, Zipkin and Grafana Tempo help engineers explore service dependencies, execution timing and request-level failures.

05 / Signal Comparison

Choosing the Right Signal for the Investigation

Metrics, logs and traces are complementary. The appropriate starting point depends on the operational question being investigated.

Capability Metrics Logs Traces
Primary purpose Measure trends Record events Reconstruct operations
Typical data Numeric time series Event records Spans and relationships
Best for Health and alerting Error investigation Latency and dependencies
Common context Service labels Trace IDs and metadata Trace and span IDs
Limitation Limited request detail Fragmented without correlation Sampling and missing spans
06 / Correlated Investigation

Connecting the Signals During a Production Incident

Consider an e-commerce application where customers report slow checkout operations. A dashboard shows increasing latency, but the initial metric does not reveal which component is responsible.

Example Incident: Checkout Latency Spike
01
Metrics Detect the Symptom

The checkout endpoint's p99 latency rises from its normal baseline to 850 ms. Error rates also begin increasing.

02
Traces Locate the Delay

Affected request traces show excessive time spent waiting for a downstream database operation.

03
Logs Provide Evidence

Correlated application logs report database connection timeouts, supporting the suspected dependency issue.

Investigation outcome: The telemetry points toward a database dependency problem rather than an isolated API gateway issue. Engineers can now examine database health, connection pools, query performance and network connectivity to confirm the root cause.

This workflow demonstrates the value of correlation. Metrics identify the degradation, traces narrow the affected execution path, and logs provide contextual evidence.

However, telemetry correlation does not automatically prove causation. Engineers should validate their hypothesis against dependency health, configuration changes, infrastructure events and other available operational evidence.

Network Insight · Engineering Principle

Collect telemetry with an investigation question in mind. Metrics should reveal meaningful service health, logs should preserve useful context, and traces should reconstruct critical request paths. Correlation across these signals transforms isolated measurements into operational understanding.

Section 02 — Key Engineering Takeaways
✓ Metrics quantify system behaviour and provide efficient monitoring and alerting.
✓ Structured logs capture detailed events and support cross-service investigation.
✓ Distributed traces reconstruct request execution and reveal service dependencies.
✓ Shared identifiers and consistent metadata enable telemetry correlation.
✓ Effective observability combines all three signals while managing sampling, cardinality, retention and data volume.
03
NEXT SECTION Distributed Tracing & Critical Paths
02 Interactive Engineering Lab

Three Pillars of Observability

Investigate a distributed checkout application using three complementary telemetry signals. Select an incident, inspect metrics, search structured logs, follow distributed traces and identify the most likely fault.

BASELINE HEALTHY
01 / Select a Production Scenario

Metrics — What Is Happening?

PILLAR 01
p99 Latency 305 ms Checkout requests
Error Rate 0% Failed transactions
Throughput 120 Requests / second
High Low Earlier Now

The chart is illustrative. The dashed line represents a demonstration latency threshold, not a universal SLO.

Service Dependency Map

TOPOLOGY
API Gateway
ORD Order
PAY Payment
INV Inventory
Healthy baseline: All four services are available. Checkout requests complete normally.

Metrics Investigation

PILLAR 01

Service-level metrics show normal latency, throughput and error rates.

Engineering question: Are customers experiencing a measurable degradation in application behaviour?
02 / Engineering Investigation Challenge

Identify the Most Likely Incident Cause

Examine the telemetry before choosing an answer. Different scenarios produce different evidence.

Select a hypothesis, then validate it against the available evidence.
Engineering principle: Metrics reveal the extent of a problem, logs provide event-level context and distributed traces show where time is spent across service boundaries. Correlating these signals is more useful than investigating any one in isolation. All values and incident outcomes in this lab are simulated examples.
03 MICROSERVICES OBSERVABILITY · SECTION 03

Distributed Tracing: Following the Critical Path

In a distributed application, a single user request can trigger operations across multiple services, databases and external dependencies. Distributed tracing makes this execution journey visible by connecting individual operations into a coherent end-to-end trace.

Traditional logs and metrics provide valuable operational evidence, but they do not always reveal the sequence of service calls responsible for a particular request. Engineers may know that an API is slow without understanding which downstream operation caused the delay.

Distributed tracing addresses this challenge by recording the relationships and timing between operations. It enables engineers to examine a request across service boundaries, identify expensive dependencies and investigate where failures originated.

The fundamental objective is to reconstruct the complete request journey, rather than investigating each service in isolation.

01 / End-to-End Request Visibility

Following a Request Across Microservices

Consider an application where a customer submits an order. The request enters through an API gateway, passes through authentication, reaches the order service and eventually accesses a database.

Each component performs a different operation. Some calls may execute sequentially, while others can run concurrently. Distributed tracing records these operations as spans and connects them using shared trace context.

Distributed Request Journey Example: GET /orders/1234
01
Client HTTP request
02
API Gateway Ingress and routing
03
Auth Service Identity validation
04
Order Service Business logic
05
Database Data retrieval
Shared Trace Identifier 4bf92f3577b34da6a3ce929d0e0e4736

The trace identifier allows telemetry generated across the participating services to be associated with the same distributed request. Individual operations receive their own span identifiers, while parent relationships describe how the operations are connected.

This distinction is important. A trace represents the broader request execution, while a span represents a particular operation within that execution.

02 / Trace and Span Fundamentals

Understanding Traces, Spans and Context

Distributed tracing relies on a small set of core concepts. Together, these concepts allow operations performed by different services to be reconstructed into a coherent execution model.

T
Trace

A trace represents a distributed operation, typically associated with a request or transaction. It groups related spans under a shared trace ID.

S
Span

A span represents an individual unit of work. It can contain timing, operation names, attributes, events and status information.

C
Trace Context

Trace context carries identifiers and sampling information across process boundaries, allowing distributed spans to remain linked.

A span typically records when an operation began, when it ended and how it relates to other operations. Additional attributes may identify the service, endpoint, database operation or relevant execution environment.

Parent-child relationships form a hierarchy. A root span may represent the incoming API request, while child spans represent authentication, application processing and downstream database calls.

Example Span Hierarchy
Root: API Request Trace root
API Gateway Child span
Order Service Child span
Database Query Child span

In real applications, the span hierarchy may contain branches representing concurrent operations. The structure therefore describes execution relationships rather than simply listing services in the order they appear on a network diagram.

03 / Trace Propagation

How Trace Context Crosses Service Boundaries

A distributed trace is useful only when participating services can preserve and propagate the request context.

When a service receives an instrumented request, it can extract the incoming trace context, create a new span and propagate the relevant context to downstream services.

The W3C Trace Context standard defines interoperable HTTP headers, including traceparent and tracestate, to support trace propagation between different frameworks and platforms.

# Example W3C Trace Context header traceparent: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 # Components Version: 00 Trace ID: 4bf92f3577b34da6a3ce929d0e0e4736 Parent ID: 00f067aa0ba902b7 Flags: 01

In this example, the trace ID identifies the distributed trace. The parent ID identifies the span associated with the propagated context, and the flags include the sampled bit.

As the request crosses service boundaries, the trace ID normally remains consistent, while each newly created span receives its own span ID. Outgoing context is updated to reference the appropriate span for the next downstream operation.

Context propagation can be disrupted by missing instrumentation, unsupported messaging integrations or application code that fails to forward the context. These gaps can result in disconnected traces or incomplete request visibility.

04 / Trace Waterfall Analysis

Reading a Distributed Trace Waterfall

A trace waterfall visualizes spans along a common time axis. Each horizontal bar represents an operation, showing when it started and how long it took.

This representation allows engineers to compare execution timing, identify overlapping operations and locate spans associated with excessive latency.

Example Trace Waterfall End-to-end: 400 ms
API Request
400 ms
API Gateway
32 ms
Auth Service
40 ms
Order Service
288 ms
Database
240 ms
0 ms 100 200 300 400 ms

Engineering observation: The database span consumes 240 ms of the 400 ms request window and accounts for much of the order service's execution time. This is illustrative trace data.

A waterfall must be interpreted carefully. Nested spans overlap with their parents, so simply adding every span duration together does not produce the total request latency.

Engineers must also distinguish between elapsed time and exclusive execution time. A service span may include time spent waiting for a downstream dependency rather than performing local computation.

05 / Critical Path Investigation

Finding the Operations That Determine Request Latency

The critical path is the chain of dependent operations that determines the minimum completion time of a request, given the observed execution dependencies and durations.

In sequential request flows, a slow downstream operation can directly increase total response time. In concurrent execution, the longest dependent branch may determine when the request can complete.

01
Identify the Root Span

Establish the total request duration and the start of the transaction.

02
Inspect Child Spans

Compare operation timing and parent-child relationships.

03
Locate the Delay

Identify the dependent operation contributing most to completion time.

04
Validate the Cause

Correlate the trace with logs, metrics and dependency health.

The longest individual span is not automatically the critical path. Engineers must account for execution relationships, parallel work and the timing of dependent operations.

For example, two database queries may execute concurrently. Improving the faster query may have no effect on overall request latency if the slower query still determines when the application can return its response.

06 / Distributed Tracing in Practice

Instrumentation, Collection and Trace Analysis

Distributed tracing requires services to generate spans and propagate context. Instrumentation can be implemented manually within application code or automatically through supported libraries and frameworks.

OpenTelemetry provides vendor-neutral APIs, SDKs, instrumentation libraries and collection components for generating and exporting telemetry.

Traces are commonly exported to a collector or observability backend, where they can be processed, stored and visualized.

Technologies such as Jaeger, Zipkin and Grafana Tempo provide different approaches to storing and exploring distributed traces.

Tracing also introduces operational considerations. Sampling strategies influence which requests are retained, instrumentation overhead must be controlled, and sensitive information should not be unnecessarily included in span attributes or events.

07 / Engineering Case Study

Investigating a Slow Checkout Transaction

Consider an e-commerce application where customers experience intermittent delays during checkout. Infrastructure dashboards show no obvious host failure, but application latency has increased.

Distributed Trace Investigation
STEP 01 / SYMPTOM Checkout Latency

The request takes 1.2 seconds to complete, significantly exceeding its normal baseline.

STEP 02 / TRACE Database Wait Time

The distributed trace reveals that the order service spends most of its time waiting for a database operation.

STEP 03 / EVIDENCE Connection Pressure

Application logs and database metrics indicate connection-pool exhaustion and increased query wait time.

Investigation outcome: The combined telemetry supports a database connection-pool bottleneck as the likely cause of the checkout latency. Engineers should validate connection usage, query behaviour and pool configuration before implementing corrective changes.

This case illustrates why tracing is particularly valuable in distributed systems. The visible symptom appears at the user-facing application, while the likely bottleneck exists several service boundaries downstream.

Distributed tracing narrows the investigation by exposing the execution path, allowing engineers to focus on the dependencies most relevant to the incident.

Network Insight · Engineering Principle

Investigate latency through execution relationships, not isolated service timings. A distributed trace reveals how operations depend on one another, where time is consumed and which downstream calls influence the end-to-end request. Correlating traces with metrics and logs helps turn a suspected bottleneck into a validated diagnosis.

Section 03 — Key Engineering Takeaways
✓ Distributed tracing reconstructs requests across service boundaries.
✓ Traces contain spans linked through identifiers and parent relationships.
✓ W3C Trace Context supports interoperable propagation of distributed tracing context.
✓ Trace waterfalls reveal timing, concurrency and dependency delays.
✓ Critical-path analysis identifies the dependent operations that determine request completion time.
✓ OpenTelemetry and trace backends provide instrumentation, collection and analysis capabilities.
04
NEXT SECTION Metrics, Golden Signals & Cardinality
03 Interactive Engineering Lab

Distributed Trace Investigation Lab

Follow a checkout transaction across microservices. Inspect individual spans, replay request propagation, investigate dependency latency and identify the operations responsible for end-to-end response time.

TRACE HEALTHY
01 / Select a Trace Scenario
02 / End-to-End Trace Metrics
Total Duration 305 ms
Trace Spans 5
Slowest Operation Payment
Trace Outcome Success

Request Propagation Topology

SERVICE GRAPH
USR Client
API Gateway
ORD Order
PAY Payment
INV Inventory

The checkout workflow performs payment before inventory. Each link represents a synchronous request dependency.

Span Inspector

SPAN DETAILS
Payment Authorisation
OK

Payment service authorises the checkout transaction.

Start Offset 100 ms
Duration 110 ms
Span ID SPAN-04
Parent Span Order
Select a span in the waterfall to inspect its timing and parent-child relationship.
03 / Distributed Trace Waterfall

Request Execution Timeline

TRACE-3001
0 ms 25% 50% 75% 305 ms
Root / Service Span Child Span High Latency Failure

Critical Path Analysis

Payment is the slowest individual operation in the healthy checkout request.

Critical-path analysis identifies operations that determine end-to-end completion time.

Trace Context Propagation

A distributed trace connects operations using trace IDs and parent-child span relationships.

Trace ID TRACE-3001
Propagation W3C Context

This lab uses shortened demonstration identifiers. Production W3C trace IDs and span IDs use fixed-length hexadecimal values.

04 / Engineering Investigation

Which Dependency Is Responsible?

Select the operation most responsible for the scenario's abnormal latency or failure. For the healthy baseline, select No Incident.

Investigation Event Timeline

EVENTS
Lab initialised. Healthy trace loaded.
Engineering principle: Distributed tracing reconstructs the execution of a request across service boundaries. Parent spans can overlap child spans, so their durations must not be added together. The critical path is the sequence of dependent operations that determines the end-to-end completion time. This lab models a simplified sequential checkout workflow.
04 MICROSERVICES OBSERVABILITY · SECTION 04

Metrics, Golden Signals & Cardinality

Metrics provide the quantitative foundation of microservices monitoring. They transform application behaviour into measurable time-series data, allowing engineers to identify degradation, establish performance baselines and evaluate whether services are meeting their operational objectives.

In a distributed environment, however, collecting every available measurement does not automatically improve visibility. Engineers must choose meaningful signals, understand how metrics are aggregated, and manage the storage and query costs associated with metric labels.

Effective metrics engineering connects application health with the user experience. Instead of focusing exclusively on CPU, memory and infrastructure availability, teams should measure request latency, traffic, errors and resource saturation across the services that deliver application functionality.

01 / The Four Golden Signals

Establishing a Meaningful Monitoring Baseline

The four golden signals provide a practical starting point for monitoring user-facing services. They focus attention on the measurements most likely to reveal performance degradation and operational pressure.

L
Latency

The time required to serve a request, including the behaviour of slow and unsuccessful operations.

T
Traffic

The amount of demand placed on the service, such as requests per second or transactions.

E
Errors

Failed requests, incorrect responses, timeouts and application-level failures.

S
Saturation

The degree to which a resource approaches its practical capacity or operating limit.

These signals should be measured at meaningful service boundaries. For example, an API gateway can expose overall request traffic and response latency, while a database service can expose connection utilization, query duration and queue pressure.

A useful monitoring baseline captures normal behaviour across different traffic periods. Without a baseline, engineers may struggle to distinguish a genuine incident from expected variations in application demand.

Example: Microservices Health Dashboard Illustrative Telemetry
Request Rate 1,250 Requests per second
p99 Latency 850 ms Elevated response time
Error Rate 3.2% HTTP 5xx responses
Availability 99.92% Example measurement window
Request Latency Trend Illustrative relative values
Earlier Time → Later
Typical latency trend Elevated tail latency

In this example, the elevated p99 latency and error rate suggest that a subset of requests is experiencing degradation. The next step is to correlate the metrics with request traces and application logs to identify the affected services.

02 / Monitoring Methodologies

RED and USE: Different Perspectives on System Health

The golden signals provide a broad monitoring framework. Two complementary methodologies help engineers organise metrics around service behaviour and resource utilization.

RED
Request-Oriented Monitoring

RED focuses on the behaviour of services that process requests. It is particularly useful for APIs, microservices and other transaction-oriented components.

  • Rate: Requests processed per second.
  • Errors: Failed requests or operations.
  • Duration: Time required to process requests.
USE
Resource-Oriented Monitoring

USE focuses on the operational condition of resources and infrastructure components. It helps identify resource bottlenecks and capacity pressure.

  • Utilization: Resource usage relative to capacity.
  • Saturation: Queuing or excess demand.
  • Errors: Resource-level failures.

RED is useful for understanding the customer-facing service experience, while USE helps investigate the infrastructure resources supporting those services.

For example, RED metrics may reveal increasing API response duration, while USE metrics show that a database connection pool or storage device is approaching saturation.

03 / Latency Percentiles

Why Average Latency Can Hide Performance Problems

Average response time provides a useful summary, but it can hide severe delays affecting a smaller percentage of requests.

Percentiles describe the distribution of observed response times. The p50 value represents the median, while p95 and p99 highlight the slower portion of the request population.

Example: Request Latency Distribution
p50
42 ms
p95
260 ms
p99
850 ms

Bars are scaled relative to the largest displayed value. The figures are illustrative rather than live measurements.

A service with a p50 latency of 42 ms may appear responsive for most users, yet a p99 latency of 850 ms indicates that the slowest portion of requests experiences substantially higher delays.

Tail latency is especially important in distributed systems because a transaction may depend on several downstream operations. Slow dependencies can increase end-to-end response time, particularly when requests must wait for multiple services to complete.

04 / Service Objectives

SLIs, SLOs and Error Budgets

Monitoring becomes more useful when measurements are connected to clearly defined service objectives. Instead of alerting on arbitrary thresholds, engineering teams can evaluate whether a service is delivering an acceptable user experience.

A Service Level Indicator (SLI) is a quantitative measurement of service behaviour. A Service Level Objective (SLO) defines the desired performance of that indicator over a specified period.

Service Level Indicator
99.95%

Example objective for the proportion of eligible requests completed successfully during a defined measurement window.

The indicator must define which requests count as eligible and which responses qualify as good.

Error Budget
0.05%

A 99.95% success SLO permits 0.05% of eligible requests to fall outside the objective.

Illustration: 40% of the error budget used

Error budgets help teams balance reliability and the pace of change. When a service consumes its budget rapidly, engineers may prioritise stability improvements over additional deployments.

For a request-based SLO, the error budget can be calculated from the total number of eligible requests during the measurement window. Time-based availability objectives use a different measurement model.

05 / Prometheus and Metric Collection

Collecting and Querying Time-Series Data

Prometheus is a widely used open-source monitoring system designed for collecting, storing and querying time-series metrics. It commonly uses a pull-based model in which the Prometheus server scrapes metrics endpoints.

Applications can expose metrics directly through client libraries, while exporters make measurements available from systems that do not expose Prometheus-compatible metrics natively.

Prometheus supports several metric types, including counters, gauges, histograms and summaries. Each type serves different measurement and aggregation requirements.

# Example Prometheus counter http_requests_total{ service="order-service", method="GET", status="200" } 125000 # Example request rate query (PromQL) sum(rate(http_requests_total[5m])) # Example HTTP 5xx request rate sum(rate(http_requests_total{status=~"5.."}[5m]))

A counter increases as events occur, making it suitable for request totals and error counts. The PromQL rate() function estimates the average per-second increase over a selected range.

Histograms can capture latency distributions and support percentile estimation across aggregated observations. Metric design should reflect the operational questions engineers need to answer.

06 / Metric Labels and Cardinality

Why Metric Cardinality Matters at Scale

Labels add dimensions to metrics. They allow engineers to analyse measurements by service, endpoint, region, deployment or other relevant attributes.

However, every unique combination of metric name and label values creates a distinct time series. As label combinations grow, the number of stored series can increase dramatically.

Example: Cardinality Growth

Consider a single metric with three independently varying label dimensions. The following values illustrate the potential number of unique series.

Service Labels 20 Different service values
Endpoint Labels 50 Different endpoint values
Instance Labels 100 Different instance values
20 services × 50 endpoints × 100 instances = 100,000 potential time series

This is an upper-bound illustration assuming every label combination exists. Actual cardinality depends on which combinations are emitted.

High-cardinality labels can increase memory consumption, storage requirements, query complexity and telemetry costs. This becomes particularly problematic when labels contain values that change for every request.

Unique request identifiers, timestamps and unrestricted user identifiers are generally poor choices for Prometheus metric labels because they can create an extremely large number of unique time series.

Such identifiers are usually better suited to structured logs or distributed traces, where they provide request-level correlation without creating a new metric series for every transaction.

07 / Aggregation and Alert Engineering

Turning Metrics into Actionable Alerts

Metrics are commonly evaluated over aggregation windows. The selected window affects how quickly a monitoring system detects changes and how much short-term variation appears in the resulting measurements.

Short windows can reveal rapid degradation but may produce noisy alerts. Longer windows smooth temporary fluctuations but can delay detection of emerging problems.

Effective alerting balances these characteristics. Alerts should represent meaningful operational conditions rather than every minor deviation from normal metric behaviour.

SLO-based alerting can use error-budget burn rates to identify conditions that threaten reliability objectives. Multi-window alerting strategies can combine rapid detection with protection against transient metric noise.

Monitoring systems should also account for missing telemetry, service discovery changes, delayed collection and differences between scrape intervals and query evaluation windows.

08 / Engineering Case Study

Investigating Elevated Tail Latency

Consider an order-processing service that normally handles 1,250 requests per second. Its average latency remains relatively stable, but p99 latency begins increasing during periods of peak demand.

Production Monitoring Investigation
STEP 01 / DETECT Latency Degradation

p99 latency rises to 850 ms while request traffic increases above its normal operating baseline.

STEP 02 / CORRELATE Resource Saturation

Database connection-pool utilization approaches capacity, and query wait times increase.

STEP 03 / INVESTIGATE Dependency Bottleneck

Distributed traces show longer waits on database operations, supporting a connection-capacity bottleneck hypothesis.

Engineering outcome: The combined RED and USE signals identify a likely database resource bottleneck. Engineers can validate connection-pool configuration, query performance and workload behaviour before applying corrective changes.

This investigation demonstrates why monitoring should connect user-facing performance with resource-level measurements. Request latency reveals the impact, while saturation metrics help explain the underlying pressure.

Network Insight · Engineering Principle

Measure what affects the user, then correlate it with what constrains the system. Golden signals and RED metrics reveal service degradation, while USE metrics expose resource pressure. SLIs and SLOs establish reliability expectations, and careful label design keeps the monitoring system scalable.

Section 04 — Key Engineering Takeaways
✓ The four golden signals are latency, traffic, errors and saturation.
✓ RED measures request behaviour, while USE examines resource-level conditions.
✓ Percentile latency measurements reveal slow requests that averages may conceal.
✓ SLIs, SLOs and error budgets connect telemetry to reliability objectives.
✓ Prometheus provides metric collection, storage and time-series querying.
✓ High-cardinality labels increase monitoring costs and should be controlled through deliberate metric design.
05
NEXT SECTION Centralised Logging & Log Analysis
04 Interactive Engineering Lab

Live Metrics & SLO Dashboard

Explore the four golden signals, RED metrics, latency percentiles and service-level objectives. Inject production incidents, inspect changing telemetry and investigate how service degradation consumes an error budget.

MONITORING HEALTHY
01 / Monitoring Configuration
02 / Four Golden Signals
Latency — p99 305 ms

Tail response time

Traffic — Rate 120

Requests per second

Errors — Rate 0.10%

Unsuccessful requests

Saturation — Utilisation 38%

Illustrative capacity usage

Live Latency Telemetry

ROLLING SAMPLES
High Low Earlier Now
Observed p99 latency Illustrative threshold

Samples update while traffic is running. The chart represents simulated p99 latency rather than measurements from a real monitoring system.

Latency Distribution

PERCENTILES
p50 85 ms
p95 180 ms
p99 305 ms
p50 — Median 85 ms
p95 — Tail 180 ms
p99 — Extreme Tail 305 ms
Engineering insight: Median latency can remain acceptable while a small proportion of requests experience severe delays. Tail percentiles expose those slow requests.
03 / Service Level Objectives & Error Budget

SLO Control Panel

RELIABILITY ENGINEERING
Allowed Failures 0.10%
Observed Error Rate 0.10%
Burn Rate 1.0×
Error Budget Remaining

Calculating error budget...

SLOs establish a reliability objective. Error budgets quantify the acceptable proportion of unsuccessful requests.

RED Metrics Explorer

SERVICE HEALTH
Rate — Requests / second 120
Errors — Failed requests 0.10%
Duration — p99 latency 305 ms
RED metrics summarise request rate, error rate and duration. They help distinguish increased load from degraded service behaviour.
04 / Incident Investigation Challenge

What Is the Primary Operational Problem?

Select a traffic scenario, examine the four golden signals and choose the diagnosis that best matches the simulated telemetry.

Investigate the telemetry and select the most likely operational condition.

Monitoring Event Timeline

EVENTS
Engineering principle: The four golden signals describe latency, traffic, errors and saturation. RED metrics provide a request-focused view of service behaviour. SLOs translate reliability goals into measurable objectives, while error budgets help teams balance service reliability and delivery velocity. All telemetry is simulated. The budget display uses an illustrative constant-rate projection rather than historical production accounting.
05 MICROSERVICES OBSERVABILITY · SECTION 05

Centralised Logging: From Events to Evidence

Logs provide detailed evidence of application behaviour. They record errors, state changes, requests, warnings and operational events that help engineers understand what happened inside individual services.

In a monolithic application, engineers may be able to investigate a problem using a relatively small collection of application logs. In a microservices environment, however, relevant events can be distributed across many services, containers, hosts and clusters.

A single failed transaction may generate log events in an API gateway, authentication service, order service, database client and external dependency. Without centralised collection and consistent context, connecting those events becomes difficult.

Centralised logging transforms isolated application messages into searchable, correlated operational evidence. It enables engineers to investigate incidents across the complete distributed system rather than examining individual components independently.

01 / Distributed Logging Challenges

Why Traditional Log Investigation Breaks Down

Microservices generate large volumes of operational events. These events may be produced by short-lived containers, independently deployed services and infrastructure components that scale dynamically with application demand.

Logs stored only on individual hosts or container filesystems can become difficult to access, especially when workloads are rescheduled or terminated.

01
Distributed Sources

Relevant events are spread across different services, containers, hosts and cloud environments. Engineers need a unified view.

02
Ephemeral Infrastructure

Containers and pods may restart or disappear. Local log files cannot always be relied upon for historical investigation.

03
Volume and Noise

High request rates can produce enormous log volumes. Poorly designed logging increases cost and obscures useful evidence.

Centralised logging addresses these challenges by collecting events from multiple sources, applying consistent processing and making the resulting records searchable through a common investigation interface.

02 / Centralised Logging Architecture

How Logs Move Through a Collection Pipeline

A typical logging architecture contains application log producers, collection agents, processing components, storage systems and analysis interfaces.

Applications emit log events to standard output, files or supported logging interfaces. Collectors forward the events to a processing or storage platform, where they can be indexed, labelled, retained and queried.

Distributed Logging Pipeline

From microservices to searchable operational evidence

01
Microservices Application events and exceptions
02
Collectors Fluent Bit, Beats or agents
03
Processing Parsing, enrichment and filtering
04
Log Storage Searchable event retention
05
Analysis Search, dashboards and investigation

Architecture note: This is a conceptual pipeline. Some platforms combine processing, storage and analysis, while others use separate services or buffering systems between collection stages.

In Kubernetes environments, logging agents may run as DaemonSets to collect container logs from cluster nodes. Other architectures use sidecars, application-level exporters or managed cloud collection services.

Reliable collection pipelines should also consider buffering, backpressure, delivery failures and retention policies. If a central logging destination becomes unavailable, an unbuffered pipeline may lose events during the outage.

03 / Structured Logging

Designing Logs for Search and Correlation

Free-form text logs can be useful for human inspection, but they are harder to query consistently across multiple independently developed services.

Structured logging represents events using defined fields, commonly encoded as JSON. This enables filtering by service, severity, operation, trace ID, deployment and other contextual attributes.

Recommended Log Context

Useful log fields depend on the application, but a consistent schema improves the ability to investigate distributed failures.

  • Timestamp: When the event occurred.
  • Severity: DEBUG, INFO, WARN or ERROR.
  • Service: Which component generated the event.
  • Trace ID: Which distributed request it belongs to.
  • Operation: The action being performed.
  • Error details: The failure or exceptional condition.
Example Structured JSON Log
{ "timestamp": "2026-11-06T14:32:10Z", "severity": "ERROR", "service": "order-service", "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736", "operation": "create-order", "error": "database timeout" }

Structured logging is especially valuable when combined with distributed tracing. A trace identifier can link application events generated by multiple services during the same request.

However, structured logging is not a substitute for good instrumentation. The recorded fields must be accurate, consistent and useful for the investigations engineers need to perform.

04 / Log Severity and Event Analysis

Understanding the Operational Event Stream

Log severity levels help distinguish normal application activity from conditions that may require attention. Common levels include DEBUG, INFO, WARN and ERROR.

Severity alone does not determine incident priority. A warning may indicate an emerging capacity problem, while an error may represent a transient failure that the application recovered from successfully.

Distributed Log Event Stream
ILLUSTRATIVE LOGS
14:32:08 INFO api-gateway Incoming POST /orders request accepted
14:32:08 INFO auth-service Request authentication completed
14:32:09 WARN order-service Database connection acquisition delayed
14:32:10 ERROR order-service Database connection timeout during create-order
14:32:10 ERROR api-gateway Upstream order request returned HTTP 503
Example only. These events illustrate how one downstream dependency problem may appear in several services.

In this example, the API gateway records the final failure, but the order service logs provide evidence of a database connection problem.

Searching only for API gateway errors would reveal the symptom without necessarily identifying the likely downstream cause.

05 / Trace and Log Correlation

Connecting Application Events to Distributed Requests

A trace ID provides a useful correlation key between distributed traces and application logs.

When the same trace identifier is included in relevant log events, engineers can search across services and reconstruct the event sequence associated with a specific request.

01
Identify the Request

Select an affected distributed trace or obtain a trace ID from an application error.

02
Search Correlated Logs

Filter centralised log records using the trace ID and inspect events across participating services.

03
Validate the Failure

Compare the event sequence with trace timing and metrics to identify the likely cause.

Correlation requires consistent instrumentation. Applications must preserve trace context and include the relevant identifiers in their logging configuration.

In asynchronous systems, correlation may also require message identifiers, workflow identifiers or other application-specific context. A single trace ID does not always represent an entire long-running business workflow.

06 / Centralised Logging Platforms

Collection, Storage and Investigation Technologies

Centralised logging architectures can be built using open-source components, commercial observability platforms or managed cloud services.

Different technologies focus on different parts of the pipeline, including collection, processing, storage, indexing, querying and visualisation.

Technology Typical Role Engineering Use
Fluent Bit Lightweight log collection and processing Forward container and host events
Fluentd Log collection and routing Transform and deliver log records
Logstash Event processing pipeline Parse, enrich and transform events
Elasticsearch Search and analytics storage Index and query log data
Kibana Log search and visualisation Explore events and build dashboards
Grafana Loki Log aggregation and querying Investigate logs using labels and queries
Managed Cloud Logging Hosted collection, storage and analysis Centralise cloud and application events

A common Elastic-based architecture combines collection agents, Logstash or other processing tools, Elasticsearch storage and Kibana visualisation.

Grafana Loki takes a different approach by indexing labels rather than the full contents of every log message, which influences how engineers design queries and choose label dimensions.

Platform selection should consider query requirements, data volume, retention, operational complexity, integration with traces and metrics, and total ownership cost.

07 / Log Governance

Managing Security, Retention and Logging Costs

Centralised logging can introduce substantial operational and security considerations. Large distributed applications may generate significant volumes of events, including records containing sensitive application or infrastructure information.

Logging strategies should therefore include deliberate controls for access, retention, data minimisation and event volume.

01
Data Protection

Avoid recording passwords, access tokens and unnecessary personal information. Apply appropriate redaction and access controls.

02
Retention Policies

Define retention periods based on operational needs, security requirements, compliance obligations and storage cost.

03
Volume Management

Use appropriate severity levels, filtering and sampling policies to reduce noise without losing essential investigation evidence.

Logging systems should also be monitored as production services. Collection failures, dropped events, storage saturation and delayed ingestion can create visibility gaps precisely when engineers need telemetry most.

08 / Engineering Case Study

Investigating an Order Processing Failure

Consider a microservices application where customers intermittently receive HTTP 503 responses when submitting orders.

The API gateway reports the failed requests, but its logs do not identify the underlying database condition.

Distributed Log Investigation
STEP 01 / DETECT Gateway Error

The API gateway reports HTTP 503 responses for order submission requests. Error metrics confirm an increasing failure rate.

STEP 02 / CORRELATE Shared Trace ID

Engineers search the centralised logging platform for the affected request's trace ID across services.

STEP 03 / INVESTIGATE Database Timeout

The order service records connection acquisition delays and database timeout errors.

Engineering outcome: Correlated logs point toward a database connection problem as the likely cause of the order failures. Engineers can validate the hypothesis using connection-pool metrics, database health and distributed trace timing.

The important distinction is that the API gateway recorded the visible symptom, while the downstream service recorded evidence of the likely cause.

Centralised logging made it possible to connect these events without manually accessing individual containers or hosts.

Network Insight · Engineering Principle

Logs become most valuable when they preserve context across distributed execution. Structured fields, consistent timestamps, trace correlation and centralised collection allow engineers to move from isolated error messages to evidence-based investigation. Logging quality should be designed into the application, not added only after an incident.

Section 05 — Key Engineering Takeaways
✓ Centralised logging collects distributed events into a searchable operational system.
✓ Structured logs improve consistency, filtering and investigation.
✓ Trace IDs connect application events across participating services and requests.
✓ Collection pipelines must account for buffering, processing, delivery and retention.
✓ Logging platforms support collection, storage, search and analysis through different architectures.
✓ Security, privacy and volume controls are essential for sustainable logging operations.
06
NEXT SECTION OpenTelemetry & Instrumentation
05 Interactive Engineering Lab

Centralised Logging Investigation Console

Investigate a distributed checkout application through structured logs. Search telemetry, filter services and severity levels, inspect JSON records, correlate trace identifiers and reconstruct the sequence of events leading to a production incident.

LOGGING HEALTHY
01 / Select a Production Incident
02 / Centralised Logging Pipeline
01
Application Structured events
02
Collector Forward & enrich
03
Storage Index & retain
04
Investigation Search & correlate
03 / Log Ingestion Metrics
Indexed Events 0
Error Events 0
Warning Events 0
Services Observed 0
04 / Searchable Central Log Console

Distributed Application Log Stream

0 EVENTS
NETWORK INSIGHT / LOG EXPLORER

Select any log record to inspect its complete structured fields. Search is case-insensitive and applies to message text, service, severity, trace ID and error code.

Structured JSON Inspector

EVENT DETAILS
Select a log event.

Log Correlation Engine

TRACE CONTEXT
INFO Events Normal application activity
0
WARN Events Degraded behaviour
0
ERROR Events Failed operations
0
Select a log record and press Correlate Trace to isolate related events.
05 / Reconstruct the Request Journey

Correlated Request Timeline

NO TRACE SELECTED
Select a log record
Correlation groups events that share a trace ID. This can help reconstruct a request across services, provided trace context has been propagated correctly.
06 / Engineering Investigation Challenge

Identify the Root Cause

Investigate the log stream, filter errors and warnings, inspect structured fields and identify the most likely cause of the selected incident.

Search the logs and select the diagnosis best supported by the evidence.

Investigation Activity

AUDIT TRAIL
Engineering principle: Centralised logging enables engineers to search events across distributed services. Structured fields, consistent timestamps, correlation identifiers and contextual error information make investigations more reliable. Log correlation provides evidence, but a matching trace ID alone does not establish causation. All incidents and records in this lab are simulated.
06 MICROSERVICES OBSERVABILITY · SECTION 06

OpenTelemetry & Instrumentation

Observability begins inside the application. Before metrics can be queried, traces can be visualised or logs can be correlated, software must generate meaningful telemetry describing its behaviour.

In a microservices architecture, instrumentation provides visibility into requests, operations, dependencies and failures across independently deployed components.

OpenTelemetry provides a vendor-neutral collection of APIs, SDKs, instrumentation libraries, semantic conventions and tools for generating, collecting and exporting observability data.

Rather than requiring every application to integrate directly with a particular monitoring platform, OpenTelemetry enables engineers to use standardised instrumentation and telemetry pipelines that can connect to different observability backends.

01 / Application Instrumentation

How Applications Produce Observability Data

Instrumentation introduces measurement and diagnostic information into application execution. It may be added automatically through supported frameworks and libraries, or manually through application code.

The goal is not simply to collect more data. Instrumentation should expose the operations, dependencies and failure conditions that engineers need to understand.

A
Automatic Instrumentation

Supported libraries and agents can instrument common frameworks, HTTP clients, database calls and messaging systems without requiring extensive changes to application code.

Framework-Level Visibility
M
Manual Instrumentation

Developers create custom spans, metrics and attributes to represent important business operations, application-specific workflows and internal processing stages.

Business Context
C
Context Propagation

Trace context is propagated between services so independently recorded operations can be associated with the same distributed request.

Cross-Service Correlation

Automatic instrumentation is useful for establishing broad coverage quickly. Manual instrumentation adds the application context that generic libraries cannot infer, such as a checkout validation stage or an order approval decision.

Both approaches are complementary. A production observability strategy often combines automatic framework instrumentation with carefully chosen application-specific measurements.

02 / OpenTelemetry Architecture

From Application SDKs to Observability Backends

OpenTelemetry separates telemetry generation from the systems used to store and analyse the resulting data.

Applications use instrumentation and SDKs to create telemetry. The data can be exported directly to a compatible backend or sent through an OpenTelemetry Collector for additional processing and routing.

OpenTelemetry Reference Architecture Conceptual Data Flow
API
API Gateway HTTP instrumentation and request spans
ORD
Order Service Custom spans and application metrics
PAY
Payment Service Dependency spans and error context
OTel
OpenTelemetry Collector

Receivers · Processors · Exporters

M
Metrics Backend Time-series analysis and dashboards
L
Logs Backend Searchable events and correlation
T
Traces Backend Distributed request investigation

Architecture note: The Collector is optional in some deployments, and the destination systems may use different protocols or storage models. The diagram illustrates a common centralised collection pattern.

OpenTelemetry commonly uses the OpenTelemetry Protocol (OTLP) to transport telemetry between SDKs, Collectors and compatible receivers.

OTLP supports different transport options, including gRPC and HTTP. The protocol transports telemetry; it does not itself provide a long-term metrics, logs or traces storage system.

03 / The OpenTelemetry Collector

Building a Flexible Telemetry Processing Pipeline

The OpenTelemetry Collector is a configurable telemetry service that receives, processes and exports observability data.

It can run as a central gateway, as an agent close to applications, or in architectures combining both deployment patterns.

01
Receivers

Accept telemetry from applications and other systems through supported protocols or collection mechanisms.

02
Processors

Apply configured operations such as batching, memory protection, filtering or attribute modification.

03
Exporters

Send processed telemetry to downstream Collectors or compatible observability platforms and services.

Collector pipelines are configured by telemetry signal. Metrics, logs and traces can have different processing requirements and destination systems.

For example, a production pipeline may batch trace data before export, filter unnecessary log events and attach environment metadata to telemetry records.

Collector Pipeline Example YAML · Illustrative Configuration
# Minimal OTLP traces pipeline receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 processors: batch: {} exporters: otlp: endpoint: traces-backend:4317 tls: insecure: true service: pipelines: traces: receivers: [otlp] processors: [batch] exporters: [otlp]

This simplified example accepts OTLP trace data, batches it and forwards it to another OTLP-compatible endpoint.

Security consideration: The insecure transport setting shown here is appropriate only for a controlled demonstration environment. Production deployments should use appropriate TLS, authentication, network restrictions and secret management.

04 / Distributed Context Propagation

Preserving Request Identity Across Services

A distributed trace can span multiple independently deployed services. To reconstruct the request journey, each participating service needs sufficient context to associate its spans with the same trace.

The W3C Trace Context standard defines HTTP headers such as traceparent and tracestate for carrying trace context between components.

Example: Context Propagation
API Gateway Receives request and creates span
Order Service Extracts context and creates child span
Payment Service Continues the distributed trace
traceparent: 00-4bf92f3577b34da6a3ce929d0e0e4736- 00f067aa0ba902b7-01

The trace ID identifies the overall trace. The parent span identifier and trace flags provide additional context used to connect spans and communicate sampling decisions.

Context propagation is particularly important when requests pass through API gateways, service meshes, message brokers or asynchronous workers.

If context is not propagated across a service boundary, the downstream operation may appear as an unrelated trace, reducing the completeness of the investigation.

05 / Manual Instrumentation

Adding Business Context to Distributed Traces

Automatic instrumentation can record common operations such as HTTP requests and database queries. However, it may not understand the business meaning of those operations.

Manual instrumentation allows developers to create spans around important application logic and attach attributes that improve troubleshooting.

Custom Application Span JavaScript · OpenTelemetry API
const { trace } = require('@opentelemetry/api'); const tracer = trace.getTracer('order-service'); async function createOrder(order) { return tracer.startActiveSpan( 'order.create', async (span) => { try { span.setAttribute( 'order.type', order.type ); return await saveOrder(order); } catch (error) { span.recordException(error); throw error; } finally { span.end(); } } ); }

This example creates a span for an order-processing operation, records a business attribute and captures exceptions before closing the span.

A functioning deployment also requires an appropriate OpenTelemetry SDK, span processor, exporter and provider configuration. The API code alone does not guarantee that spans will be exported.

Engineers should avoid attaching sensitive data or unbounded high-cardinality values to spans without considering privacy, storage and analysis requirements.

06 / Sampling and Telemetry Volume

Balancing Diagnostic Detail and Operational Cost

High-volume microservices can generate large amounts of trace data. Recording and exporting every span may be expensive or unnecessary for some environments.

Sampling strategies allow engineers to control the amount of trace telemetry retained while preserving useful diagnostic information.

H
Head-Based Sampling

A sampling decision is made near the beginning of a trace, often using a configured probability or parent sampling decision.

Benefit: Sampling can reduce telemetry processing and export volume early in the request lifecycle.

T
Tail-Based Sampling

A sampling decision is made after enough trace data has been collected to evaluate characteristics such as errors or latency.

Benefit: Sampling policies can retain traces associated with significant failures or slow operations.

Tail-based sampling requires additional buffering and processing capacity because the decision is delayed until sufficient trace information becomes available.

Sampling can also introduce incomplete visibility if decisions or context propagation are not coordinated across services. Sampling policies should therefore be tested against real investigation requirements.

07 / Instrumentation Design Considerations

Avoiding Common Observability Design Mistakes

Instrumentation quality matters more than the raw quantity of telemetry. Excessive instrumentation can create unnecessary operational overhead, while incomplete instrumentation leaves critical diagnostic gaps.

Design Area Potential Problem Recommended Approach
Span Boundaries Missing important business operations Instrument meaningful application stages
Context Propagation Disconnected distributed traces Preserve trace context across service boundaries
Attributes Unbounded values or sensitive information Use deliberate, privacy-aware attributes
Sampling Important incidents are not retained Align sampling policies with diagnostic needs
Collector Reliability Telemetry loss during pipeline failures Monitor queues, memory, retries and export errors
Service Identity Telemetry cannot be attributed correctly Apply consistent resource attributes such as service.name

Consistent service identity is especially important in environments where workloads are frequently redeployed or rescheduled.

OpenTelemetry resource attributes provide information about the entity producing telemetry, helping observability systems group data by service, deployment and infrastructure context.

08 / Engineering Case Study

Finding a Missing Segment in a Distributed Trace

Consider a checkout request that passes through an API gateway, order service and payment service. Engineers can see the gateway and order spans, but the payment operation is missing from the distributed trace.

OpenTelemetry Investigation
STEP 01 / OBSERVE Incomplete Trace

The trace visualisation ends at the order service even though application logs confirm that payment processing occurred.

STEP 02 / INSPECT Context Boundary

Engineers inspect the outbound payment request, inbound context extraction and service instrumentation.

STEP 03 / VALIDATE Propagation Fix

After correcting the identified context issue, new test requests produce correlated payment spans.

Engineering outcome: The investigation demonstrates how a context propagation problem can reduce distributed trace completeness. Engineers should also check sampling decisions, exporter health and Collector processing before concluding that propagation is the cause.

A missing span does not necessarily mean the underlying operation did not occur. It may indicate a gap in instrumentation, sampling, context propagation or telemetry delivery.

This distinction is important when using traces to investigate complex distributed failures.

Network Insight · Engineering Principle

Observability is engineered at the point where applications generate meaningful telemetry. OpenTelemetry provides a vendor-neutral instrumentation framework, while context propagation, Collector pipelines and sampling policies determine how effectively that telemetry supports real investigations.

Section 06 — Key Engineering Takeaways
✓ OpenTelemetry provides vendor-neutral APIs, SDKs and tools for observability.
✓ Automatic and manual instrumentation provide complementary visibility.
✓ The OpenTelemetry Collector receives, processes and exports telemetry data.
✓ W3C Trace Context supports distributed trace correlation across service boundaries.
✓ Sampling policies balance diagnostic visibility with telemetry cost.
✓ Consistent resource attributes and reliable telemetry pipelines are essential for operational visibility.
07
NEXT SECTION Kubernetes & Cloud-Native Monitoring
06 Interactive Engineering Lab

OpenTelemetry Pipeline Builder

Configure an end-to-end observability pipeline. Enable application instrumentation, control telemetry processing, simulate exporter failures and investigate how collector configuration affects the delivery of metrics, logs and traces.

PIPELINE HEALTHY
01 / Select an Engineering Scenario
02 / OpenTelemetry Architecture Explorer
Metrics Logs Traces

Instrumentation & Collector Configuration

PIPELINE CONTROLS
Enabled Telemetry Signals
Configure the pipeline and generate telemetry to observe how each setting changes delivery.

Pipeline Throughput

SIGNAL DELIVERY
Metrics 0 / 0
Logs 0 / 0
Traces 0 / 0
Bars represent the cumulative proportion of generated signal records successfully delivered to the simulated backend.
03 / Collector Telemetry
Generated Records 0
Exported Records 0
Dropped / Filtered 0
Export Failures 0
04 / Collector Configuration Preview

Collector Configuration

ILLUSTRATIVE YAML


   

This is a teaching-oriented configuration preview. Component availability and valid settings depend on the installed Collector distribution and version.

Collector Diagnostic Console

EVENT STREAM
NETWORK INSIGHT / OTEL COLLECTOR
The collector is ready. Generate telemetry to inspect simulated ingestion, processing and export events.
05 / Engineering Investigation Challenge

Identify the Pipeline Condition

Examine the configuration, delivery statistics and diagnostic console. Select the diagnosis best supported by the active scenario.

Inspect the pipeline before selecting the most likely engineering diagnosis.
Engineering principle: OpenTelemetry provides APIs, SDKs, semantic conventions and a Collector ecosystem for generating and processing observability data. Receiver, processor and exporter configuration determines how telemetry travels through the pipeline. Sampling, filtering, batching and backend availability affect what engineers can observe. This lab uses simplified telemetry counts and simulated failures; it does not execute a real OpenTelemetry Collector.
07 MICROSERVICES OBSERVABILITY · SECTION 07

Kubernetes & Cloud-Native Monitoring

Kubernetes introduces a dynamic execution environment in which application workloads can be scheduled, restarted, replaced and scaled across multiple infrastructure nodes. Effective monitoring must therefore connect application behaviour with the changing state of the orchestration platform.

In a traditional environment, an application might run on a relatively stable collection of servers. Engineers can often associate performance problems with known hosts and predictable infrastructure dependencies.

Kubernetes changes that operational model. Pods can be recreated, workloads can move between nodes, and the number of application replicas can increase or decrease in response to demand.

Cloud-native monitoring must observe both the application and the platform responsible for running it. A healthy Kubernetes cluster does not automatically imply a healthy application, and an application failure does not necessarily originate inside application code.

01 / Kubernetes Observability Architecture

Monitoring Applications Across a Dynamic Cluster

A Kubernetes observability architecture typically collects information from application containers, pods, nodes, Kubernetes control-plane components and supporting infrastructure.

These signals may be gathered through application instrumentation, Kubernetes APIs, metrics endpoints, container log collectors and infrastructure monitoring agents.

Kubernetes Monitoring Architecture Conceptual Cluster
Kubernetes Cluster · Application Workloads
Worker Node 01 Ready
API
API Gateway Pod · Running
AU
Auth Service Pod · Running
Kubelet · Container Runtime
Worker Node 02 Ready
ORD
Order Service Pod · Running
DB
Database Client Pod · Restarting
Kubelet · Container Runtime
Worker Node 03 Ready
PAY
Payment Service Pod · Running
WRK
Async Worker Pod · Running
Kubelet · Container Runtime
OTel
Telemetry Collection Layer Application instrumentation · Metrics scraping · Log collection · Kubernetes metadata
M
Metrics Resource utilisation, latency and error rates
L
Logs Container events, failures and exceptions
T
Traces Distributed requests and dependency timing

Architecture note: The illustrated collection layer represents multiple possible components, not necessarily a single agent. Real deployments may combine Prometheus, OpenTelemetry Collectors, Kubernetes exporters and cloud-managed services.

Kubernetes metadata provides important context for telemetry. Labels such as namespace, workload identity, pod name and node name help engineers determine where a signal originated.

Because individual pod identities can change frequently, long-term monitoring should also aggregate telemetry by stable workload and service dimensions.

02 / The Four Observability Layers

Connecting Application Health to Infrastructure State

Effective Kubernetes monitoring requires visibility across several operational layers. Each layer answers a different set of troubleshooting questions.

01
Application

Request latency, error rates, throughput, business operations, distributed traces and application exceptions.

02
Container & Pod

Restarts, readiness, resource consumption, container termination reasons and pod scheduling state.

03
Node & Cluster

CPU and memory pressure, node availability, storage health, scheduling capacity and orchestration events.

04
Network & Dependencies

Service connectivity, DNS resolution, network policies, ingress traffic and external service availability.

These layers are interconnected. A request latency increase may originate from application logic, but it may also result from CPU throttling, an overloaded dependency, storage delays or network disruption.

Engineers should correlate signals between layers rather than assuming that the component reporting an error is responsible for causing it.

03 / Ephemeral Pods and Workload Lifecycle

Monitoring Workloads That Continuously Change

Kubernetes controllers manage the desired state of application workloads. If a pod becomes unavailable or a deployment changes, the platform may create replacement pods.

Monitoring must account for these transitions because the disappearance of a pod does not necessarily indicate that its workload has stopped serving requests.

Illustrative Pod Replacement Journey
01
Pod Created Workload controller requests a pod
02
Scheduled Scheduler selects an eligible node
03
Running Container starts and becomes ready
04
Terminated Pod removed during failure or rollout
05
Replacement Controller creates another pod

This is a simplified workload lifecycle illustration rather than the complete Kubernetes pod phase state machine. Real workloads can experience additional states, retries and termination paths.

A critical operational distinction exists between pod phase, container state and application readiness.

A pod may be in the Running phase while its application is not ready to accept traffic. Similarly, a container may repeatedly restart without the underlying node becoming unavailable.

Monitoring should therefore include readiness conditions, restart counts, termination reasons and workload availability rather than relying only on pod phase.

04 / Kubernetes Monitoring Signals

Metrics That Reveal Workload and Cluster Problems

Kubernetes exposes several categories of operational signals. Infrastructure metrics help identify resource pressure, while application metrics reveal the effect of that pressure on user-facing services.

CPU
CPU & Memory

Monitor CPU utilisation, CPU throttling, memory working sets, memory limits and out-of-memory termination events.

POD
Pod & Workload Health

Monitor desired versus available replicas, restart counts, readiness conditions and scheduling failures.

NET
Network & Storage

Monitor network errors, packet drops where exposed, DNS failures, storage latency and volume availability.

A common monitoring architecture uses Prometheus-compatible metrics endpoints and exporters to collect infrastructure and application measurements.

Tools such as kube-state-metrics expose Kubernetes object-state information, while kubelet and container-related metrics provide additional resource and runtime visibility.

Infrastructure metrics should be interpreted alongside application service-level indicators. High CPU utilisation is not automatically an incident, but high CPU combined with increased p99 latency and request errors may indicate a meaningful performance problem.

05 / Kubernetes Networking Observability

Following Requests Through the Cluster Network

Kubernetes networking introduces several layers between a client and the application container. Depending on the deployment, requests may pass through an external load balancer, ingress controller or Gateway API implementation, Kubernetes Service and the cluster networking layer.

Example Application Traffic Journey
Client External request
Ingress / Gateway Entry point and routing
Kubernetes Service Stable service abstraction
Application Pod Selected backend endpoint

Network investigation: A failed request can result from routing configuration, endpoint availability, DNS resolution, network policy enforcement, backend readiness or application failure.

Kubernetes Services provide stable network abstractions for changing groups of backend pods. EndpointSlice objects describe the endpoints associated with Services.

When an application becomes unavailable, engineers should verify whether suitable ready endpoints exist before assuming that the problem is caused by the external network.

NetworkPolicy objects may also influence connectivity when the installed network plugin supports their enforcement.

For advanced troubleshooting, network-level telemetry can complement application traces by exposing connection attempts, policy decisions, retransmissions or packet drops where supported by the underlying infrastructure.

06 / Kubernetes Troubleshooting Commands

Combining CLI Investigation with Observability Data

Observability dashboards help engineers detect patterns, but Kubernetes command-line inspection remains useful for validating the current state of workloads.

The following commands provide examples of operational checks during a service investigation.

Kubernetes Investigation Commands kubectl · Read-Only Examples
# Inspect application pods kubectl get pods -n production -o wide # Examine a failing pod and its events kubectl describe pod order-pod -n production # Inspect recent container logs kubectl logs order-pod -n production --tail=100 # Inspect logs from a previous container instance kubectl logs order-pod -n production --previous # Inspect deployment availability kubectl get deployments -n production # Inspect Service endpoint discovery kubectl get endpointslices -n production # Inspect recent namespace events kubectl get events -n production --sort-by=.metadata.creationTimestamp

The pod name in these commands is illustrative and must be replaced with the actual workload identifier. The --previous option is useful when a previous container instance is available, but it does not provide an unlimited historical log archive.

Commands reveal current or recently retained Kubernetes state. Centralised metrics, logs and traces provide the historical context needed to compare conditions before, during and after an incident.

07 / Cloud-Native Monitoring Platforms

Integrating Kubernetes with Managed Observability

Kubernetes monitoring can be implemented through self-managed observability systems or managed cloud platforms.

Cloud providers offer monitoring, logging and tracing integrations for managed Kubernetes environments, although collection coverage, configuration and pricing vary.

Platform / Tool Typical Role Operational Value
Prometheus Metrics collection and querying Application and infrastructure metrics
Grafana Observability dashboards and exploration Visualise and correlate operational signals
kube-state-metrics Kubernetes object-state metrics Workload availability and object conditions
OpenTelemetry Instrumentation and telemetry pipelines Standardise collection and export
Google Cloud Observability Managed monitoring, logging and tracing Integrate GKE and Google Cloud telemetry
Amazon CloudWatch AWS monitoring and log analysis Observe AWS and EKS environments
Azure Monitor Azure monitoring and analytics Observe Azure and AKS workloads

For example, Google Kubernetes Engine can integrate with Google Cloud Monitoring and Cloud Logging, while Cloud Trace supports distributed tracing investigations.

Cloud network telemetry, such as VPC Flow Logs where supported and enabled, may provide additional information about traffic patterns and network behaviour. It should not be treated as a replacement for packet-level investigation or application tracing.

Engineers should also monitor the telemetry pipeline itself, including ingestion delays, dropped records, collection errors and exporter health.

08 / Engineering Case Study

Investigating a Kubernetes Application Failure

Consider an order-processing application deployed across multiple Kubernetes worker nodes. Customers begin experiencing intermittent HTTP 503 responses shortly after a deployment update.

The cluster nodes remain Ready, but application availability has deteriorated.

Kubernetes Incident Investigation
STEP 01 / DETECT Application Errors

Request metrics reveal increasing HTTP 503 errors. Distributed traces identify the order service as the affected application path.

STEP 02 / CORRELATE Pod Availability

Kubernetes metrics show reduced ready replicas. Pod events reveal readiness probe failures following the deployment update.

STEP 03 / INVESTIGATE Configuration Change

Engineers compare the deployment configuration and application startup behaviour to identify why new pods fail readiness.

Engineering outcome: The evidence points toward a readiness or startup problem introduced during the rollout. Engineers can validate the hypothesis by inspecting probe configuration, application logs, rollout history and available Service endpoints before applying a corrective change.

The important lesson is that Kubernetes infrastructure can remain operational while the application becomes unavailable.

Node readiness alone does not guarantee sufficient application capacity, correct Service endpoint selection or successful end-to-end request processing.

By correlating application metrics, traces, logs and Kubernetes state, engineers can distinguish orchestration problems from application and dependency failures.

Network Insight · Engineering Principle

Cloud-native observability requires correlation across application, orchestration, infrastructure and network layers. Kubernetes can maintain the desired workload state, but engineers must still verify that the application is ready, reachable and delivering the expected service-level behaviour. The most useful monitoring systems connect workload identity, infrastructure conditions and application outcomes into a unified investigation.

Section 07 — Key Engineering Takeaways
✓ Kubernetes workloads are dynamic, so monitoring must account for ephemeral pods and changing replicas.
✓ Application health and Kubernetes infrastructure health are related but distinct.
✓ Pod readiness, restart counts, resource pressure and workload availability provide essential troubleshooting signals.
✓ Kubernetes networking introduces Service, endpoint, ingress, DNS and policy considerations.
✓ Prometheus, OpenTelemetry and cloud-managed monitoring platforms can provide complementary observability capabilities.
✓ Effective incident investigation correlates metrics, logs, traces and Kubernetes object state.
08
NEXT SECTION Service Mesh, APM & Dependency Mapping
07 Interactive Engineering Lab

Kubernetes Monitoring Explorer

Investigate a cloud-native application deployed across three Kubernetes worker nodes. Inspect pod lifecycle states, resource utilisation, deployment readiness, simulated cluster events and kubectl diagnostics to identify production incidents.

CLUSTER HEALTHY
01 / Select a Kubernetes Incident
02 / Cluster Health Overview
Worker Nodes 3
Ready Pods 0
Unavailable Pods 0
CPU Utilisation 0%
Memory Utilisation 0%
03 / Interactive Kubernetes Cluster
Production Cluster / namespace: shop 3 WORKER NODES

Select any pod to inspect its lifecycle state, restart count, resource usage and diagnostic context. Select a worker node heading to inspect node resources.

Resource & Workload Inspector

POD DETAILS
Select a pod or node to inspect its state.

Deployment Readiness

REPLICAS
Engineering insight: A running pod is not necessarily ready to serve traffic. Readiness probes determine whether a pod should be included in matching Service endpoints.
04 / Kubernetes Diagnostic Terminal

Simulated kubectl Investigation

READ-ONLY COMMANDS
NETWORK INSIGHT / KUBERNETES CLI
Select a command to inspect the simulated cluster.

Commands operate on the lab's simulated state. No connection to a real Kubernetes cluster is made.

05 / Kubernetes Event Timeline

Cluster Events

CONTROL PLANE EVENTS
06 / Engineering Investigation Challenge

Identify the Root Cause

Inspect pod states, restart counts, resource metrics, deployment readiness and kubectl output. Select the diagnosis that best matches the evidence.

Investigate the cluster and select the most likely cause.
Engineering principle: Kubernetes observability requires correlating workload state, scheduling decisions, container resource usage, probe results and cluster events. Pod phases, container waiting reasons and termination reasons are different concepts: CrashLoopBackOff is a container waiting reason, while OOMKilled is a termination reason. This lab models those distinctions in a simplified environment. All cluster data and kubectl output are simulated.
08 MICROSERVICES OBSERVABILITY · SECTION 08

Service Mesh, APM & Dependency Mapping

In a distributed microservices environment, application performance depends on more than the behaviour of individual services. It also depends on the communication paths, traffic policies and downstream dependencies connecting those services.

A service may appear healthy when examined in isolation while requests passing through it experience high latency, repeated retries or failures in downstream systems.

Service mesh technologies, application performance monitoring platforms and service dependency maps provide complementary ways to understand these relationships.

The objective is to move from monitoring individual components to observing the behaviour of the complete application system.

01 / Service Mesh Architecture

Introducing a Dedicated Service Communication Layer

A service mesh provides infrastructure capabilities for managing and observing communication between application services. Depending on the implementation, these capabilities may include traffic routing, encryption, identity enforcement, retries, timeouts and telemetry generation.

In a traditional sidecar-based architecture, a proxy is deployed alongside each participating application workload. The proxy handles selected inbound and outbound service traffic.

A control plane distributes configuration and policy to the data-plane proxies, allowing traffic behaviour to be managed consistently across many services.

Sidecar-Based Service Mesh Architecture Conceptual Model
CP
Service Mesh Control Plane Distributes routing, security and proxy configuration
API
API Gateway Application Container
P
Sidecar Proxy Traffic + Telemetry
ORD
Order Service Application Container
P
Sidecar Proxy Traffic + Telemetry
PAY
Payment Service Application Container
P
Sidecar Proxy Traffic + Telemetry

Architecture note: This diagram illustrates a sidecar deployment model. Some modern service mesh architectures use shared node-level components and optional specialised proxies instead of deploying a sidecar beside every application. The animation represents logical service communication, not a literal packet path through the diagram.

Examples of service mesh technologies include Istio and Linkerd, although their architectures, features and operational requirements differ.

Service mesh observability can provide request rates, response codes, latency measurements and information about traffic between participating workloads.

However, mesh telemetry does not automatically reveal every internal application operation. Database processing, business logic and asynchronous workflows may still require application instrumentation.

02 / Service Mesh Capabilities

Traffic Management, Security and Observability

Service meshes are frequently introduced to provide consistent communication controls without requiring every application team to implement those controls independently.

TM
Traffic Management

Configure routing behaviour, retries, timeouts, traffic splitting and other supported communication policies.

SEC
Service Security

Support authenticated service communication, mutual TLS and identity-based policy enforcement.

OBS
Traffic Observability

Generate network and application-protocol telemetry that helps engineers inspect communication between services.

Traffic management policies require careful design. Retries may improve resilience during transient failures, but uncontrolled retries can amplify load on an already overloaded dependency.

Similarly, a timeout configured at one service boundary should be considered alongside the overall request deadline and the timeouts of downstream calls.

03 / Application Performance Monitoring

Understanding Application Behaviour Beyond the Network

Application Performance Monitoring (APM) focuses on the performance and reliability of application transactions, operations and dependencies.

APM platforms commonly combine application instrumentation, transaction traces, service-level metrics and dependency information to help engineers understand where application time is spent.

For example, an order-processing transaction might include request validation, inventory lookup, payment authorisation and database updates.

Each operation can contribute to the observed response time. Instrumentation allows engineers to identify slow operations, error-producing dependencies and changes in transaction performance.

Technology Primary Visibility Typical Limitation
Service Mesh Inter-service communication, traffic policies and proxy-observed metrics Limited visibility into application internals without instrumentation
APM Transactions, application operations and dependency performance Coverage depends on supported instrumentation and configuration
Distributed Tracing Individual request journeys and span timing Missing context or sampling can leave incomplete traces
Infrastructure Monitoring CPU, memory, network, storage and platform health Resource metrics alone cannot explain application behaviour

These technologies should not be treated as mutually exclusive. APM may use distributed tracing internally, while service mesh telemetry can enrich dependency maps and application dashboards.

04 / Service Dependency Mapping

Visualising the Relationships Between Microservices

A service dependency map represents the communication relationships between application components. Nodes typically represent services, while edges represent observed requests or other dependency relationships.

Dependency maps help engineers understand which components communicate, identify shared dependencies and assess the potential impact of failures.

Example Microservices Dependency Map Illustrative Incident
Observed Dependency
Degraded Path
Investigate

Interpretation: The payment service is marked as degraded, while the shared database remains a possible contributing dependency. A dependency map identifies relationships and symptoms; it does not establish root cause by itself.

A useful dependency map may enrich edges with request volume, error rates and latency measurements.

Engineers can then identify whether a degraded dependency is isolated to one service or affects multiple consumers.

Dependency maps also support change-impact analysis. Before modifying a shared service, teams can inspect which applications rely on it.

05 / Latency Attribution

Identifying Which Dependency Contributes to Delay

An application transaction may involve multiple downstream operations. APM and distributed tracing help engineers determine which operations contribute most significantly to the observed response time.

Consider an illustrative checkout transaction with several sequential processing stages.

Example Sequential Operation Durations
Gateway
40 ms
Order Logic
80 ms
Inventory
120 ms
Payment
500 ms
Database
60 ms

Illustrative timing: If these operations are strictly sequential and non-overlapping, their combined duration is 800 ms. In real traces, parent-child spans and parallel operations often overlap, so span durations must not simply be added together. A trace waterfall and critical-path analysis are needed to attribute end-to-end latency correctly.

In this example, the payment operation represents the largest individual delay. However, the next investigation should determine whether that delay originates in payment processing, network communication, retries or another downstream dependency.

APM systems can help distinguish application execution time from waiting on external calls, provided the necessary instrumentation is available.

06 / Service Mesh Security and Reliability

Observing Encryption, Identity and Traffic Policies

Service mesh technology can introduce security and reliability controls into service-to-service communication.

These controls are operationally important because policy changes may affect application connectivity even when application code remains unchanged.

TLS
Mutual TLS

Supported meshes can authenticate participating workloads and encrypt service communication. Certificate or identity problems may prevent connections from succeeding.

POL
Authorisation Policies

Identity-aware policies can restrict which services communicate. Engineers should inspect policy decisions when requests are unexpectedly denied.

REL
Retries & Timeouts

Reliability policies can influence request behaviour. Excessive retries or poorly chosen timeouts can increase latency and amplify failures.

Security and traffic telemetry should be correlated with application errors. A connection failure may originate from a policy decision, an identity problem or an unavailable destination.

Engineers should also distinguish proxy-level observations from application-level outcomes. A successful network connection does not guarantee that a business transaction completed successfully.

07 / Correlating Service Mesh and APM Data

Building a Unified Investigation View

The greatest value emerges when service communication telemetry, application instrumentation and infrastructure monitoring are analysed together.

For example, a service mesh may report increasing retries between two services. APM may reveal that the destination service is spending more time waiting on a database.

Kubernetes metrics may then reveal resource pressure affecting the database client or application workload.

Signal Investigation Question Potential Evidence
Mesh Metrics Is communication between services degrading? Error rates, retries, latency and traffic volume
APM Which application operation is experiencing delay? Transaction breakdown and operation timing
Distributed Traces Where did a specific request spend time? Span hierarchy, timing and exceptions
Kubernetes Metrics Is the workload resource constrained? CPU throttling, memory pressure and pod readiness
Application Logs What error or event occurred internally? Exceptions, timeouts and dependency failures

Consistent service naming, environment metadata and trace context propagation improve the ability to correlate these signals.

Without consistent identifiers, the same workload may appear under different names across monitoring systems, making investigations unnecessarily difficult.

08 / Engineering Case Study

Investigating a Degraded Payment Dependency

Consider a microservices checkout platform where customers report slow payment confirmation. The API gateway remains available, and the order service reports no obvious infrastructure failure.

However, end-to-end transaction latency has increased significantly.

Service Dependency Investigation
STEP 01 / DETECT Dependency Degradation

Service mesh metrics reveal increased latency and retries between the order service and payment service.

STEP 02 / CORRELATE Trace Investigation

Distributed traces identify long payment operations. APM highlights increased waiting time associated with a downstream call.

STEP 03 / VALIDATE Downstream Evidence

Engineers inspect payment logs, database metrics, timeout settings and retry behaviour to establish the actual source of delay.

Engineering outcome: The combined evidence narrows the investigation from a general checkout performance problem to the payment dependency path. Root cause still requires validation: the underlying issue could involve database latency, service saturation, network disruption or retry amplification.

Dependency mapping is particularly valuable in this situation because it identifies the services affected by a degraded component.

A shared dependency may create correlated failures across several otherwise healthy application services.

Engineers should therefore investigate both the failing component and its upstream and downstream relationships.

Network Insight · Engineering Principle

Distributed application performance is a property of the entire dependency graph, not merely the health of individual services. Service mesh telemetry exposes communication behaviour, APM reveals application transaction performance, and dependency maps help engineers understand the relationships between components. Correlating these views enables more effective troubleshooting and change-impact analysis.

Section 08 — Key Engineering Takeaways
✓ Service meshes provide infrastructure-level communication controls and traffic observability.
✓ APM provides visibility into application transactions, operations and dependencies.
✓ Dependency maps reveal communication relationships and potential failure propagation paths.
✓ Distributed trace timing must account for parallel operations and overlapping spans.
✓ mTLS, identity policies, retries and timeouts can influence service availability and latency.
✓ Effective investigations correlate mesh telemetry, APM, distributed traces, application logs and infrastructure metrics.
09
NEXT SECTION Incident Investigation, AIOps & Automation
08 Interactive Engineering Lab

Service Mesh Dependency Explorer

Investigate how requests travel between microservices. Explore application performance monitoring, service dependencies, proxy telemetry, mTLS, retries and circuit breakers while diagnosing latency and failures across a distributed application.

MESH HEALTHY
01 / Select an Engineering Scenario
02 / Application Performance Overview
Requests Observed 0
Last Request Latency —
Failed Requests 0
Circuit State Closed
03 / Interactive Service Dependency Map
Online Shop / Service-to-Service Traffic SIMULATED MESH
Healthy service Degraded latency Failure / blocked Connections represent logical dependencies.

Service Dependency Inspector

SELECT A SERVICE
Select a service in the topology to inspect its dependencies and performance.

Service Mesh Traffic Policies

PROXY CONTROLS
mTLS is enabled, one retry is configured and circuit-breaker protection is active.
04 / Distributed Request Trace

Request Critical Path

NO TRACE

Run a request trace to inspect service latency.

Trace spans will show where request time is spent and which dependency contributes most to the end-to-end latency.
05 / Service Mesh Event Timeline

Proxy & Application Events

TELEMETRY STREAM
06 / Engineering Investigation Challenge

Identify the Service Mesh Condition

Examine service dependencies, request latency, failures, traffic policies and trace spans. Select the diagnosis supported by the evidence.

Engineering principle: Service meshes can provide traffic management, identity-based transport security and proxy-level telemetry. APM and distributed tracing help connect dependency-level behaviour to application outcomes. Retries, timeouts and circuit breakers can improve resilience, but incorrect policies can amplify load, increase latency or hide underlying failures. This lab uses illustrative traffic and does not connect to a real service mesh.
09 MICROSERVICES OBSERVABILITY · SECTION 09

Incident Investigation, AIOps & Automation

Observability becomes operationally valuable when engineers can use telemetry to detect incidents, understand their impact, investigate contributing factors and restore reliable service.

Modern microservices environments generate enormous quantities of metrics, logs, traces, infrastructure events and dependency information. Collecting these signals is only the beginning of an effective incident-management process.

Engineers must determine which signals are meaningful, identify relationships between apparently separate failures and distinguish symptoms from underlying causes.

The objective of incident investigation is not simply to identify a failing service. It is to establish what changed, why the system behaved differently and how normal service can be restored safely.

01 / Incident Response Lifecycle

From Detection to Continuous Improvement

A structured incident-response lifecycle reduces uncertainty during production failures. It establishes a repeatable approach for detecting problems, investigating evidence and validating recovery.

Microservices Incident Response Lifecycle Operational Workflow
01
Detect Identify degraded service-level indicators
02
Triage Determine impact, scope and severity
03
Investigate Correlate telemetry and test hypotheses
04
Mitigate Restore service using controlled changes
05
Learn Review causes, improve controls and prevent recurrence

Operational note: Incident response is iterative. Teams may investigate while mitigation is underway and revisit earlier hypotheses when new evidence becomes available. Learning and prevention continue after immediate service recovery.

Detection should focus on meaningful service degradation rather than every individual infrastructure event.

For example, a temporary pod restart may not affect users if sufficient healthy replicas remain available. In contrast, a sustained increase in checkout failures represents a direct service-level problem.

Incident severity should reflect business impact, affected users, service criticality and operational risk.

02 / Detecting Meaningful Incidents

Moving from Infrastructure Alerts to Service-Level Signals

Traditional monitoring systems often generate alerts from infrastructure thresholds such as CPU utilisation, memory consumption or network interface errors.

These measurements remain important, but they do not always describe the experience of application users.

Microservices incident detection should therefore incorporate service-level indicators and application behaviour.

LAT
Latency

Detect sustained increases in request duration, especially at important percentiles and user-facing transaction boundaries.

ERR
Error Rates

Identify failed requests, dependency timeouts, exceptions and unsuccessful business transactions.

SAT
Saturation

Detect resource pressure, queue growth, connection exhaustion and other capacity constraints.

DEP
Dependencies

Observe downstream availability, retry amplification and cascading failures.

Service Level Objectives (SLOs) provide a useful foundation for alerting. Instead of reacting to every isolated measurement, teams can monitor whether a service is consuming its permitted error budget too quickly.

Multi-window, multi-burn-rate alerting can help distinguish severe short-lived degradation from slower persistent problems.

Alert thresholds and evaluation windows should be selected according to the service's reliability objectives, traffic patterns and operational requirements.

03 / Correlating Observability Signals

Building a Unified Incident Investigation

A production incident may generate many apparently unrelated alerts. An overloaded dependency can produce timeouts, retries, queue growth, application exceptions and infrastructure warnings.

Without correlation, each symptom may appear to represent a separate problem.

Observability Signal Correlation Conceptual Architecture
Metrics Latency · Errors
Logs Exceptions · Events
Traces Request Journeys
Platform Kubernetes · Mesh
COR
Incident Correlation & Analysis Time alignment · Service identity · Dependency relationships · Change events
01
Incident Scope Affected services and user impact
02
Hypotheses Possible causes supported by evidence
03
Response Controlled mitigation and validation

Important distinction: Correlation identifies related events and narrows the investigation. It does not automatically establish causation. Root-cause conclusions should be validated against independent evidence.

Consistent timestamps, service identifiers, deployment metadata and trace context improve correlation accuracy.

A useful investigation view should also include recent changes, such as deployments, configuration updates, policy modifications and infrastructure maintenance.

04 / Incident Timeline Reconstruction

Understanding the Sequence of Failure

A reliable incident investigation reconstructs what happened before, during and after service degradation.

The sequence of events can help engineers distinguish a triggering change from secondary symptoms.

Illustrative Production Incident Timeline
09:00
Deployment Begins

A new order-service application version begins rolling out across Kubernetes pods.

09:03
Latency Increases

Checkout p99 latency rises while the application remains partially available.

09:05
Error Rate Alert

Failed checkout requests increase, triggering a service-level reliability alert.

09:08
Dependency Identified

Traces reveal prolonged payment calls. Service mesh telemetry shows increased retries.

09:15
Mitigation Applied

Engineers apply a reviewed corrective action and monitor recovery of the affected transaction.

09:22
Service Recovery Validated

Error rates and transaction latency return to expected operating ranges.

Timeline reconstruction should account for clock differences, telemetry ingestion delays and incomplete records.

A deployment occurring before an incident is a useful investigative clue, but temporal proximity alone does not prove that the deployment caused the failure.

05 / Root-Cause Investigation

Distinguishing Symptoms from Underlying Causes

Microservices failures frequently propagate through dependency relationships. The component reporting an error may be several service calls away from the original source of degradation.

Consider a checkout service reporting payment timeouts. The immediate symptom is a failed payment operation, but the underlying cause may involve resource pressure, a downstream database, network disruption or an incorrect traffic policy.

Observed Symptom Possible Cause Validation Evidence
HTTP 503 Errors Unavailable application backends or failed upstream communication Endpoint readiness, gateway logs and service metrics
High p99 Latency Slow downstream calls, contention or retry amplification Trace waterfall, dependency metrics and resource data
Pod Restarts Application crashes, memory exhaustion or failed probes Container termination reasons, pod events and previous logs
Connection Failures DNS, network policy, service identity or destination failure Network telemetry, mesh policy logs and connectivity checks
Queue Growth Consumer saturation, reduced processing capacity or slow dependencies Queue depth, consumer throughput and processing traces

A strong investigation develops competing hypotheses and tests each against available evidence.

Engineers should avoid making production changes based solely on a dashboard correlation or an automated explanation.

When a cause remains uncertain, teams may still apply a reversible mitigation to restore service while continuing the investigation.

06 / AIOps and Intelligent Analysis

Using Analytics to Reduce Operational Noise

Artificial Intelligence for IT Operations (AIOps) refers to the application of analytics, statistical methods and machine learning to operational data.

Its objective is to help engineers detect meaningful patterns, reduce alert noise and prioritise investigations across complex environments.

AD
Anomaly Detection

Identify unusual changes in latency, error rates, traffic patterns or resource utilisation relative to an established baseline.

EC
Event Correlation

Group related alerts, identify shared dependencies and reduce the number of separate notifications presented to operators.

RA
Response Assistance

Summarise incident evidence, suggest investigation paths and recommend relevant runbooks for engineer review.

AIOps can be particularly useful in environments where hundreds of services generate thousands of telemetry events.

However, automated analysis depends on data quality, accurate service metadata and representative operational baselines.

Models may produce false positives, miss unusual failure modes or generate plausible but incorrect causal explanations.

AIOps should support evidence-based engineering decisions rather than replace validation and operational accountability.

07 / Incident Automation and Remediation

Automating Response Without Increasing Risk

Automation can reduce the time required to respond to known failure conditions. Common examples include alert enrichment, incident ticket creation, diagnostic data collection and execution of approved runbooks.

More advanced automation may apply corrective actions, but production changes should be governed by explicit safety controls.

Controlled Incident Automation Workflow Human-Governed
01
Trigger Validated alert or incident condition
02
Collect Gather logs, metrics, traces and context
03
Approve Evaluate risk and authorise corrective action
04
Validate Check recovery and revert if necessary

Safety principle: Human approval is appropriate for high-impact changes. Narrowly scoped, low-risk actions may be pre-authorised when they have defined permissions, rate limits, safeguards and rollback procedures.

Automation should be designed to avoid repeated actions that make an incident worse. For example, repeatedly restarting an overloaded service may increase instability rather than restore availability.

Useful safeguards include execution limits, idempotent operations, audit logging, approval gates, rollback mechanisms and post-action health checks.

08 / Production Incident Case Study

Diagnosing a Cascading Microservices Failure

Consider an online checkout platform containing an API gateway, order service, payment service and shared database.

Shortly after a deployment, customers begin experiencing slow checkout transactions and intermittent failures.

Production Incident · Checkout Degradation
STEP 01 / DETECT Service-Level Degradation

Checkout error rates and p99 latency increase. An SLO-based alert identifies customer-facing service degradation.

STEP 02 / INVESTIGATE Correlate Dependencies

Distributed traces reveal slow payment calls. Mesh telemetry shows increasing retries, while database metrics reveal elevated connection utilisation.

STEP 03 / MITIGATE Controlled Recovery

Engineers validate the contributing condition, apply an approved mitigation and monitor checkout latency, errors and dependency recovery.

Engineering interpretation: The evidence suggests a dependency-related performance problem with possible retry amplification. A complete root-cause analysis must establish why the downstream dependency slowed, whether the deployment contributed and which corrective action restored normal behaviour.

The incident demonstrates why a single monitoring signal is rarely sufficient to explain a complex microservices failure.

Application metrics reveal user impact, traces reveal affected execution paths, service mesh telemetry exposes communication behaviour and infrastructure metrics provide resource context.

Together, these signals support a more precise investigation than any individual dashboard.

09 / Engineering Incident Runbook

A Repeatable Investigation Method

A practical runbook should guide engineers through the incident without assuming the root cause in advance.

Microservices Incident Investigation Checklist
01
Confirm User Impact

Identify affected transactions, services, regions and reliability objectives.

02
Establish the Timeline

Compare the first symptoms with deployment events, configuration changes and infrastructure activity.

03
Inspect Service-Level Metrics

Review latency percentiles, error rates, traffic volume, saturation and error-budget consumption.

04
Follow Distributed Traces

Identify slow operations, failed spans, dependency delays and request critical paths.

05
Validate Infrastructure and Policies

Inspect Kubernetes workload health, resource pressure, network connectivity and service mesh policies.

06
Mitigate and Verify Recovery

Apply an authorised, proportionate action. Confirm recovery using independent service-level and dependency signals.

07
Document and Improve

Record evidence, contributing factors, recovery actions and improvements to monitoring, resilience and automation.

Post-incident reviews should focus on improving the reliability of the system and the effectiveness of operational processes.

Useful outcomes include better alerting, clearer dependency ownership, improved instrumentation, safer deployment controls and more reliable recovery procedures.

Network Insight · Engineering Principle

Observability is complete only when telemetry can support reliable operational decisions. Metrics detect degradation, logs provide event context, distributed traces reveal request execution, Kubernetes exposes workload state and dependency maps identify affected relationships. AIOps and automation can accelerate the response, but root-cause validation, change control and recovery verification remain essential engineering responsibilities.

Section 09 — Key Engineering Takeaways
✓ Incident response should follow a structured detection, triage, investigation, mitigation and learning process.
✓ Service-level indicators and SLO-based alerting help prioritise meaningful degradation.
✓ Correlating metrics, logs, traces and infrastructure events reduces investigative uncertainty.
✓ Event correlation does not establish causation; hypotheses require validation.
✓ AIOps can assist with anomaly detection, alert correlation and investigation prioritisation.
✓ Automated remediation requires appropriate safeguards, authorisation, rollback and verification.
✓ Post-incident learning should improve instrumentation, resilience and operational processes.
✓
Monitoring Microservices · Editorial Journey Complete Nine sections covering architecture, observability signals, distributed tracing, metrics, logging, OpenTelemetry, Kubernetes, service mesh, APM and incident response.
09 Final Engineering Investigation

Microservices Incident Command Centre

A production checkout service is failing. Investigate the incident using metrics, structured logs, distributed traces and dependency telemetry. Collect evidence, identify the root cause, evaluate AIOps recommendations and execute a safe remediation before producing your incident report.

AWAITING INCIDENT
01 / Incident Briefing
INC-2048 / Checkout Availability Degradation

The on-call SRE receives a high-priority alert. Checkout requests are failing, application latency has increased and the customer-facing error budget is being consumed. A recent deployment is visible in the change timeline, but the actual cause has not yet been confirmed.

SeveritySEV-2
EnvironmentProduction / Shop
Incident Clock00:00
Investigation StateNot started
02 / Live Incident Indicators
Checkout Success 99.9%
p99 Latency 310 ms
Error Rate 0.1%
Error Budget Used 0%
Evidence Collected 0/4
03 / Production Dependency Investigation

Service Dependency Map

APPLICATION TOPOLOGY

Select a service to inspect health, dependencies and incident context.

Service Inspector

APM DETAILS
Select a service to inspect its incident context.
04 / Correlated Observability Signals

Telemetry Investigation Console

METRICS / LOGS / TRACES
Investigation method: Correlate the time of the failure with changes, locate the failing dependency and use traces and logs to distinguish a symptom from a root cause.
05 / Evidence Collection & Root Cause

Collect Supporting Evidence

Review the telemetry before marking evidence. Four observations are available.

Root Cause Diagnosis

Which explanation best accounts for the incident?

Collect evidence and select a diagnosis.
06 / AIOps & Guarded Remediation

AIOps Recommendation Engine

ADVISORY ONLY
Start the incident and collect evidence to generate a simulated remediation recommendation.

Choose a Remediation

Rollback Inventory Deployment

Restore the previous known-good inventory application revision.

Restart All Microservices

Restart every application workload without correcting the configuration.

Increase Gateway Resources

Allocate additional CPU to the gateway without changing inventory.

Confirm the root cause before executing a remediation.
07 / Incident Event Timeline

Investigation & Response Events

INCIDENT JOURNAL
08 / Final Incident Report

Incident Response Scorecard

ENGINEERING ASSESSMENT
0/100
Telemetry Investigation 0 / 20
Evidence Collection 0 / 20
Root Cause Identification 0 / 25
AIOps Recommendation Review 0 / 10
Successful Remediation 0 / 25
Begin the investigation to generate your incident response assessment.
Engineering principle: Effective incident response connects detection, observability, dependency analysis, root-cause validation and controlled remediation. AIOps recommendations should remain explainable and subject to operational safeguards. This is a fictional training incident; all metrics, logs, traces, recommendations and remediation actions are simulated.
☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Cisco ACI

Cisco ACI | ACI Infrastructure

Cisco ACI | ACI Infrastructure

Modern data centre networks are no longer designed simply around VLANs, subnets, and device-by-device configuration. Applications are distributed across physical servers, virtual machines, containers, private infrastructure, and cloud environments, creating a much more complex set of connectivity and security requirements. Cisco Application Centric Infrastructure (ACI) approaches this problem by making application requirements and policy a central part of how the data centre network is designed and operated.

Cisco ACI combines a physical network fabric with a software-defined policy and management framework. Rather than requiring administrators to configure every switch and network service independently, ACI allows connectivity, segmentation, and application relationships to be expressed through policy. The underlying fabric then provides the network connectivity required to implement that policy. This separation between application intent and individual device configuration is one of the fundamental ideas behind ACI.

The application-centric model changes the way network requirements are represented. Instead of thinking only in terms of individual ports, VLANs, and IP addresses, administrators can define applications through groups of related workloads and describe how those workloads should communicate. Policies can then specify which application components are permitted to communicate, what services they require, and which security boundaries should exist between them.

Automation is another important part of the architecture. Once application and network policies have been defined, ACI can apply those policies consistently across the fabric. This reduces repetitive configuration and helps limit configuration drift as environments grow. It also provides a more structured foundation for integration with orchestration platforms, automation systems, and operational workflows.

Security is closely connected to the policy model. ACI can provide segmentation between application groups and workloads, allowing organisations to establish more granular communication boundaries than a traditional flat network. Microsegmentation can help reduce unnecessary lateral communication, while external security services can be integrated where deeper inspection or specialised security controls are required. The objective is not simply to isolate networks, but to make permitted application communication an explicit policy decision.

ACI also provides visibility into the relationships between applications, endpoints, policies, and the underlying network fabric. This can be particularly valuable when troubleshooting complex application environments because network connectivity can be examined in the context of the policies and endpoint relationships that are driving it.

The architecture can support both physical and virtual workloads, making it useful in environments where traditional servers and newer application platforms operate alongside one another. ACI can also participate in hybrid and multi-site designs, although extending policy across different environments requires careful consideration of each site’s networking model, security requirements, and operational boundaries.

Common use cases include data centre consolidation, application segmentation, private cloud infrastructure, highly automated server environments, and organisations managing large numbers of application workloads. In these environments, the value of ACI is less about replacing individual networking technologies and more about creating a consistent operational model for connecting, securing, and automating applications across the data centre.

The most useful way to understand Cisco ACI is therefore as a policy-driven data centre networking architecture. Its combination of fabric networking, application policy, segmentation, automation, and visibility provides a framework for managing increasingly distributed application environments while reducing the dependency on manual, device-by-device network configuration.

Highlights:Cisco ACI | ACI Infrastructure

ACI Fabric Architecture Explorer
Explore how Cisco ACI combines centralized policy, a leaf-spine fabric, endpoint connectivity and distributed forwarding into one application-centric infrastructure.
MANAGEMENT / POLICY APIC Policy • Automation • Fabric Management FABRIC / SPINE Spine 1 High-Speed Fabric Transport Spine 2 High-Speed Fabric Transport ECMP FABRIC PATHS LEAF / VTEP / POLICY EDGE Leaf 1 VTEP • Policy Leaf 2 VTEP • Policy Leaf 3 VTEP • Policy ENDPOINTS Server A Endpoint Server B Endpoint Server C Endpoint DISTRIBUTED FABRIC • CENTRALIZED POLICY
ACI CONCEPT
Application-Centric Infrastructure
Cisco ACI separates the idea of policy from the physical topology. APIC defines the desired policy while the leaf-spine fabric provides distributed connectivity and forwarding.
Key Idea
The leaf is the most important point for understanding ACI from an endpoint perspective. Endpoints attach to leaves, policy is enforced at the edge, and the leaf participates in VXLAN forwarding.
APIC Leaf Spine VTEP ECMP
Click the Fabric
Click any component or connection in the diagram. The panel explains what that element contributes to the ACI architecture.
HOW TO READ THIS ARCHITECTURE
APIC provides centralized policy and automation. Spines provide the high-speed fabric. Leaves connect endpoints and enforce policy. Endpoints consume the application services. Multiple leaf-spine paths provide predictable ECMP connectivity.

The ACI Cisco Architecture

The ACI Cisco operates with several standard ACI building blocks. These include Endpoint Groups (EPGs) that classify and group similar workloads; then, we have the Bridge Domains (BD), VRFs, Contract constructs, COOP protocol in ACI, and micro-segmentation. With micro-segmentation in the ACI, you can get granular policy enforcement right on the workload anywhere in the network.

Unlike in the traditional network design, you don’t need to place certain workloads in specific VLANs or, in some cases, physical locations. The ACI can incorporate devices separate from the ACI, such as a firewall, load balancer, or an IPS/IDS, for additional security mechanisms. This enables the dynamic service insertion of Layer 4 to Layer 7 services. Here, we have a lot of flexibility with the redirect option and service graphs.

1: – The ACI Infrastructure

The Cisco ACI architecture is optimized to learn endpoints dynamically with its dynamic endpoint learning functionality. So, we have endpoint learning in the data plane. Therefore, the other devices learn of the endpoints connected to that local leaf switch; the spines have a mapping database that saves many resources on the spine and can optimize the data traffic forwarding. So you don’t need to flood traffic any more. If you want, you can turn off flooding in the ACI fabric. Then, we have an overlay network.

As you know, the ACI network has both an overlay and a physical underlay; this would be a virtual underlay in the case of Cisco Cloud ACI. The ACI uses VXLAN, the overlay protocol that rides on top of a simple leaf and spine topology, with standards-based protocols such as IS-IS and BGP for route propagation. 

2: – ACI Networks

ACI Networks also introduces the concept of the Application Policy Infrastructure Controller (APIC), which acts as the central point of control for the network. The APIC allows administrators to define and enforce network policies, monitor performance, and troubleshoot issues.

In addition to network virtualization and policy management, ACI Cisco offers a range of other features. These include integrated security, intelligent workload placement, and seamless integration with other Cisco products and technologies.

3: – COOP Protocol in ACI

The spine proxy receives mapping information (location and identity) via the Council of Oracle Protocol (COOP). Using Zero Message Queue (ZMQ), leaf switches forward endpoint address information to spine switches. As part of COOP, the spine nodes maintain a consistent copy of the endpoint address and location information and maintain the distributed hash table (DHT) database for mapping endpoint identity to location.

4: – Micro-segmentation

Integrated security is achieved through micro-segmentation, which allows administrators to define fine-grained security policies at the application level. This helps to prevent the lateral movement of threats within the network and provides better protection against attacks.

Intelligent workload placement ensures that applications are placed in the most appropriate locations within the network based on their specific requirements. This improves application performance and resource utilization.

Cisco ACI Infrastructure — A Policy‑Driven Data Center Fabric

Cisco ACI infrastructure is built on a spine‑leaf architecture that delivers high‑performance, scalable, and policy‑centric networking for modern data centers. Instead of configuring individual switches, ACI abstracts the entire fabric into a unified policy model controlled by the APIC (Application Policy Infrastructure Controller). This creates a programmable, intent‑based environment where application requirements dictate how the network behaves. The infrastructure is designed for automation, segmentation, and consistent forwarding across all nodes, making it ideal for cloud‑ready and microservices‑driven environments.

Spine‑Leaf Architecture — High‑Performance and Predictable Forwarding

ACI uses a spine‑leaf topology, where:

  • Leaf switches connect to endpoints (servers, firewalls, load balancers).
  • Spine switches provide high‑speed interconnects between all leaves.
  • Every leaf connects to every spine, ensuring predictable latency and deterministic paths.

This architecture eliminates oversubscription and unpredictable hop counts found in traditional three‑tier networks. VXLAN overlays provide scalable segmentation, while ACI’s distributed anycast gateway ensures consistent L3 forwarding across all leaf nodes. The result is a fabric that supports east‑west heavy workloads, microservices, and containerized applications with minimal latency.

APIC — Centralized Policy, Automation, and Fabric Control

The Application Policy Infrastructure Controller (APIC) is the brain of the ACI infrastructure. It manages:

  • policy creation and enforcement
  • fabric configuration and automation
  • endpoint learning
  • health scores and telemetry
  • integration with orchestration tools (VMware, Kubernetes, OpenStack)

APIC does not sit in the data path; instead, it provides centralized control while the fabric itself handles forwarding. This separation ensures high availability and simplifies operations. Analytics from APIC and Nexus Dashboard Insights provide deep visibility into fabric health, policy alignment, and anomalies.

Integrated Security and Microsegmentation

ACI infrastructure includes built‑in microsegmentation through Endpoint Groups (EPGs) and contracts. Instead of relying on VLANs and ACLs, segmentation is defined by application intent. The fabric enforces:

  • east‑west isolation
  • workload‑level segmentation
  • identity‑aware policies
  • contract‑based communication rules

Analytics strengthens this by detecting unusual endpoint movement, unexpected contract usage, and abnormal flows between EPGs. This transforms the ACI fabric into a Zero Trust‑aligned data‑center architecture.

VXLAN Overlays and Distributed Routing

ACI uses VXLAN overlays to provide scalable segmentation and multi‑tenant isolation. Each leaf switch acts as a distributed router, providing:

  • consistent L3 gateways
  • scalable tenant isolation
  • efficient east‑west forwarding
  • seamless VM and container mobility

Distributed routing reduces traffic hair‑pinning and improves performance for microservices and cloud‑native workloads. Analytics monitors VXLAN behavior, endpoint mobility, and routing consistency to ensure the fabric remains stable.

Hybrid Cloud Extension — ACI Anywhere

ACI infrastructure extends beyond the physical data center through ACI Anywhere, enabling policy‑driven networking across:

  • AWS
  • Azure
  • Google Cloud
  • Remote data centers
  • Colocation environments

This creates a unified segmentation and security model across hybrid and multi‑cloud architectures. Analytics ensures policy consistency across on‑prem and cloud fabrics, detecting drift, mismatches, and cross‑cloud anomalies.

Data Center Network Challenges

Let us examine well-known data center challenges and how the Cisco ACI network solves them.

Challenge: Traditional Complicated Topology

A traditional data center network design usually uses core distribution access layers. When you add more devices, this topology can be complicated to manage. Cisco ACI uses a simple spine-leaf topology, wherein all the connections within the Cisco ACI fabric are from leaf-to-spine switches, and a mesh topology is between them. There is no leaf-to-leaf and no spine-to-spine connectivity.

Required: How ACI Cisco overcomes this

The Cisco ACI architecture uses the leaf-spine, consisting of a two-tier “fat tree” topology with equidistant bandwidths. The leaf layer connects to the physical and virtual workloads and network services, while the spine layer is the transport layer that interconnects the leaves.

Challenge: Oversubscription

Oversubscription generally means potentially requiring more resources from a device, link, or component than are available. Therefore, the oversubscription ratio must be examined at multiple aggregation points in the design, including the line card to switch fabric bandwidth and the switch fabric input to uplink bandwidth.

Oversubscription Example

Let’s look at a typical 2-layer network topology with access switches and a central core switch. The access switches have 24 user ports and one uplink port connected to the core switch. Each access switch has 24 1Gb user ports and a 10Gb uplink port. So, in theory, if all the user ports are transmitted to a server simultaneously, they would require 24 GB of bandwidth (24 x 1 GB).

However, the uplink port is only 10, limiting the maximum bandwidth to all the user ports. The uplink port is oversubscribed because the theoretical required bandwidth (24Gb) exceeds the available bandwidth (10Gb). Oversubscription is expressed as a ratio of bandwidth needed to available bandwidth. In this case, it’s 24Gb/10Gb or 2.

Challenge: Varying bandwidths

We have layers of oversubscription with the traditional core, distribution, and access designs. We have oversubscribed at the access, distribution, and core layers. The cause of this will give varying bandwidth to endpoints if they want to communicate with an endpoint that is near or an endpoint that is far away. With this approach, endpoints on the same switch will have more bandwidth than two endpoints communicating across the core layer.

Users and application owners don’t care about networks; they want to place their workload wherever the computer is and want the same BW regardless of where you put it. However, with traditional designs, the bandwidth available depends on where the endpoints are located.

Required: How ACI Cisco overcomes this

The ACI leaf and spine have equidistant endpoints between any two endpoints. So if any two servers have the same bandwidths, which is a big plus for data center performance, then it doesn’t matter where you place the workload, which is a big plus for virtualized workloads. This gives you unlimited workload placement.

Challenge: Lack of portability

Applications are built on top of many building blocks. We use contracts such as VLANs, IP addresses, and ACLs to create connectivity. We use these constructs to create and translate the application requirements to the network infrastructure. These constructs are hardened into the network with configurations applied before connectivity.

These configurations are not very portable. It’s not that they were severely designed; they were never meant to be portable. Location Independent Separation Protocol (LISP) did an excellent job making them portable. However, they are hard-coded for a particular requirement at that time. Therefore, if we have the exact condition in a different data center location, we must reconfigure the IP address, VLANs, and ACLs. 

Required: How ACI Cisco overcomes this

An application refers to a set of networking components that provides connectivity for a given set of workloads. These workloads’ relationship is what ACI calls an “application,” and the connection is expressed by what ACI calls an application network profile. With a Cisco ACI design, we can create what is known as Application Network Profiles (ANPs).

The ANP expresses the relationship between the application and its communications. It is a configuration template used to express the relationship between segments. The ACI then translates those relationships into networking constructs such as VLANs, VXLAN, VRF, and IP addresses that the devices in the network can then implement.

Challenge: Issues with ACL

The traditional ACL is very tightly coupled with the network topology, and anything that is tightly coupled will kill agility. It is configured on a specific ingress and egress interface and pre-set to expect a particular traffic flow. These interfaces are usually at demarcation points in the network. However, many other points in the network could do so with security filtering.

Required: How ACI Cisco overcomes this

The fundamental security architecture of the Cisco ACI design follows an allow-list model, where we explicitly define what traffic should be permitted. A contract is a policy construct used to describe communication between EPGs. Without a contract, no unicast communication is possible between those EPGs unless the VRF is configured in “unenforced” mode or those EPGs are in a preferred group.

A contract is not required to communicate between endpoints in the same EPG (although transmission can be prevented with intra-EPG isolation or intra-EPG contract). We have a different construct for applying the policy in ACI. We use the contract construct, and within the contract construct, we have subjects and filters that specify how endpoints are allowed to communicate.

These managed objects are not tied to the network’s topology because they are not applied to a specific interface. Instead, the contracts are used in the intersection between EPGs. They represent rules the network must enforce irrespective of where these endpoints are connected.   

Challenge: Issues with Spanning Tree Protocol (STP)

A significant shortcoming of STP is that it is a brittle failure mode that can bring down entire data centers or campus networks when something goes wrong. Though modifications and enhancements have addressed some of these risks, this has happened at the cost of technical debt in design and maintenance.

When you think about how this works, we have a BPDU that acts as a HELLO mechanism. When we stop receiving the BPDUs and the link stays up, we forward all the links. So, spanning Tree Protocol causes outages.

Spanning Tree Root Switch stp port states

Required: How ACI Cisco overcomes this

The Cisco ACI does not run Spanning Tree Protocol natively, meaning the ACI control plane does not run STP. Inside the fabric, we are running IS-IS as the interior routing protocol. If we stop receiving, we don’t go into an all-forwarding state with IS-IS. As we have IP reachability between Leaf and Spine, we don’t have to block ports and see actual traffic flows that are not the same as the physical topology.

Within the ACI fabric, we have all the advantages of layer three networks, which are more robust and predictable than with an STP design. With ACI, we don’t rely on SPT for the topology design. Instead, the ACI uses ECMP for layer 2 and Layer 3 forwarding. We can use ECMP because we have routed links between the leaves and spines in the ACI fabric.

Challenge: Core-distribution design

The traditional design uses VLANs to segment Layer 2 boundaries and broadcast domains logically. VLANs use network links inefficiently, resulting in rigid device placement. We also have a cap on the number of VLANs we can create. Some applications require that you need Layer 2 adjacencies.

For example, clustering software requires Layer 2 adjacency between source and destination servers. However, if we are routing at the access layer, only servers connected to the same access switch with the same VLANs trunked down would be Layer 2-adjacent. 

Required: How ACI Cisco overcomes this

VXLAN solves this dilemma in ACI by decoupling Layer 2 domains from the underlying Layer 3 network infrastructure. With ACI, we are using the concepts of overlays to provide this abstract. Isolated Layer 2 domains can be connected over a Layer 3 network using VXLAN. Packets are transported across the fabric using Layer 3 routing.

This paradigm fully supports layer 2 networks. Large layer-2 domains will always be needed, for example, for VM mobility, clusters that don’t or can’t use dynamic DNS and non-IP traffic, and broadcast-based intra-subnet communication.

**Cisco ACI Architecture: Leaf and Spine**

The fabric is symmetric with a leaf and spine design, and we have central bandwidth. Therefore, regardless of where a device is connected to the fabric, it has the same bandwidth as every other device connected to the same fabric. This removes the placement restrictions that we have with traditional data center designs. A spine-leaf architecture is a data center network topology that consists of two switching layers—a spine and a leaf.

The leaf layer comprises access switches that aggregate server traffic and connect directly to the spine or network core. Spine switches interconnect all leaf switches in a full-mesh topology.

With low latency east-west traffic, optimized traffic flows are imperative for performance, especially for time-sensitive or data-intensive applications. A spine-leaf architecture aids this by ensuring traffic is always the same number of hops from its next destination, so latency is lower and predictable.

Displaying a VXLAN tunnel 

We have expanded the original design and added VXLAN. We are creating a Layer 2 network, specifically, a Layer 2 overlay over a Layer 3 routed core. The Layer 2 extension allows the hosts, desktop 0 and desktop 1, to communicate over the Layer 2 overlay that VXLAN creates.

The hosts’ IP addresses are 10.0.0.1 and 10.0.0.2, which are not reachable via the Leaf switches. The Leaf switches cannot ping these. Consider the Leaf and Spine switches a standard Layer 3 WAN or network for this lab. So, we have unicast connectivity over the WAN.

The only IP routing addition I have added is the new loopback addresses on Leafs 1 and 2, of 1.1.1.1/32 and 2.2.2.2/32, used for ingress replication for VXLAN. Remember that the ACI is one of many products that use Layer 2 overlays. VXLAN can be used as a Layer 2 DCI.

Notice below I am running a ping from desktop 0 to the corresponding desktop. These hosts are in the 10.0.0.0/8 range, and the core does not know these subnets. I’m also running a packet capture on the link Gi1 connected to Leaf A.

Notice the source and destination are 1.1.1.1 and 2.2.2.2.2, which are the VTEPs. The IMCP traffic is encapsulated into UDP port 1024, explicitly set in the confirmation as the VXLAN port to use.

ACI Network: VXLAN transport network

In a leaf-spine ACI fabric, we have a native Layer 3 IP fabric that supports equal-cost multi-path (ECMP) routing between any two endpoints in the network. Using VXLAN as the overlay protocol allows any workload to exist anywhere in the network.

We can have physical and virtual machines in the same logical layer 2 domain while running layer 3 routing to the top of each rack. Thus, we can connect several endpoints to each leaf, and for one endpoint to communicate with another, we use VXLAN.

So, the transport of the ACI fabric is carried out with VXLAN. The ACI encapsulates traffic with VXLAN and forwards the data traffic across the fabric. Any policy that needs to be implemented gets applied at the leaf layer. All traffic on the fabric is encapsulated with VXLAN. This allows us to support standard bridging and routing semantics without the standard location constraints.

Diagram: VXLAN operations. The source is Cisco.

Council of Oracle Protocol

COOP protocol in ACI and the ACI fabric

The fabric appears to the outside as one switch capable of forwarding Layers 2 and 3. In addition, the fabric is a Layer 3 network routed network and enables all links to be active, providing ECMP forwarding in the fabric for both Layer 2 and Layer 3. Inside the fabric, we have routing protocols such as BGP; we also use Intermediate System-to-Intermediate System Protocol (IS-IS) and Council of Oracle Protocol (COOP) for all forwarding endpoint-to-endpoint communications.

The COOP protocol in ACI communicates the mapping information (location and identity) to the spine proxy. A leaf switch forwards endpoint address information to the spine switch ‘Oracle’ using Zero Message Queue (ZMQ). The COOP protocol in ACI is something new to data centers. The Leaf switches use COOP to report local station information to the Spine (Oracle) switches.

COOP protocol in ACI

Let’s look at an example of how the COOP protocol in ACI works. We have a Leaf that learns of a host. The Leaf reports this information—let’s say it knows Host B—and sends it to one of the Spine switches chosen randomly using the Council Of Oracle Protocol.

The Spine switch then relays this information to all the other Spines in the ACI fabric so that every Spine has a complete record of every single endpoint. The Spines switches record the information learned via the COOP in the Global Proxy Table, which resolves unknown destination MAC/IP addresses when traffic is sent to the Proxy address.

COOP database.

So, we know that the Spine has a COOP database of all endpoints in the fabric. Council of Oracle Protocol (COOP) is used to communicate the mapping information (location and identity) to the spine proxy. A leaf switch forwards endpoint address information to the spine switch ‘Oracle’ using Zero Message Queue (ZMQ).

The command: Show coop internal info repo key allows us to verify that the endpoint is in the COOP database using the BD VNID of 16154554 mapped to the MAC address of 0050.5690.3eeb. With this command, you can also see the tunnel next hop and IPv4 and IPv6 addresses tied to this MAC address.

coop protocol in ACI
Diagram: COOP protocol in ACI

**The fabric constructs**

The ACI Fabric contains several new network constructs specific to ACI that enable us to abstract much of the complexity we had with traditional data center designs. These new concepts are ACI’s Endpoint Groups, Contracts, Bridge Domains, and COOP protocol.

In addition, we have a distributed Layer 3 Anycast gateway function that ensures optimal Layer 3 and Layer 2 forwarding. We also have original constructs you may have used, such as VRFs. The Layer 3 Anycast feature is popular and allows flexible placement of the default gateway, which is suited for agile designs.

 

Cisco ACI • Interactive Learning Widget 2

ACI Traffic Flow & VXLAN Explorer

Follow one packet from the source endpoint through the ACI fabric to the destination endpoint.
ACI PACKET JOURNEY SOURCE FABRIC TRANSPORT DESTINATION Server A Source Endpoint Traffic enters fabric Leaf 1 Source Fabric Edge VTEP 1 VXLAN Encapsulation Policy / Forwarding Edge Spine Fabric Physical Underlay ECMP Multiple Fabric Paths High-Speed Transport No Endpoint Attachment Leaf 2 Destination Fabric Edge VTEP 2 VXLAN Decapsulation Destination Processing Server B Destination Endpoint Final delivery ACCESS UNDERLAY ECMP ACCESS VXLAN OVERLAY • VTEP 1 → VTEP 2 VXLAN PACKET JOURNEY Server A → Leaf 1 → Spine Fabric → Leaf 2 VXLAN overlay runs between VTEP 1 and VTEP 2 Leaf 2 → Server B
PACKET JOURNEY
Complete Packet Journey
A packet enters through the source leaf, is carried across the physical spine fabric, and reaches the destination leaf. The VXLAN overlay provides the logical tunnel between the source and destination VTEPs.
Key Idea VXLAN is the overlay. The spine-leaf fabric is the physical transport underneath it.
Leaf VXLAN VTEP ECMP
What to Watch
  • Server A enters Leaf 1.
  • VTEP 1 starts the VXLAN overlay.
  • The spine provides physical transport.
  • VTEP 2 terminates the overlay.
  • Leaf 2 delivers traffic to Server B.

Source Leaf

Leaf 1 is the endpoint-facing edge. It receives traffic from Server A and provides the source-side VTEP function.

VXLAN / VTEP

VTEP 1 and VTEP 2 define the tunnel endpoints. VXLAN provides the logical overlay across the fabric.

Spine Fabric

The spine provides physical transport between leaves. ECMP gives the fabric multiple forwarding paths.

Cisco ACI | ACI Infrastructure

ACI Infrastructure

Key components that make up the ACI Cisco architecture. By understanding these components, network administrators and IT professionals can harness the power of ACI to optimize their data center operations.

1. Application Policy Infrastructure Controller (APIC):

The cornerstone of the Cisco ACI architecture is the Application Policy Infrastructure Controller (APIC). APIC is the central management and policy engine for the entire ACI fabric. It provides a single point of control, enabling administrators to define and enforce policies that govern the behavior of applications and services within the data center. APIC offers a user-friendly interface for policy configuration, monitoring, and troubleshooting, making it an essential component for managing the ACI fabric.

2. Spine Switches:

Spine switches form the backbone of the ACI fabric. These high-performance switches provide connectivity between leaf switches and facilitate east-west traffic within the fabric. Spine switches operate at Layer 3 and use routing protocols to efficiently distribute traffic across the fabric. With the ability to handle massive amounts of data, spine switches ensure high-speed connectivity and optimal performance in the ACI environment.

3. Leaf Switches:

Leaf switches act as the access layer switches in the ACI fabric. They connect directly to the endpoints, such as servers, storage devices, and other network devices, and serve as the entry and exit points for traffic entering and leaving the fabric. Leaf switches provide Layer 2 connectivity for endpoint devices and Layer 3 connectivity for communication between endpoints within the fabric. They also play a crucial role in implementing policy enforcement and forwarding traffic based on predefined policies.

**Example: Cisco ACI & IS-IS**

Cisco ACI under the covers runs ISIS. The ISIS routing protocol is an Interior Gateway Protocol (IGP) that enables routers within a network to exchange routing information and make informed decisions on the best path to forward packets. It operates at the OSI model’s Layer 2 (Data Link Layer) and Layer 3 (Network Layer).

ISIS organizes routers into logical groups called areas, simplifying network management and improving scalability. It allows for hierarchical routing, reducing the overhead of exchanging routing information across large networks.

**Note: IS-IS Parameters**

Below, we have four routers. R1 and R2 are in area 12, and R3 and R4 are in area 34. R1 and R3 are intra-area routers so that they will be configured as level 1 routers. R2 and R4 form the backbone so that these routers will be configured as levels 1-2.

Network administrators need to configure ISIS parameters on each participating router to implement ISIS. These parameters include the router’s ISIS system ID, area assignments, and interface settings. ISIS uses the reliable transport protocol (RTP) to exchange routing information between routers.

Routing Protocol
Diagram: Routing Protocol. ISIS.

4. Application Network Profiles (ANPs):

Application Network Profiles (ANPs) are a key Cisco ACI policy model component. They define the policies and configurations required for specific applications or application groups and encapsulate all the necessary information, including network connectivity, quality of service (QoS) requirements, security policies, and service chaining.

By associating endpoints with ANPs, administrators can easily manage and enforce consistent policies across the ACI fabric, simplifying application deployment and ensuring compliance.

5. Endpoint Groups (EPGs):

Endpoint Groups (EPGs) are logical containers that group endpoints with similar network requirements. EPGs provide a way to define and enforce policies at a granular level—endpoints within an EPG share standard policies, such as security, QoS, and network connectivity.

This grouping allows administrators to apply policies consistently to specific endpoints, regardless of their physical location within the fabric. EPGs enable seamless application mobility and simplify policy enforcement within the ACI environment.

**Specific ACI Cisco architecture**

In some of the lab guides in this blog post, we are using the following hardware from a rack rental from Cloudmylabs. Remember that the ACI Fabric is built on the Nexus 9000 Product Family.

The Cisco Nexus 9000 Series Switches are designed to meet the increasing demands of modern networks. With high-performance capabilities, these switches deliver exceptional speeds and low latency, ensuring smooth and uninterrupted data flow. They support high-density 10/25/40/100 Gigabit Ethernet interfaces, allowing businesses to scale and adapt to growing network requirements.

Enhanced Security:

The Cisco Nexus 9000 Series Switches offer comprehensive security features to protect networks from evolving threats. They leverage Cisco TrustSec technology, which provides secure access control, segmentation, and policy enforcement. With integrated security features, businesses can mitigate risks and safeguard critical data, ensuring peace of mind.

Application Performance Optimization:

To meet the demands of modern applications, the Cisco Nexus 9000 Series Switches are equipped with advanced features that optimize application performance. These switches support Cisco Tetration Analytics, which provides deep insights into application behavior, enabling businesses to enhance performance, troubleshoot issues, and improve efficiency.

Diagram: The source is Cloudmylabs.

Cisco ACI Simulator:

Below is a screenshot from Cisco ACI similar to the one below. At the start, you will be asked for the details of the fabric. Remember that once you set the out-of-band management address for the API, you need to change the port group settings on the ESXi VM network. If you don’t change “Promiscuous mode, MAC address changes, and Forged Transmits,” you cannot access the UI from your desktop.

ACI fabric Details
Diagram: Cisco ACI fabric Details

Leaf and spine design

Network Design Methodology

Leaf and spine architecture is a network design methodology commonly used in data centers. It provides a scalable and resilient infrastructure that can handle the increasing demands of modern applications and services. The term “leaf and spine” refers to the physical and logical structure of the network.

In leaf and spine architecture, the network is divided into two main layers: the leaf and spine layers. The leaf layer consists of leaf switches connected to the servers or endpoints in the data center. These leaf switches act as the access points for the servers, providing high-bandwidth connectivity and low-latency communication.

The spine layer, on the other hand, consists of spine switches that connect the leaf switches. The spine switches provide high-speed and non-blocking interconnectivity between the leaf switches, forming a fully connected fabric. This allows for efficient and predictable traffic patterns, as any leaf switch can communicate directly with any other leaf switch through the spine layer.

ACI Cisco with leaf and spine.

The following lab guide has a leaf and spine ACI design that includes 2 leaf switches acting as the leaf layer where the workloads connect. Then, we have a spine attached to the leaf. When the ACI hardware installation is done, all Spines and Leafs are linked and powered up. Once the basic configuration of APIC is completed, the Fabric discovery process starts working.

Note: IFM process

In the discovery process, ACI uses the Intra-Fabric Messaging (IFM) process in which APIC and nodes exchange heartbeat messages.

The process used by the APIC to push policy to the fabric leaf nodes is called the IFM Process. ACI Fabric discovery is completed in three stages. The leaf node directly connected to the APIC is discovered in the first stage. The second discovery stage brings in the spines connected to that initial leaf where APIC was connected. The third stage involves discovering the cluster’s other leaf nodes and APICs.

The fabric membership diagram below shows the inventory, including serial number, Pod, Node ID, Model, Role, Fabric IP, and Status. Cisco ACI consists of the following hardware components: APIC Controller Spine Switches and Leaf Switches.

ACI fabric discovery
Diagram: ACI fabric discovery

Analysis: Overlay based on VXLAN

Cisco ACI uses an overlay based on VXLAN to virtualize physical infrastructure. Like most overlays, this overlay requires the data path at the network’s edge to map from the tenant end-point address in the packet, otherwise referred to as its identifier, to the endpoint’s location, also known as its locator. This mapping occurs in a tunnel endpoint (TEP) function called VXLAN (VTEP).

VTEP Addressing

The VTEP addresses are displayed in the INFRASTRUCTURE IP column. The TEP address pool 10.0.0.0/16 has been configured on the Cisco APIC using the initial setup dialog. The APIC assigns the TEP addresses to the fabric switches via DHCP, so the infrastructure IP addresses in your fabric will differ from the figure.

This configuration is perfectly valid for a Lab but not good for a production environment. The minimum physical fabric hardware for a production environment includes two spines, two leaves, and three APICs.In addition to discovering and configuring the Fabric and applying the Tenant design, the following functionality can be configured:

  1. Routing at Layer 3
  2. Connecting a legacy network at layer 2
  3. Virtual Port Channels at Layer 2

Note: Border Leaf

A note about Border Leafs: ACI fabrics often use this designation along with “Compute Leafs” and “Storage Leafs.” Border Leaf is merely a convention for identifying the leaf pair that hosts all external connectivity external to the fabric (Border Leaf) or the leaf pair that hosts host connectivity (Compute Leaf).

Note: The Link Layer Discovery Protocol (LLDP)

LLDP is responsible for discovering directly adjacent neighbors. When run between the Cisco APIC and a leaf switch, it precedes three other processes: Tunnel endpoint (TEP) IP address assignment, node software upgrade (if necessary), and the intra-fabric messaging (IFM) process, which the Cisco APIC uses to push policy to the leaves.

aci Cisco LLDP

Leaf and Spine: Traffic flows

The leaf and spine network topology is suitable for east-to-west network traffic and comprises leaf switches to which the workloads connect and spine switches to which the leaf switches connect. The spines have a simple role and are geared around performance, while all the intelligence is distributed to the edge of the network, where the leaf layers sit.

This allows engineers to move away from managing individual devices and more efficiently manage the data center architecture with policy. In this model, the Application Policy Infrastructure Controller (APIC) controllers can correlate information from the entire fabric.

**Understanding Leaf and Spine Traffic Flow**

In a leaf and spine architecture, traffic flow follows a structured path. When a device connected to a leaf switch wants to communicate with another device, the traffic is routed through the spine switch to the destination leaf switch. This approach minimizes the hops required for data transmission and reduces latency. Additionally, traffic can be evenly distributed since every leaf switch is connected to every spine switch, preventing congestion and bottlenecks.

**ACI Cisco with leaf and spine**

In the following lab guide, we continue to verify the ACI leaf and spine. To check the ACI fabric, we can run the diagnostic tool Acidiag fnvread. It is also recommended that the LLDP and ISIS adjacencies be checked. With a leaf and spine design, the leaf layer does not connect, and we can see this with the LLDP and ISIS adjacency information below.

ACI leaf and spine
Diagram: ACI leaf and spine

Leaf and Spine Switch Functions

Based on a two-tier (spine and leaf switches) or three-tier (spine switch, tier-1 leaf switch, and tier-2 leaf switch) architecture, Cisco ACI switches provide the following functions:

What are Leaf Switches?

Leaf switches connect between end devices, servers, and the network fabric. They are typically deployed in leaf-spine network architecture, connecting directly to the spine switches. Leaf switches provide high-speed, low-latency connectivity to end devices within a data center network.

Functionalities of Leaf Switches:

1. Aggregation: Leaf switches aggregate traffic from multiple servers and sends it to the spine switches for further distribution. This aggregation helps reduce the network’s complexity and enables efficient traffic flow.

2. High-density Port Connectivity: Leaf switches are designed to provide a high-density port connectivity environment, allowing multiple devices to connect simultaneously. This is crucial in data centers where numerous servers and devices must be interconnected.

These devices have ports connected to classic Ethernet devices, such as servers, firewalls, and routers. In addition, these leaf switches provide the VXLAN Tunnel Endpoint (VTEP) function at the edge of the fabric. In Cisco ACI terminology, IP addresses representing leaf switch VTEPs are called Physical Tunnel Endpoints (PTEPs). The leaf switches route or bridge tenant packets and applies network policies.

What are Spine Switches?

Spine switches, also known as spine or core switches, are high-performance switches that form the backbone of a network. They play a vital role in data centers and large enterprise networks and facilitate the seamless data flow between various leaf switches.

These devices interconnect leaf switches and can also connect Cisco ACI pods to IP networks or WAN devices to build a Cisco ACI Multi-Pod fabric. In addition to mapping entries between endpoints and VTEPs, spine switches also store proxy entries between endpoints and VTEPs. Leaf switches are connected to spine switches within a pod, and spine switches are connected to leaf switches.

No direct connection between tier-1 leaf switches, tier-2 leaf switches, or spine switches is allowed. If you incorrectly cable spine switches to each other or leaf switches in the same tier to each other, the interfaces will be disabled.

Cisco ACI Fabric
Diagram: Cisco ACI Fabric. Source Cisco Live.

BGP Route Reflection

Under the cover, Cisco ACI works with BGP Route-Reflection. BGP Route Reflection creates a hierarchy of routers within the ACI fabric. At the top of the hierarchy is a Route-Reflector (RR), a central point for collecting routing information from other routers within the fabric. The RR then reflects this information to other routers, ensuring that every router in the network has a complete view of the routing table.

The ACI uses MP-BGP protocol to distribute external Network subnets or prefixes inside the ACI fabric. To create an MP-BGP route reflector, we must select two Spines acting as Route Reflectors and make an iBGP Neighbourship to all other leaves.

ACI Cisco and endpoints

In a traditional network, three tables are used to maintain the network addresses of external devices: a MAC address table for Layer 2 forwarding, a Routing Information Base (RIB) for Layer 3 forwarding, and an ARP table for the combination of IP addresses and MAC addresses. Cisco ACI, however, maintains this information differently, as shown below.

ACI Endpoint learning
Diagram: Endpoint Learning. Source Cisco.com

What is ACI Endpoint Learning?

ACI endpoint learning refers to discovering and monitoring the network endpoints within an ACI fabric. Endpoints include devices, virtual machines, physical servers, users, and applications. Network administrators can make informed decisions regarding network policies, security, and traffic optimization by gaining insights into these endpoints’ location, characteristics, and behavior.

How Does ACI Endpoint Learning Work?

ACI fabric leverages a distributed, controller-based architecture to facilitate endpoint learning. When an endpoint is connected to the fabric, ACI utilizes various mechanisms to gather information about it. These mechanisms include Address Resolution Protocol (ARP) snooping, Link Layer Discovery Protocol (LLDP), and even integration with hypervisor-based systems.

Once an endpoint is detected, ACI Fabric builds a comprehensive endpoint database called the Endpoint Group (EPG). This database contains vital information such as MAC addresses, IP addresses, VLANs, and associated policies. By continuously monitoring and updating this database, ACI ensures real-time visibility and control over the network endpoints.

Implementation Endpoint Learning Considerations:

To leverage the benefits of ACI endpoint learning, organizations need to consider a few key aspects:

1. Infrastructure Design: A well-designed ACI fabric with appropriate leaf and spine switches is crucial for efficient endpoint learning. Proper VLAN and subnet design should be implemented to ensure accurate endpoint identification and classification.

2. Endpoint Group (EPG) Definition: Defining and associating EPGs with appropriate policies is essential. EPGs help categorize endpoints based on their characteristics, allowing for granular policy enforcement and simplified management.

Diagram: ACI Endpoint Learning. The source is Cisco.

Forwarding Behavior. The COOP database

Local and remote endpoints are learned from the data plane, but remote endpoints are local caches. Cisco ACI’s fabric relies heavily on local endpoints for endpoint information. A leaf is responsible for reporting its local endpoints to the Council Of Oracle Protocol (COOP) database located on each spine switch, which implies that all endpoint information in the Cisco ACI fabric is stored there.

Each leaf does not need to know about all the remote endpoints to forward packets to the remote endpoints because this database is accessible. When a leaf does not know about a remote endpoint, it can still forward packets to spine switches. This forwarding behavior is called spine proxy.

Diagram: Endpoint Learning. The source is Cisco.

In a traditional network environment, switches rely on the Address Resolution Protocol (ARP) to map IP addresses to MAC addresses. However, this approach becomes inefficient as the network scales, resulting in increased network traffic and complexity. Cisco ACI addresses this challenge by utilizing local endpoint learning, a more intelligent and efficient method of mapping MAC addresses to IP addresses.

Diagram: Local and Remote endpoint learning. The source is Cisco.

ACI Cisco: The Main Features

We are experiencing many changes right now that are impacting almost every aspect of IT. Applications are changing immensely, and we see their life cycles broken into smaller windows as they become less structured. In addition, containers and microservices are putting new requirements on the underlying infrastructure, such as the data centers they live in. This is one of the main reasons why a distributed system, including a data center, is better suited for this environment.

Distributed system/Intelligence at the edge

Like all networks, the Cisco ACI network still has a control and data plane. From the control and data plane perspective, the Cisco ACI architecture is still a distributed system. Each switch has intelligence and knows what it needs to do—one of the differences between ACI and traditional SDN approaches that try to centralize the control plane. If you try to centralize the control plan, you may hit scalability limits, not to mention a single point of failure and an avenue for bad actors to penetrate.

Cisco ACI Design
Diagram: Cisco ACI Design. Source Cisco Live.

Two large core devices

If we examine the traditional data center architecture, intelligence is often in two central devices. You could have two large core devices. What the network used to control and secure has changed dramatically with virtualization via hypervisors. We’re seeing faster change with containers and microservices being deployed more readily.

As a result, an overlay networking model is better suited. However, in a VXLAN overlay network, the intelligence is distributed across the leaf switch layer.

Therefore, distributed systems are better than centralized systems for more scale, resilience, and security. By distributing intelligence to the leaf layer, scalability is not determined by the scalability of each leaf but by the fabric level. However, there are scale limits on each device. Therefore, scalability as a whole is determined by the network design.

A key point: Overlay networking

The Cisco ACI architecture provides an integrated Layer 2 and 3 VXLAN-based overlay networking capability to offload network encapsulation processing from the compute nodes onto the top-of-rack or ACI leaf switches. This architecture provides the flexibility of software overlay networking in conjunction with the performance and operational benefits of hardware-based networking. 

ACI Cisco New Concepts

Networking in the Cisco ACI architecture differs from what you may use in traditional network designs. It’s not different because we use an entirely new set of protocols. ACI uses standards-based protocols such as BGP, VXLAN, and IS-IS. However, the new networking constructs inside the ACI fabric exist only to support policy.

ACI has been referred to as stateless architecture. As a result, the network devices have no application-specific configuration until a policy is defined stating how that application or traffic should be treated on the network.

This is a new and essential concept to grasp. So, now, with the ACI, the network devices in the fabric have no application-specific configuration until there is a defined policy. No configuration is tied to a device. With a traditional configuration model, we have many designs on a device, even if it’s not being used. For example, we had ACL and QoS parameters configured, but nothing was using them.

The APIC controller

The APICs, the management plan that defined the policy, do not need to push resources when nothing connected utilizes that. The APIC controller can see the entire fabric and has a holistic viewpoint.

Therefore, it can correlate configurations and integrate them with devices to help manage and maintain the security policy you define. We see every device on the fabric, physical or virtual, and can maintain policy consistency and, more importantly, recognize when policy needs to be enforced. 

APIC Controller
Diagram: APIC Controller. Source Cisco Live.

Endpoint groups (EPG)

We touched on this a moment ago. Groups or endpoint groups (EPGs) and contracts are core to the ACI. Because this is a zero-trust network by default, communication is blocked in hardware until a policy consisting of groups and contracts is defined. With Endpoint Groups, we can decouple and separate the physical or virtual workloads from the constraints of IP addresses and VLANs. 

So, we are grouping similar workloads into groups known as Endpoint Groups. Then, we can control group behavior by applying policy to the groups and not the endpoints in the group. As a security best practice, it is essential to group similar workloads with similar security sensitivity levels and then apply the policy to the endpoint group.

For example, a traditional data center network could have database and application servers in the same segment controlled by a VLAN with no intra-VLAN filtering. The EPG approach removes the barriers we have had with traditional networks, with the limitation of the IP address being used as the identifier and locator and the restrictions of the VLANs.

This is a new way of thinking, and it allows devices to communicate with each other without changing their IP address, VLAN, or subnet.

ACI Endpoint Groups
Diagram: ACI Endpoint Groups. Source Cisco Live.

EPG Communication

The EPG provides a better segmentation method than the VLAN, which was never meant to live in a world of security. By default, anything in the group can communicate freely, and inter-EPG communication needs a policy. This policy construct that ACI uses is called a contract. So, having similar workloads of similar security levels in the same EPG makes sense. All devices inside the same endpoint group can talk to each other freely.

This behavior can be modified with intra-EPG isolation, similar to a private VLAN where communication between group members is not allowed. Or, intra-EPG contracts can be used only to allow specific communications between devices in an EPG.

Extending the ACI Fabric

Developing the Cisco ACI architecture

I have always found extending data risky when undergoing data center network design projects. However, the Cisco ACI architecture can be extended without the traditional Layer 2 and 3 Data Center Interconnect (DCI) mechanisms. Here, we can use Multi-Pod and Multi-Site to better control large environments that need to span multiple locations and for applications to share those multiple locations in active-active application deployments.

Diagram: Extending the ACI fabric. Source is Cisco

When considering data center designs, terms such as active-active and active-passive are often discussed. In addition, enterprises are generally looking for data center solutions that provide geographical redundancy for their applications.

Enterprises also need to be able to place workloads in any data center where computing capacity exists—and they often need to distribute members of the same cluster across multiple data center locations to provide continuous availability in the event of a data center failure. The ACI gives us options for extending the fabric to multiple locations and location types.

For example, there are stretched fabric, multi-pod, multi-site designs, and, more recently, Cisco Cloud ACI.

ACI design: Multi pod

The ACI Multi-Pod is the next evolution of the original stretch fabric design we discussed. The architecture consists of multiple ACI Pods connected by an IP Inter-Pod Layer 3 network. With the stretched fabric, we have one Pod across several locations. Cisco ACI MultiPod is part of the “single APIC cluster/single domain” family of solutions; a single APIC cluster is deployed to manage all the interconnected ACI networks.

These ACI networks are called “pods,” Each looks like a regular two-tier spine-leaf topology. The same APIC cluster can manage several pods.  All of the nodes deployed across the individual pods are under the control of the same APIC cluster. The separate pods are managed as if they were logically a single entity. This gives you operational simplicity. We also have a fault-tolerant fabric since each Pod has isolated control plane protocols.

Diagram: Multi-pod. Source is Cisco

ACI design: Cisco cloud ACI

Cisco Cloud APIC is an essential new solution component introduced in the architecture of Cisco Cloud ACI. It plays the equivalent of APIC for a cloud site. Like the APIC for on-premises Cisco ACI sites, Cloud APIC manages network policies for the cloud site it runs on by using the Cisco ACI network policy model to describe the policy intent.

ACI design: Multisite

ACI Multi-Site enables you to interconnect separate APIC cluster domains or fabric, each representing a separate availability zone. As a result, we have separate and independent APIC domains and fabrics. This way, we can manage multiple fabrics as regions or availability zones. ACI Multi-Site is the easiest DCI solution in the industry. Communication between endpoints in separate sites (Layers 2 and 3) is enabled simply by creating and pushing a contract between the endpoints’ EPGs.

Cisco ACI • Widget 3

Endpoint Learning & COOP Explorer

Follow how an ACI leaf learns an endpoint locally, how the endpoint is distributed through COOP, and how another leaf can resolve the remote endpoint through the spine.
ENDPOINT Server A 10.10.10.10 MAC AA:AA:AA LEAF EDGE Leaf 1 Local endpoint learning Local Endpoint MAC → EPG / interface COOP Endpoint DB Control-plane endpoint knowledge 10.10.10.10 → Leaf 1 SPINE Spine Proxy COOP lookup remote endpoint resolution REMOTE LEAF Leaf 2 Destination-side edge knows endpoint location and forwarding context REMOTE ENDPOINT Server B 10.20.20.20 MAC BB:BB:BB 1 • LEARN Leaf records local endpoint 2 • REGISTER Endpoint information enters COOP 3 • DISTRIBUTE Fabric shares endpoint knowledge 4 • RESOLVE Remote leaf can resolve destination WHY COOP MATTERS ACI does not require every leaf to independently flood the entire endpoint database. COOP provides a fabric-wide control-plane view used for endpoint resolution.
ACI CONCEPT

Endpoint Learning

An ACI leaf learns endpoints at the edge of the fabric. The leaf can associate an endpoint with information such as its MAC/IP, interface, EPG and local forwarding context.

Key Idea Endpoint learning happens close to the endpoint, while COOP helps distribute endpoint knowledge across the fabric.
Endpoint Learning COOP Spine Proxy Remote Leaf Forwarding
Local Leaf = First Knowledge The leaf directly attached to an endpoint learns where that endpoint exists and builds the local forwarding context.
COOP = Fabric Endpoint Knowledge COOP provides the control-plane mechanism used to maintain and resolve endpoint information across the ACI fabric.
Spine = Proxy for Resolution When a leaf needs information about an endpoint elsewhere in the fabric, the spine can provide the control-plane lookup function.
rsz_secure_access_service_edge1

SASE Definition

As organisations distribute applications, users, and workloads across data centres, public cloud platforms, SaaS services, branches, and remote locations, the traditional model of sending traffic back through a central corporate network becomes increasingly difficult to scale. Secure Access Service Edge (SASE) addresses this challenge by bringing networking and security capabilities together through a cloud-delivered architectural model designed for distributed environments.

SASE combines software-defined networking with security services so that connectivity and security policy can be applied closer to users, devices, branches, and applications. Rather than treating the corporate data centre as the primary security boundary, SASE recognises that users and applications may exist in many different locations. The architecture therefore focuses on providing secure, policy-controlled access regardless of where the connection originates.

Several technologies commonly contribute to a SASE architecture. SD-WAN provides software-defined connectivity and traffic steering across transports such as MPLS, broadband, Internet, and cellular networks. Security services can include Secure Web Gateway (SWG), Firewall as a Service (FWaaS), Cloud Access Security Broker (CASB), Zero Trust Network Access (ZTNA), and data protection capabilities. The exact combination varies between implementations and providers, but the architectural objective is to bring these capabilities together through a consistent policy and operational model.

Zero Trust is particularly important to the SASE approach. Access decisions should not be based simply on whether a user is connected to a trusted corporate network. Instead, policies can consider identity, device posture, application, location, security context, and the sensitivity of the requested resource. Authentication and authorisation therefore become part of the access decision rather than an assumption made from network location alone.

SASE can also simplify operations by reducing the need to deploy and manage separate security appliances at every branch or user location. Cloud-delivered services can provide centrally managed policy while allowing enforcement to occur closer to the user or application. This can improve consistency, but implementation still requires careful planning around identity, existing infrastructure, application dependencies, traffic flows, security policy, and operational processes.

Performance is another important consideration. Distributed users accessing cloud and SaaS applications may not benefit from routing all traffic through a central data centre. SASE architectures can combine SD-WAN traffic steering with distributed security enforcement to select appropriate paths while maintaining security policy. Network performance, application experience, latency, packet loss, and service availability therefore become important operational measurements alongside traditional security events.

SASE is particularly relevant to hybrid and multi-cloud environments because the network boundary is no longer defined by a single physical location. Organisations may need to connect offices, remote users, private data centres, public clouds, SaaS applications, and third-party services while maintaining consistent access controls and security policies across these environments.

The most useful way to understand SASE is not as a single product or technology, but as an architectural approach for converging networking and security around distributed users and applications. Its effectiveness depends on how well connectivity, identity, security policy, application access, visibility, and operations are integrated. For organisations modernising their WAN and security architecture, SASE provides a framework for building secure access around the way applications and users actually operate today.

SASE Definition

Secure Access Service Edge • Widget 1

SASE Architecture Explorer

See how SASE brings networking and security together as a cloud-delivered service, with enforcement distributed closer to users, branches and applications.
USER / DEVICE Remote User Laptop / Mobile Anywhere EDGE Branch / Site Office / Campus SD-WAN edge SASE EDGE SASE PoP Distributed point of presence CONNECTIVITY SD-WAN / routing SECURITY inspection / control POLICY consistent enforcement CLOUD FABRIC SASE Cloud Networking + Security SD-WAN path control SWG web security CASB cloud control ZTNA access control FWaaS cloud firewall CLOUD APP SaaS Microsoft 365 CRM / Web Apps PRIVATE APP Enterprise Data Center / Private Cloud CORE SASE IDEA Connect users and sites to distributed SASE edges, then apply networking and security services close to the access point. CONVERGED SERVICES One cloud-delivered architecture
SASE CONCEPT

SASE Overview

SASE combines networking and security capabilities into a cloud-delivered architecture. Instead of forcing users and sites through a centralized security perimeter, services can be delivered from distributed points of presence.

Key Idea SASE is not simply a collection of security products. The important architectural change is the convergence of networking, security, cloud delivery and distributed enforcement.
SD-WAN SWG CASB ZTNA FWaaS
Cloud Delivered Networking and security functions are delivered from a distributed cloud architecture rather than requiring a separate appliance at every location.
Distributed Enforcement Users and sites can connect to nearby SASE PoPs, reducing dependence on traditional centralized security choke points.
Unified Architecture Routing, security and access policies can be managed as part of one operational model instead of many disconnected point solutions.

Highlights: SASE Definition

SASE: A Cloud-Centric Approach

Firstly, the SASE is related to our environment. In a cloud-centric world, users and devices require access to services everywhere. The focal point has changed. Now, the identity of the user and device, as opposed to the traditional model, focuses solely on the data center with many network security components. These environmental changes have created a new landscape we must protect and connect.

Many common problems challenge the new landscape. Due to deployed appliances for different technology stacks, enterprises are loaded with complexity and overhead. The legacy network and security designs increase latency. In addition, the world is encrypted when considering Zero Trust SASE. This needs to be inspected without degrading application performance.

These are reasons to leverage a cloud-delivered secure access service edge (SASE). SASE means a tailored network fabric optimized where it makes the most sense for the user, device, and application – at geographically dispersed PoPs enabling technologies that secure your environment with technologies such as single packet authorization.

**Driving Forces to Adopting SASE**

Challenge 1: Managing the Network: Converging network and security into a single platform does not require multiple integration points. This will eliminate the need to deploy these point solutions and the complexities of managing each.

Challenge 2: Site Connectivity: SASE handles all management complexities. As a result, the administrative overhead for managing and operating a global network that supports site-to-site connectivity and enhanced security, cloud, and mobility is kept to an absolute minimum.

Challenge 3: Performance Between Locations: The SASE cloud already has an optimized converged network and security platforms. Therefore, sites need to connect to the nearest SASE PoP.

Challenge 4: Cloud Agility: SASE natively supports cloud data centers (IaaS) and applications (SaaS) without additional configuration, complexity, or point solutions, enabling built-in cloud connectivity.

SASE Definition — A Converged Cloud Architecture for Secure Connectivity

Secure Access Service Edge (SASE) is a cloud‑delivered architecture that merges networking and security into a single, unified service model. Instead of deploying separate appliances for WAN connectivity, web filtering, cloud security, and remote access, SASE consolidates these capabilities into a distributed cloud fabric. The goal is simple: provide consistent, high‑performance, secure access to applications—no matter where users are located or where workloads reside. SASE shifts security and networking away from traditional data‑center choke points and distributes them across global points of presence, creating a seamless edge‑to‑cloud access layer.

Convergence of Networking and Security Services

SASE is defined by the convergence of two historically separate domains:

  • Network services such as SD‑WAN, traffic optimization, and dynamic path selection
  • Security services such as SWG, CASB, FWaaS, and threat inspection

By delivering these as cloud‑native functions, SASE eliminates the complexity of managing multiple point products. Policies, routing decisions, and security controls are applied consistently across all edges—branch, remote, mobile, and cloud. This convergence ensures that performance and protection are no longer competing priorities but integrated outcomes of the same architecture.

Cloud‑Native Enforcement at Global Points of Presence

A defining characteristic of SASE is its distributed enforcement model. Instead of backhauling traffic to a central firewall or VPN concentrator, SASE evaluates and secures traffic at cloud points of presence (PoPs) located close to users and applications. These PoPs provide:

  • low‑latency inspection
  • scalable policy enforcement
  • optimized routing to SaaS and cloud platforms
  • unified visibility across all user traffic

This distributed model supports hybrid work, multi‑cloud adoption, and global operations without relying on legacy hub‑and‑spoke designs.

Unified Policy, Visibility, and Operational Control

SASE centralizes policy management into a single cloud platform. Administrators define access rules, security controls, and routing preferences once, and the SASE fabric enforces them everywhere. This unified control plane provides:

  • consistent policy enforcement
  • real‑time visibility into user and application behavior
  • simplified operations across distributed environments
  • automated updates and continuous improvement

SASE reduces operational overhead by replacing manual configuration with cloud‑driven orchestration and analytics‑based optimization.

Outcome‑Driven Architecture for Modern Enterprises

SASE is not just a technology stack—it is an operational model designed to deliver measurable outcomes:

  • Improved performance through optimized cloud and SaaS access
  • Reduced complexity by consolidating multiple security and networking tools
  • Stronger protection through unified inspection and consistent policy enforcement
  • Scalability for global users, remote workforces, and cloud‑native applications

By merging connectivity and security into a single cloud‑delivered architecture, SASE becomes the foundation for modern digital transformation.

**Components of SASE**

1. Network as a Service (NaaS): SASE integrates network services such as SD-WAN (Software-Defined Wide Area Network) and cloud connectivity to provide organizations with a flexible and scalable network infrastructure. With NaaS, businesses can optimize network performance, reduce latency, and ensure reliable connectivity across different environments.

2. Security as a Service (SECaaS): SASE incorporates various security services, including secure web gateways, firewall-as-a-service, data loss prevention, and zero-trust network access. By embedding security into the network infrastructure, SASE enables organizations to enforce consistent security policies, protect against threats, and simplify the management of security measures.

3. Zero-Trust Architecture: SASE adopts a zero-trust approach, which assumes that no user or device should be trusted by default, even within the network perimeter. By implementing continuous authentication, access controls, and micro-segmentation, SASE ensures that every user and device is verified before accessing network resources, reducing the risk of unauthorized access and data breaches.

4. Cloud-Native Architecture: SASE leverages cloud-native technologies to provide a scalable, agile, and elastic network and security infrastructure. By transitioning from legacy hardware appliances to software-defined solutions, SASE enables organizations to respond more to changing business requirements, reduce costs, and improve overall efficiency.

Note: Point Solutions

SASE is becoming increasingly popular among organizations because it provides a more flexible and cost-effective approach to networking and security. The traditional approach involves deploying multiple devices or appliances, each with its functions. This approach can be complex, time-consuming, and expensive to manage. On the other hand, SASE simplifies this process by integrating all the necessary functions into a single platform.

Example Technology: Web Security Scanner

security web scanner

Example Product: Cisco Meraki

### Simplified Network Management

One of the standout features of the Cisco Meraki platform is its simplified network management. Gone are the days of complex configurations and time-consuming setups. With Meraki’s cloud-based interface, administrators can manage their entire network from a single dashboard. This ease of use not only saves time but also reduces the need for specialized IT staff, making it an ideal solution for businesses of all sizes.

### Robust Security Features

Security is a top priority for any network, and Cisco Meraki does not disappoint. The platform comes equipped with robust security features, including advanced threat protection, intrusion detection, and automated firmware updates. These features work seamlessly to protect your network from potential threats, ensuring that your data remains secure and your operations run smoothly.

### Scalability and Flexibility

As your business grows, so too does the need for a scalable network solution. Cisco Meraki’s platform is designed with scalability in mind, allowing you to easily add new devices and extend your network without any hassle. Whether you’re expanding to a new office location or integrating additional IoT devices, Meraki’s flexible architecture ensures that your network can grow alongside your business.

### Enhanced Visibility and Analytics

Understanding your network’s performance is crucial for making informed decisions. Cisco Meraki offers enhanced visibility and analytics, providing detailed insights into network usage, device performance, and potential issues. With these analytics, administrators can proactively address problems before they impact operations, optimize resource allocation, and ensure that their network is running at peak efficiency.

### Streamlined Troubleshooting

Troubleshooting network issues can be a daunting task, but Cisco Meraki makes it easier than ever. The platform’s intuitive dashboard provides real-time alerts and diagnostic tools, allowing administrators to quickly identify and resolve issues. This streamlined troubleshooting process minimizes downtime and keeps your network running smoothly.

**SASE Meaning: SASE wraps up**

SASE is a network and security architecture consolidating numerous network and security functions, traditionally delivered as siloed point solutions, into an integrated cloud service. It combines several network and security capabilities along with cloud-native security functions. The functions are produced from the cloud and provided by the SASE vendor.

They are essentially providing a consolidated, platform-based approach to security. We have a cloud-delivered solution consolidating multiple edge network security controls and network services into a unified solution with centralized management and distributed enforcement.

**The appliance-based perimeter**

Even Though there has been a shift to the cloud, the traditional perimeter network security solution has remained appliance-based. The change for moving security controls to the cloud is for better protection and performance, plus ease of deployment and maintenance.

The initial performance of the earlier cloud-delivered solutions has been overcome with the introduction of optimized routing and global footprint. However, there is a split in opinion about performance and protection. Many consider protection and performance prime reasons to remain on-premises and keep the network security solutions on-premises.

 

Secure Access Service Edge • Widget 2

SASE Performance & PoP Path Explorer

Explore how SASE chooses an access path through distributed points of presence and why latency, packet loss and jitter can matter more than raw bandwidth.
USER ACCESS SASE PoPs GLOBAL BACKBONE CLOUD APPLICATION SOURCE User Dublin / Remote POP A Nearby PoP Low-latency option POP B Distant PoP Higher latency 18 ms 46 ms EDGE 1 Backbone EDGE 2 Backbone EDGE 3 Backbone DESTINATION SaaS Application Cloud workload Example: Microsoft 365 PATH QUALITY LATENCY 18 ms PACKET LOSS 0.1% JITTER 3 ms OPTIMAL PATH PERFORMANCE PRINCIPLE Application performance depends on the quality of the path, not simply the amount of available bandwidth.
PATH ANALYSIS

Choose the Best Path

SASE can use distributed points of presence and optimized connectivity to steer traffic toward a suitable application path. Select a PoP or path to explore the decision.

Key Idea The closest PoP is not automatically the best path. Path quality depends on several network characteristics.
Latency
18 ms
Packet Loss
0.1%
Jitter
3 ms
Status
Optimal
Latency The time required for traffic to travel between endpoints. Higher latency can directly affect interactive applications.
Packet Loss Lost packets can cause retransmissions and reduce application efficiency even when plenty of bandwidth remains available.
Jitter Variation in packet arrival time matters particularly for real-time applications such as voice and video.

SASE Definition

SASE Definition with Challenge 1: Managing the Network

Across the entire networking and security industry, everyone sells individual point solutions that are not a holistic joined-up offering. Thinking only about MPLS replacement leads to incremental point solution acquisitions when confronted by digital initiatives, making networks more complex and costly.

Principally, distributed appliances for network and security at every location require additional tasks such as installation, ongoing management, regular updates, and refreshes. This results in far too many security and network configuration points. We see this all the time with NOC and SOC integration efforts.

A: Numerous integration points:

The point-solution approach addresses one issue and requires considerable integration. Therefore, you must constantly add solutions to the stack, likely resulting in management overhead and increased complexity. Let’s say you are searching for a new car. Would you prefer to build the car with all the different parts or buy the already-built one?

In the same way, if we examine the network and security industry, the way it has been geared up presently is provided in parts. It’s your job to support, manage, and build the stack over time and scale it when needed. Fundamentally, it would help if you were an expert in all the different parts. However, if you abstract complexity into one platform, you don’t need to be an expert in everything. SASE is one effective way to abstract management and operational complexity.

B: Required: How SASE solves this

Converging network and security into a single platform does not require multiple integration points. This will eliminate the need to deploy these point solutions and the complexities of managing each. Essentially, with SASE, we can bring each point solution’s functionalities together and place them under one hood—the SASE cloud. SASE merges all of the networking and security capabilities into a single platform.

This way, you now have a holistic joined-up offering. Customers don’t need to perform upgrades or size and scale their network. Instead, all this is done for them in the SASE cloud, creating a fully managed and self-healing architecture. Besides, the convergence is minimal if something goes wrong in one of the SASE Pops. All of this is automatic, and there is no need to set up new tunnels or have administrators step in to perform configurations.

SASE Definition with Challenge 2: Site Connectivity

SD-WAN appliances require other solutions for global connectivity and to connect, secure, and manage mobile users and cloud resources. As a result, many users are turning to Service Providers to handle the integration. The carrier-managed SD-WAN providers integrate a mix of SD-WAN and security devices to form SD-WAN services.

A: Lack of Agility

Unfortunately, this often makes the Service Providers inflexible in accommodating new requests. The telco’s lack of agility and high bandwidth costs will remain problematic. Deploying new locations has been the biggest telco-related frustration, especially when connecting offices outside of the telco’s operating region to the company’s MPLS network. For this, they need to integrate with other telcos.

B: Required: How SASE solves this

SASE handles all of the complexities of management. As a result, the administrative overhead for managing and operating a global network that supports site-to-site connectivity and enhanced security, cloud, and mobility is kept to an absolute minimum.

SASE Definition with Challenge 3: Performance Between Locations

The throughput is primarily determined by latency and packet loss, not bandwidth. Therefore, for an optimal experience for global applications, we must explore ways to manage the latency and packet loss end-to-end for last-mile and middle-mile segments. Most SD-WAN vendors don’t control these segments, affecting application performance and service agility.

Consequently, constant tweaking at the remote ends will be required to attain the best performance for your application. With SD-WAN, we can bundle transports and perform link bonding to solve the last mile. However, this does not create any benefits for the middle mile bandwidth. MPLS will help you overcome the middle-mile problems, but you will likely pay a high price.

A: Required: How SASE solves this

The SASE cloud already has an optimized converged network and security platforms. Therefore, sites need to connect to the nearest SASE PoP. This way, the sites are placed on the global private backbone to take advantage of global route optimization, dynamic path selection, traffic optimization, and end-to-end encryption. The traffic can also be routed over MPLS, directly between sites (not through the SASE PoP), and from IPsec tunnels to third-party devices. The SASE architecture optimizes the last and middle-mile traffic flows.

B: Required: Optimization techniques:

The SASE global backbone uses several techniques to improve network performance, resulting in predictable, consistent latency and packet loss. The SASE cloud has complete control of each PoP and can employ optimizations. It uses proprietary routing algorithms that factor in latency, packet loss, and jitter. These routing algorithms favor performance over cost and select the optimal route for every network packet. This is compared to Internet routing, where metrics don’t consider what is best for the application or the type.

Example TCP Performance Parameters.

SASE Definition with Challenge 4: Cloud Agility

Cloud applications are becoming more critical to organizations, even more so than those hosted in private data centers. When delivering cloud resources, we must consider more than just providing connectivity. In the past, when we spoke about agility, we were concerned only with the addition of new on-premises sites.

However, now, this conversation needs to encompass the cloud. Delivering cloud applications is primarily about providing an application experience that is as responsive as on-premises. However, most SD-WANs have a low response rate for rapidly offering new public cloud infrastructure. MPLS is expensive, rigid, and not built for cloud access.

A: Required: How SASE solves this

SASE natively supports cloud data centers (IaaS) and applications (SaaS) without additional configuration, complexity, or point solutions, enabling built-in cloud connectivity. This further allows the rapid delivery of new public cloud infrastructure.

The SASE PoPs are collocated in the data centers and directly connected to the IXP of the leading IaaS providers, such as Amazon AWS, Microsoft Azure, and Google Cloud Platform. In addition, cloud applications are optimized through SASE’s ability to define the egress points.

This helps exit the cloud application traffic at the points closest to the customer’s application instance. The optimal global routing algorithms can determine the best path from anywhere to the customer’s cloud application instance. This provides optimal performance to the cloud applications regardless of the user’s location.

So, when we talk about performance to the cloud with SASE, the latency to the cloud is comparable to the optimized access provided by the cloud providers, such as AWS Direct Connect or Azure Express Route. So, authentically, SASE provides out-of-the-box cloud performance.

SASE Definition with Challenge 5: Security

The security landscape is constantly evolving. Therefore, network security solutions must develop to form a well-founded landscape. Ransomware and Malware will continue to be the primary security concerns from 2020 onward. Combating the various solutions designed with complex integration points scattered throughout the network domain is challenging for the entire organization.

Security must be part of any WAN transformation initiative. It must protect users and resources regardless of the underlying network, managed through a single-pane-of-glass. However, a bundle of non-integrated security products results in appliance sprawl that hinders your security posture instead of strengthening it. The security solution must defend against emerging threats like malware and ransomware. In addition, it must boost the ability to enforce corporate security policies on mobile users.

Finally, the security solution must also address the increasing cost of buying and managing security appliances and software.

**Security and encryption**

The complexity increases due to the disparate tools required to address the different threat vectors. For example, we have DLP that can be spread across the SWG, CASB, and DLP but with three other teams managing each. What about the impact of encrypted web traffic on the security infrastructure?

The issue is that most internet traffic is now encrypted, and attackers deliver the payloads, deliver command and control instructions, and exfiltrate data over encrypted protocols. Organizations cannot decrypt all network traffic for performance reasons and avoid looking at sensitive employee information. Also, there are issues with the scalability of encrypted traffic management solutions, which can also cause performance issues.

Example Technology: Sensitive Data Protection

Sensitive data protection

Example Technology: Security Backdoors

Backdoor access refers to a hidden method or vulnerability intentionally created within a system or software that allows unauthorized access or control. It is an alternative entry point that bypasses conventional security measures, often undetected.

Using Bash: Bash, short for “Bourne Again SHell,” is a widely used command-line interpreter in Unix-based systems. It provides powerful scripting capabilities, making it a favorite among system administrators and developers. However, this versatility also brings the potential for misuse. This section will explain what a Bash backdoor is and how it functions.

Note: In the following, I created a backdoor on a corporate machine to maintain persistence within the environment. I performed bash script and system configuration using cron jobs. You will then connect to the created backdoor. Here, we demonstrate how to use tools available on standard operating system installations to bypass an organization’s security controls.

Cron jobs, derived from the word “chronos,” meaning time in Greek, are scheduled tasks that run automatically in the background of your server. They follow a specific syntax, using fields to specify when and how often a task should be executed. You can create precise and reliable automated processes by grasping the structure and components of cron jobs.


First, the file called file is deleted with the rm command if it already exists. Next, a special pipe, a new communications channel, is called a file. Any information passed to the bash terminal, such as typed commands, is transmitted to a specific IP address and port using the pipe. The | indicates the point at which the output from one Linux command passes information to the following command. You can create a network connection to a specific machine using this single line, giving a user remote access.

First, errors when running the cron task are ignored and not printed on the screen. Then, the new cronjob is printed to the screen; in this example, the backdoor bash shell will run every minute. The output of the echoed command is then written to the cronfile with crontab. 

SASE Definition with Challenge 6: MPLS and SD-WAN

MPLS does not protect resources and users, certainly not those connected to the Internet. On the other hand, SD-WAN service offerings are not all created equal since many do not include firewall/security features for threat protection to protect all edges—mobile devices, sites, and cloud resources. This lack of integrated security complicates SD-WAN deployments and often leads to Malware getting past the perimeter unnoticed.

Challenge: The cost involved

Security solutions are expensive, and there is never a fixed price. Some security vendors may charge for usage models for which you don’t yet have the quantity. This makes the planning process extraordinarily problematic and complex. As the costs keep increasing, security professionals often trade off point-security solutions due to the associated costs. This is not an effective risk-management strategy.

The security controls are also limited to mobile VPN solutions. More often than not, they are very coarse, forcing IT to open access to all the network resources. Protecting mobile users requires additional security tools like next-generation firewalls (NGFWs), so we have another point solution. In addition, mobile VPN solutions provide no last—or middle-mile optimization.

SASE Meaning: How SASE solves this

SASE converges a complete security stack into the network, allowing it to bring granular control to sites and mobile and cloud resources by enforcing the zero-trust principles for all edges. SASE provides anti-malware protection for both WAN and Internet traffic. In addition, for malware detection and prevention, SASE can offer signature and machine-based learning protection consisting of several integrated anti-malware engines.

For malware communication, SASE can stop the outbound traffic to C&C servers based on reputation feeds and network behavioral analysis. Mobile user traffic is fully protected by SASE’s advanced security services, including NGFW, secure web gateway (SWG), threat prevention, and managed threat detection and response. Furthermore, in the case of mobile, SASE mobile users can dynamically connect to the closest SASE PoP regardless of the location. Again, as discussed previously, the SASE cloud’s relevant optimizations are available for mobile users.

Rethink the WAN: The shift to the cloud, edge computing, and mobility offers new opportunities for IT professionals. Network professionals must rethink their WAN transformation approach to support these digital initiatives. WAN transformation is not just about replacing MPLS with SD-WAN. An all-encompassing solution is needed that provides the proper network performance and security level for enhanced site-to-site connectivity, security, mobile, and cloud.

Example Product: Cisco Umbrella

### What is Cisco Umbrella?

Cisco Umbrella acts as a first line of defense against internet-based threats by leveraging the cloud. It uses DNS (Domain Name System) to block malicious domains, IPs, and URLs before a connection can be established. By analyzing and learning from internet activity patterns, it can predict and prevent potential threats, ensuring that your network remains secure.

### Key Features of Cisco Umbrella

1. **DNS Layer Security**: Cisco Umbrella provides a protective shield at the DNS layer, stopping threats before they reach your network or endpoints. This means that harmful requests are blocked at the source, reducing the risk of malware infections.

2. **Secure Web Gateway**: The solution offers a secure web gateway that inspects web traffic and enforces security policies. It ensures that only safe and compliant traffic is allowed, providing an additional layer of security.

3. **Cloud-Delivered Firewall**: Cisco Umbrella includes a built-in firewall to block unwanted traffic, adding another layer of protection. This firewall can be managed from the cloud, simplifying the process of maintaining network security.

4. **Threat Intelligence**: With real-time threat intelligence updates from Cisco Talos, one of the world’s largest commercial threat intelligence teams, Cisco Umbrella ensures that your defenses are always up to date against the latest threats.

### Benefits of Using Cisco Umbrella

1. **Simplified Security Management**: Being cloud-based, Cisco Umbrella is easy to deploy and manage. There’s no need for complex hardware or software installations, reducing the burden on IT teams.

2. **Improved Visibility**: Cisco Umbrella provides comprehensive insights into internet activity across all devices and locations. This visibility helps in identifying and responding to potential threats swiftly.

3. **Enhanced User Experience**: By blocking malicious content at the DNS layer, users experience faster internet speed and reduced latency, leading to a smoother browsing experience.

4. **Scalability**: Whether you are a small business or a large enterprise, Cisco Umbrella can scale according to your needs. Its cloud-native architecture ensures that it can handle an increasing number of users and devices without compromising on performance.

Summary: SASE Definition

Secure Access Service Edge • Widget 3

SASE Security Decision Explorer

Follow a request from the user through identity and device verification, policy evaluation and security controls before the application access decision is made.
REQUEST User Alice Requests application IDENTITY Verify Identity User / role / MFA DEVICE Device Context Managed / posture POLICY ENGINE Access Decision Evaluate context against policy ALLOW ZTNA application access SWG web security CASB cloud control FWaaS firewall service RESOURCE Application SaaS / Private Resource ZERO TRUST DECISION Identity → Device Context → Policy → Security Control → Application ACCESS ALLOWED
SECURITY DECISION

Access Decision

SASE applies security controls around the user and application rather than assuming that network location automatically means trust.

Key Idea Verify the user, evaluate the device and context, apply policy, then enforce the appropriate access decision.
Current Decision
ALLOW
1. Verify Identity and device context are evaluated before access is granted. Authentication alone does not automatically establish trust.
2. Apply Policy Policy can consider identity, device posture, application, location and other contextual information.
3. Enforce ZTNA, SWG, CASB and FWaaS can provide the appropriate security enforcement for the requested application or traffic.

With the ever-evolving landscape of technology and the increasing demand for secure and efficient networks, a new paradigm has emerged in the realm of network security – SASE, which stands for Secure Access Service Edge. In this blog post, we delved into the definition of SASE, its key components, and its transformative impact on network security.

Understanding SASE

SASE, pronounced “sassy,” is a comprehensive framework that combines network security and wide area networking (WAN) capabilities into a single cloud-based service model. It aims to provide users with secure access to applications and data, regardless of their location or the devices they use. By converging networking and security functions, SASE simplifies the network architecture and enhances overall performance.

The Key Components of SASE

To fully grasp the essence of SASE, it is essential to explore its core components. These include:

1. Secure Web Gateway (SWG): The SWG component of SASE ensures safe web browsing by inspecting and filtering web traffic, protecting users from malicious websites, and enforcing internet usage policies.

2. Cloud Access Security Broker (CASB): CASB provides visibility and control over data as it moves between the organization’s network and multiple cloud platforms. It safeguards against cloud-specific threats and helps enforce data loss prevention policies.

3. Firewall-as-a-Service (FWaaS): FWaaS offers scalable and flexible firewall protection, eliminating the need for traditional hardware-based firewalls. It enforces security policies and controls access to applications and data, regardless of their location.

4. Zero Trust Network Access (ZTNA): ZTNA ensures that users and devices are continuously authenticated and authorized before accessing resources. It replaces traditional VPNs with more granular and context-aware access policies, reducing the risk of unauthorized access.

The Benefits of SASE

SASE brings numerous advantages to organizations seeking enhanced network security and performance:

1. Simplified Architecture: By consolidating various network and security functions, SASE eliminates the need for multiple-point solutions, reducing complexity and management overhead.

2. Enhanced Security: With its comprehensive approach, SASE provides robust protection against emerging threats, ensuring data confidentiality and integrity across the network.

3. Improved User Experience: SASE enables secure access to applications and data from any location, offering a seamless user experience without compromising security.

Conclusion:

In conclusion, SASE represents a paradigm shift in network security, revolutionizing how organizations approach their network architecture. By converging security and networking functions, SASE provides a comprehensive and scalable solution that addresses the evolving challenges of today’s digital landscape. Embracing SASE empowers organizations to navigate the complexities of network security and embrace a future-ready approach.

SD WAN Overlay

SD WAN Overlay

Modern enterprise WANs rarely depend on a single type of connection. Organisations may combine MPLS, broadband Internet, dedicated connectivity, 4G/5G, and cloud access across a large number of sites. The challenge is no longer simply connecting locations; it is building a WAN that can adapt to changing application requirements while maintaining predictable performance, security, and operational control. SD-WAN addresses this challenge by separating the logical network and its policies from the physical transport services underneath it.

An SD-WAN overlay is a virtual networking layer built across one or more physical WAN transports. Traffic can be encapsulated and carried across different underlying networks while the SD-WAN control plane determines how that traffic should be forwarded. This allows organisations to treat different transport services as components of a broader WAN rather than designing the entire architecture around one physical circuit type.

The distinction between the underlay and overlay is fundamental. The underlay provides the physical or IP connectivity between locations, while the overlay provides logical connectivity, routing, policy, and often encryption across those transports. A broadband connection, MPLS circuit, or 5G connection can therefore form part of the underlay while SD-WAN creates a consistent logical network across them.

One of the major benefits is dynamic path selection. Instead of relying exclusively on static routing decisions, SD-WAN can evaluate characteristics such as latency, packet loss, jitter, link availability, and application requirements when selecting a path. Business-critical traffic can therefore be steered towards an appropriate transport while less sensitive traffic may use another available path.

Scalability is another important advantage. New branches, cloud connections, and WAN transports can be incorporated into the SD-WAN architecture without requiring every location to be designed around a completely different physical network. Centralised policy and orchestration can reduce repetitive configuration and provide greater consistency as the environment expands.

The overlay can also provide an important security boundary. SD-WAN deployments commonly use encrypted tunnels between sites or security enforcement points, protecting traffic as it crosses shared or untrusted transport networks. However, encryption should not be confused with complete security: traffic inside an encrypted tunnel may still require firewalling, segmentation, identity controls, threat inspection, and monitoring.

Application awareness is particularly valuable in modern WAN environments. An organisation may have voice and video traffic, SaaS applications, business-critical databases, cloud workloads, and ordinary Internet traffic sharing the same physical transports. SD-WAN policy can classify traffic and apply different forwarding or quality requirements according to the application’s needs.

Operational visibility is equally important. A functioning SD-WAN overlay should make it possible to understand which paths are being used, how transport conditions are changing, whether tunnels are healthy, and how application performance is affected. Monitoring both the underlay and overlay helps distinguish a physical connectivity problem from a policy, tunnel, routing, or application issue.

The result is a WAN architecture in which physical connectivity becomes the foundation rather than the complete design. The underlay supplies transport, while the SD-WAN overlay provides logical connectivity, policy, traffic steering, encryption, and operational control. This separation gives organisations greater flexibility to combine different connectivity options while adapting the WAN to the requirements of distributed applications and users.

SD WAN Overlay

Highlights: SD WAN Overlay

SD-WAN • Interactive Learning

SD-WAN Overlay Explorer

Explore the difference between the physical WAN underlay and the logical SD-WAN overlay.

LOGICAL OVERLAY Branch A SD-WAN Edge Branch B SD-WAN Edge PHYSICAL TRANSPORTS MPLS Private transport Broadband Internet transport LTE / 5G Wireless transport TRANSPORT ABSTRACTION Multiple physical transports can support one logical WAN Physical WAN below • Logical WAN above
Learning Focus

One logical WAN over many transports

SD-WAN separates the logical WAN service from the physical networks that carry it. The underlay provides connectivity while the overlay provides the logical network between SD-WAN edges.

1. Underlay MPLS, broadband and LTE/5G provide the physical connectivity.
2. Overlay SD-WAN creates logical connectivity across those transports.
3. Independence Applications use the logical WAN without needing to understand the underlying transport.
Core idea: The underlay carries traffic. The overlay defines the logical WAN.

Underlay

The physical connectivity layer. Different WAN transports can coexist underneath the SD-WAN fabric.

Overlay

The logical network created between SD-WAN edges across the available physical connectivity.

Transport Independence

The logical WAN does not have to depend on a single physical transport technology.

SD-WAN principle: separate the logical WAN from the physical WAN.

Understanding Overlay Networking

Overlay networking is a revolutionary approach to network design that enables the creation of virtual networks on top of existing physical networks. By abstracting the underlying infrastructure, overlay networks provide a flexible and scalable solution to meet the dynamic demands of modern applications and services. Whether in cloud environments, data centers, or even across geographically dispersed locations, overlay networking opens up a world of possibilities.

Overlay networks act as a virtual layer on the physical network infrastructure. They enable the creation of logical connections independent of the physical network topology. In the context of SD-WAN, overlay networks facilitate the seamless integration of multiple network connections, including MPLS, broadband, and LTE, into a unified and efficient network.

The advantages of overlay networking are manifold:

– First, it allows for seamless network segmentation, enabling different applications or user groups to operate in isolation while sharing the same physical infrastructure. This enhances security and simplifies network management.

– Secondly, overlay networks facilitate deploying advanced network services such as load balancing, firewalling, and encryption without complex changes to the underlying network infrastructure. This abstraction level empowers organizations to adapt and respond rapidly to evolving business needs.

SD‑WAN Overlay — A Virtual WAN Built on Top of Any Transport

An SD‑WAN overlay is the virtual WAN that SD‑WAN creates on top of whatever physical links an enterprise already has. Instead of relying on a single underlay like MPLS, SD‑WAN builds encrypted tunnels across broadband, fiber, LTE/5G, satellite, or MPLS and treats them as one unified logical network. This overlay is where SD‑WAN applies application‑aware routing, dynamic path selection, QoS, and security policies. It is the “software‑defined” part of SD‑WAN — a virtual fabric that abstracts away the complexity of the physical WAN.

Overlay vs Underlay — Clear Separation of Roles

The underlay is the physical transport: broadband, MPLS, LTE/5G, fiber, satellite.

The overlay is the virtual network SD‑WAN builds on top of these transports.

The overlay provides:

  • encrypted tunnels (IPsec or DTLS) between SD‑WAN edges
  • centralized policy enforcement
  • application‑aware routing
  • dynamic failover and load balancing
  • unified QoS across all links

This separation allows SD‑WAN to steer traffic based on real‑time link health (latency, jitter, packet loss) rather than static routing.

Encrypted Tunnels — The Foundation of the Overlay

SD‑WAN overlays are built using encrypted tunnels that run across any IP‑based transport. These tunnels:

  • secure traffic regardless of the underlying link
  • allow consistent routing and segmentation
  • enable full‑mesh or hub‑and‑spoke topologies
  • carry application‑aware metadata for steering decisions

The overlay hides the complexity of the underlay, making broadband or LTE behave like enterprise‑grade WAN circuits.

Dynamic Path Selection — Real‑Time Steering Inside the Overlay

Inside the overlay, SD‑WAN edges continuously measure link performance and steer traffic accordingly. This includes:

  • selecting the best path per application
  • automatic failover when a link degrades
  • load distribution across multiple transports
  • tunnel bonding or packet duplication for critical apps

This dynamic steering is what makes the overlay “intelligent,” ensuring optimal performance for SaaS, VoIP, ERP, and cloud workloads.

Overlay Topologies — Hub‑and‑Spoke, Full‑Mesh, Hybrid

SD‑WAN overlays support multiple topologies depending on business needs:

  • Hub‑and‑spoke — simple, centralized breakout
  • Full‑mesh — direct site‑to‑site tunnels for low‑latency east‑west traffic
  • Hybrid — MPLS for critical apps + broadband/LTE for best‑effort or cloud access

These topologies can be changed centrally without touching individual routers, thanks to the overlay’s software‑defined control plane.

Security Inside the Overlay

Many SD‑WAN platforms embed security directly into the overlay, including:

  • segmentation
  • NGFW functions
  • secure internet breakout
  • integration with CASB, SWG, ZTNA, and SSE stacks

This ensures that the overlay is not just a transport mechanism but a secure, policy‑driven fabric.

Why the SD‑WAN Overlay Matters

The overlay is the reason SD‑WAN delivers:

  • better SaaS and cloud performance
  • reduced MPLS dependency
  • simplified operations
  • improved uptime
  • centralized policy control
  • consistent security across all sites

It transforms WAN management from a hardware problem into a software‑defined architecture.

**So, what exactly is an SD-WAN overlay?**

In simple terms, it is a virtual layer added to the existing network infrastructure. These network overlays connect different locations, such as branch offices, data centers, and the cloud, by creating a secure and reliable network.

1. Tunnel-Based Overlays:

One of the most common types of SD-WAN overlays is tunnel-based overlays. This approach encapsulates network traffic within a virtual tunnel, allowing it to traverse multiple networks securely. Tunnel-based overlays are typically implemented using IPsec or GRE (Generic Routing Encapsulation) protocols. They offer enhanced security through encryption and provide a reliable connection between the SD-WAN edge devices.

Example Technology: IPSec and GRE

Organizations can achieve enhanced network security and improved connectivity by combining GRE and IPSec. The integration allows for creating secure tunnels between networks, ensuring that data transmitted between them remains protected from potential threats. This combination also enables the establishment of Virtual Private Networks (VPNs), enabling secure remote access and seamless connectivity for geographically dispersed teams.

By encrypting GRE tunnels, IPsec provides secure VPN tunnels. This approach offers many benefits, including support for dynamic IGP routing protocols, non-IP protocols, and IP multicast. Furthermore, the headend IPsec termination points can support QoS policies and deterministic routing metrics.

There is built-in redundancy due to the pre-established primary and backup GRE over IPsec tunnels. Static IP addresses are required for the headend site, but dynamic IP addresses are permitted for the remote sites. To differentiate primary tunnels from backup tunnels, routing metrics can be modified slightly to favor one or the other.

GRE with IPsec ipsec plus GRE

2. Segment-Based Overlays:

Segment-based overlays are designed to segment the network traffic based on specific criteria such as application type, user group, or location. This allows organizations to prioritize critical applications and allocate network resources accordingly. By segmenting the traffic, SD-WAN can optimize the performance of each application and ensure a consistent user experience. Segment-based overlays are particularly beneficial for businesses with diverse network requirements.

3. Policy-Based Overlays:

Policy-based overlays enable organizations to define rules and policies that govern the behavior of the SD-WAN network. These overlays use intelligent routing algorithms to dynamically select the most optimal path for network traffic based on predefined policies. By leveraging policy-based overlays, businesses can ensure efficient utilization of network resources, minimize latency, and improve overall network performance.

4. Hybrid Overlays:

Hybrid overlays combine the benefits of both public and private networks. This overlay allows organizations to utilize multiple network connections, including MPLS, broadband, and LTE, to create a robust and resilient network infrastructure. Hybrid overlays intelligently route traffic through the most suitable connection based on application requirements, network availability, and cost. Businesses can achieve high availability, cost-effectiveness, and improved application performance by leveraging mixed overlays.

5. Cloud-Enabled Overlays:

As more businesses adopt cloud-based applications and services, seamless connectivity to cloud environments becomes crucial. Cloud-enabled overlays provide direct and secure connectivity between the SD-WAN network and cloud service providers. These overlays ensure optimized performance for cloud applications by minimizing latency and providing efficient data transfer. Cloud-enabled overlays simplify the management and deployment of SD-WAN in multi-cloud environments, making them an ideal choice for businesses embracing cloud technologies.

**Challenge: The traditional network**

The networks we depend on for business are sensitive to many factors that can result in a slow and unreliable experience. Latency, which refers to the time between a data packet being sent and received, or round-trip time, which is the time it takes for the packet to be sent and for it to get a reply, can be experienced.

We can also experience jitter, the variance in the time delay between data packets in the network, which is a “disruption” in the sending and receiving packets. We have fixed-bandwidth networks that can experience congestion. For example, with five people sharing the same Internet link, each could experience a stable and swift network. Add another 20 or 30 people onto the same link, and the experience will be markedly different.

Google Cloud & SD WAN

SD WAN Cloud Hub

Google Cloud is renowned for its robust infrastructure, scalability, and advanced services. By integrating SD-WAN with Google Cloud, businesses can tap into this powerful ecosystem. They gain access to Google’s global network, enabling optimized routing and lower latency. Additionally, the scalability and flexibility of Google Cloud allow organizations to adapt to changing network demands seamlessly.

Key Advantages:

When SD-WAN Cloud Hub is integrated with Google Cloud, it unlocks a host of advantages. Firstly, it enables organizations to seamlessly connect their branch offices, data centers, and cloud resources, providing a unified network fabric. This integration optimizes traffic flow and enhances application performance, ensuring a consistent user experience.

Key Features and Benefits:

Intelligent Traffic Steering: SD-WAN Cloud Hub with Google Cloud allows organizations to intelligently steer traffic based on application requirements, network conditions, and security policies. This dynamic traffic routing ensures optimal performance and minimizes latency.

Simplified Network Management: The centralized management platform of SD-WAN Cloud Hub simplifies network configuration, monitoring, and troubleshooting. Integration with Google Cloud provides a unified view of the entire network infrastructure, streamlining operations and reducing complexity.

Enhanced Security: SD-WAN Cloud Hub leverages Google Cloud’s security features, such as Cloud Armor and Cloud Identity-Aware Proxy, to protect network traffic and ensure secure communication between branches, data centers, and the cloud.

VPN and Overlay technologies

  • Performance-Based Routing & DMVPN 

Performance-based routing is a dynamic routing technique beyond traditional static routing protocols. It leverages real-time data and network monitoring to make intelligent routing decisions based on latency, bandwidth availability, and network congestion. By constantly analyzing network conditions, performance-based routing algorithms can adapt and reroute traffic to the most efficient paths, ensuring speedy and reliable data transmission.

  • DMVPN Phase 3

DMVPN Phase 3 is the latest iteration of the DMVPN technology, designed to address the limitations of its predecessors. It introduces significant improvements in scalability, routing protocol support, and encryption capabilities. By utilizing multipoint GRE tunnels, DMVPN Phase 3 enables efficient and dynamic communication between multiple sites securely and efficiently.

One of DMVPN Phase 3’s key advantages is its scalability. The introduction of the NHRP (Next Hop Resolution Protocol) redirect allows for the dynamic and efficient allocation of network resources, making it an ideal solution for large-scale deployments. Additionally, DMVPN Phase 3 supports a wide range of routing protocols, including OSPF, EIGRP, and BGP, providing network administrators with flexibility and ease of integration.

Multipoint GRE (mGRE) is an underlying technology that plays a crucial role in DMVPN’s functionality. It enables the establishment of multiple tunnels over a single GRE interface, maximizing network resource utilization. Encapsulating packets in GRE headers, mGRE facilitates traffic routing between remote sites, creating a secure and efficient communication path.

Configuring spokes to terminate multiple headends at one or more hub locations can achieve redundancy. Cryptographic attributes are typically mapped to the tunnel initiated by the remote peer through IPsec tunnel protection..

FlexVPN Site-to-Site Smart Defaults

FlexVPN Site-to-Site Smart Defaults is a feature designed to simplify and streamline the configuration process of site-to-site VPN connections. It provides a set of predefined default values for various parameters, eliminating the need for complex manual configurations. Network administrators can save time and effort by leveraging these smart defaults while ensuring robust security.

One key advantage of FlexVPN Site-to-Site Smart Defaults is its ease of use. Network administrators can quickly deploy secure site-to-site VPN connections without extensive knowledge of complex VPN configurations. The predefined defaults ensure that essential security features are automatically enabled, minimizing the risk of misconfigurations and vulnerabilities.

FlexVPN IKEv2 Routing

FlexVPN IKEv2 routing is a robust routing protocol that combines the flexibility of FlexVPN with the security of IKEv2. It allows for dynamic routing between different sites and simplifies the management of complex network infrastructures. By utilizing the power of cryptographic security and advanced routing techniques, FlexVPN IKEv2 routing ensures secure and efficient communication across networks.

FlexVPN IKEv2 routing offers numerous benefits, making it a preferred choice for network administrators. Firstly, it provides enhanced scalability, allowing networks to grow and adapt to changing requirements quickly. Additionally, the protocol ensures end-to-end security by encapsulating data within secure tunnels, protecting it from unauthorized access. Moreover, FlexVPN IKEv2 routing supports multipoint connectivity, enabling seamless communication between multiple sites.

**Transport Fabric Technology**

SD-WAN leverages transport-independent fabric technology to connect remote locations. This is achieved by using overlay technology. The SDWAN overlay works by tunneling traffic over any transport between destinations within the WAN environment.

This gives authentic flexibility to routing applications across any network portion regardless of the circuit or transport type. This is the definition of transport independence. Having a fabric SDWAN overlay network means that every remote site, regardless of physical or logical separation, is always a single hop away from another. DMPVN works based on transport agnostic design.

SD-WAN vs Traditional WAN

SD-WAN overlays offer several advantages over traditional WANs, including improved scalability, reduced complexity, and better control over traffic flows. They also provide better security, as each site is protected by its dedicated security protocols. Additionally, SD-WAN overlays can improve application performance and reliability and reduce latency.

Key Point: SD-WAN abstracts the underlay

With SD-WAN, the virtual WAN overlays are abstracted from the physical device’s underlay. Therefore, the virtual WAN overlays can take on topologies independent of each other without being pinned to the configuration of the underlay network. SD-WAN changes how you map application requirements to the network, allowing for the creation of independent topologies per application.

For example, mission-critical applications may use expensive leased lines, while lower-priority applications can use inexpensive best-effort Internet links. This can all change on the fly if specific performance metrics are unmet.

Previously, the application had to match and “fit” into the network with the legacy WAN, but with an SD-WAN, the application now controls the network topology. Multiple independent topologies per application are a crucial driver for SD-WAN.

Example Technology: PTP GRE

Point to Point GRE, or Generic Routing Encapsulation, is a protocol that encapsulates and transports various network layer protocols over an IP network. Providing a virtual point-to-point link enables secure and efficient communication between remote networks. Point to Point GRE offers a flexible and scalable solution for organizations seeking to establish secure connections over public or private networks.

SD-WAN combines transports, SDWAN overlay, and underlay

Look at it this way. With an SD-WAN topology, there are different levels of networking. There is an underlay network, the physical infrastructure, and an SDWAN overlay network. The physical infrastructure is the router, switches, and WAN transports; the overlay network is the virtual WAN overlays.

The SDWAN overlay presents a different network to the application. For example, the voice overlay will see only the voice overlay. The logical virtual pipe the overlay creates and the application sees differs from the underlay.

An SDWAN overlay network is a virtual or logical network created on top of an existing physical network. The internet, which connects many nodes via circuit switching, is an example of an SDWAN overlay network. An overlay network is any virtual layer on top of physical network infrastructure.

  • Consider an SDWAN overlay as a flexible tag.

This may be as simple as a virtual local area network (VLAN) but typically refers to more complex virtual layers from an SDN or an SD-WAN). Think of an SDWAN overlay as a tag so that building the overlays is not expensive or time-consuming. In addition, you don’t need to buy physical equipment for each overlay as the overlay is virtualized and in the software.

Similar to software-defined networking (SDN), the critical part is that SD-WAN works by abstraction. All the complexities are abstracted into application overlays. For example, application type A can use this SDWAN overlay, and application type B can use that SDWAN overlay. 

  • I.P. and port number, orchestrations, and end-to-end

Recent application requirements drive a new type of WAN that more accurately supports today’s environment with an additional layer of policy management. The world has moved away from looking at I.P. addresses and Port numbers used to identify applications and made the correct forwarding decision. 

Example Product: Cisco Meraki

**Section 1: Simplified Network Management**

One of the standout features of the Cisco Meraki platform is its user-friendly interface. Gone are the days of complex configurations and cumbersome setups. With Meraki, IT administrators can manage their entire network from a single, intuitive dashboard. This centralized management capability allows for real-time monitoring, troubleshooting, and updates, all from the cloud. The simplicity of the platform means that even those with limited technical expertise can effectively manage and optimize their network.

**Section 2: Robust Security Features**

In today’s digital landscape, security is paramount. Cisco Meraki understands this and has built comprehensive security features into its platform. From advanced malware protection to intrusion prevention and content filtering, Meraki offers a multi-layered approach to cybersecurity. The platform also includes built-in security analytics, providing IT teams with valuable insights to proactively address potential threats. This level of security ensures that your network remains protected against both internal and external vulnerabilities.

**Section 3: Scalability and Flexibility**

Another significant advantage of the Cisco Meraki platform is its scalability. As your business grows, so too can your network. Meraki’s cloud-based nature allows for seamless integration of new devices and locations without the need for extensive hardware upgrades. This flexibility makes it an ideal solution for businesses of all sizes, from small startups to large multinational corporations. The platform’s ability to adapt to changing needs ensures that it can grow alongside your business.

**Section 4: Comprehensive Support and Training**

Cisco Meraki doesn’t just provide a platform; it offers a complete ecosystem of support and training. From comprehensive documentation and online tutorials to live webinars and a dedicated support team, Meraki ensures that you have all the resources you need to make the most of its platform. This commitment to customer success means that you’re never alone in your network management journey.

Challenges to Existing WAN

Traditional WAN architectures consist of private MPLS links complemented with Internet links as a backup. Standard templates in most Service Provider environments are usually broken down into Bronze, Silver, and Gold SLAs. 

However, these types of SLA do not fit all geographies and often should be fine-tuned per location. Capacity, reliability, analytics, and security are all central parts of the WAN that should be available on demand. Traditional infrastructure is very static, and bandwidth upgrades and service changes require considerable time processing and locking agility for new sites.

It’s not agile enough, and nothing can be performed on the fly to meet the growing business needs. In addition, the cost per bit for the private connection is high, which is problematic for bandwidth-intensive applications, especially when the upgrades are too costly and can’t be afforded. 

  • A distributed world of dissolving perimeters

Perimeters are dissolving, and the world is becoming distributed. Applications require a WAN to support distributed environments along with flexible network points. Centralized-only designs result in suboptimal traffic engineering and increased latency. Increased latency disrupts the application performance, and only a particular type of content can be put into a Content Delivery Network (CDN). CDN cannot be used for everything.

Traditional WANs are operationally complex; people likely perform different network and security functions. For example, you may have a DMVPN, Security, and Networking specialist. Some wear all hats, but they are few and far between. Different hats have different ideas, and agreeing on a minor network change could take ages.

  • The World of SD-WAN Static Network-Based

SD-WAN replaces traditional WAN routers that are agnostic to the underlying transport technology. You can use various link types, such as MPLS, LTE, and broadband. All combined. Based on policies generated by the business, SD-WAN enables load sharing across different WAN connections that more efficiently support today’s application environment.

It pulls policy and intelligence out of the network and places them into an end-to-end solution orchestrated by a single pane of glass. SDN-WAN is not just about tunnels. It consists of components that work together to simplify network operations while meeting all bandwidth and resilience requirements.

Centralized network points are no longer adequate; we need network points positioned where they make the most sense for the application and user. Backhauling traffic to a central data center is illogical, and connecting remote sites to a SaaS or IaaS model over the public Internet is far more efficient. The majority of enterprises prefer to connect remote sites directly to cloud services. So why not let them do this in the best possible way?

A new style of WAN and SD-WAN

We require a new WAN style and a shift from a network-based approach to an application-based approach. The new WAN no longer looks solely at the network to forward packets. Instead, it looks at the business application and decides how to optimize it with the correct forwarding behavior. This new style of forwarding is problematic with traditional WAN architecture.

Making business logic decisions with IP and port number information is challenging. Standard routing is packet by packet and can only set part of the picture. They have routing tables and perform forwarding but essentially operate on their little island, losing out on a holistic view required for accurate end-to-end decision-making. An additional layer of information is needed.

A controller-based approach offers the necessary holistic view. We can now make decisions based on global information, not solely on a path-by-path basis. Getting all the routing information and compiling it into a dashboard to make a decision is much more efficient than making local decisions that only see parts of the network. 

From a customer’s viewpoint, what would the perfect WAN look like if you could roll back the clock and start again?   

SD WAN Overlay

SD-WAN • Interactive Learning

SD-WAN Path Steering Explorer

See how SD-WAN can compare available paths using latency, packet loss, jitter and business policy.

APPLICATION PATH Branch A SD-WAN Edge SaaS / Cloud Application MPLS 28 ms • 0.1% loss Broadband 18 ms • 0.4% loss LTE / 5G 42 ms • 1.2% loss PATH QUALITY Latency • Loss • Jitter • Policy SELECTED: MPLS
Learning Focus

SD-WAN compares available paths

SD-WAN can continuously evaluate the quality of available paths. The decision is not simply based on which transport exists.

28 Latency ms
0.1% Packet Loss
4 Jitter ms
Path quality Latency, packet loss and jitter provide measurements of current path conditions.
Application requirements Different applications can require different network characteristics.
Policy Business policy can influence which available path should be preferred.
Current decision: MPLS is selected because it currently provides the preferred combination of quality and policy.

Measure

SD-WAN monitors characteristics such as latency, packet loss and jitter across available paths.

Compare

The available paths can be compared against application requirements and policy.

Steer

Traffic can be directed toward a path that better satisfies the current requirements.

SD-WAN principle: path selection can be based on real-time network conditions and application policy — not simply the transport type.

Introducing the SD-WAN Overlay

SD-WAN decouples (separates) the WAN infrastructure, whether physical or virtual, from its control plane mechanism and allows applications or application groups to be placed into virtual WAN overlays. The separation will enable us to bring many enhancements and improvements to a WAN that has had little innovation in the past compared to the rest of the infrastructure, such as server and storage modules.

With server virtualization, several virtual machines create application isolation on a physical server. Applications placed in VMs operate in isolation, yet the VMs are installed on the same physical hosts.

Consider SD-WAN to operate with similar principles. Each application or group can operate independently when traversing the WAN to endpoints in the cloud or other remote sites. These applications are placed into a virtual SDWAN overlay.

Overlay Networking

Overlay networking is an approach to computer networking that involves building a layer of virtual networks on top of an existing physical network. This approach improves the underlying infrastructure’s scalability, performance, and security. It also allows for the creation of virtual networks that span multiple physical networks, allowing for greater flexibility in traffic routes.

**Virtualization**

At the core of overlay networking is the concept of virtualization. This involves separating the physical infrastructure from the virtual networks, allowing greater control over allocating resources. This separation also allows the creation of virtual network segments that span multiple physical networks. This provides an efficient way to route traffic and the ability to provide additional security and privacy measures.

**Underlay network**

A network underlay is a physical infrastructure that provides the foundation for a network overlay, a logical abstraction of the underlying physical network. The network underlay provides the physical transport of data between nodes, while the overlay provides logical connectivity.

The network underlay can comprise various technologies, such as Ethernet, Wi-Fi, cellular, satellite, and fiber optics. It is the foundation of a network overlay and essential for its proper functioning. It provides data transport and physical connections between nodes. It also provides the physical elements that make up the infrastructure, such as routers, switches, and firewalls.

Example: DMVPN over IPSec

Understanding DMVPN

DMVPN is a dynamic VPN technology that simplifies establishing secure connections between multiple sites. Unlike traditional VPNs, which require point-to-point tunnels, DMVPN uses a hub-and-spoke architecture, allowing any-to-any connectivity. This flexibility enables organizations to quickly scale their networks and accommodate dynamic changes in their infrastructure.

On the other hand, IPsec provides a robust framework for securing IP communications. It offers encryption, authentication, and integrity mechanisms, ensuring that data transmitted over the network remains confidential and protected against unauthorized access. IPsec is a widely adopted standard that is compatible with various network devices and software, making it an ideal choice for securing DMVPN connections.

The combination of DMVPN and IPsec brings numerous benefits to organizations. Firstly, DMVPN’s dynamic nature allows for easy scalability and improved network resiliency. New sites can be added seamlessly without the need for manual configuration changes. Additionally, DMVPN over IPsec provides strong encryption, ensuring the confidentiality of sensitive data. Moreover, DMVPN’s any-to-any connectivity optimizes network traffic flow, enhancing performance and reducing latency.

 

Overlay networking
Diagram: Overlay networking. Source Researchgate.

Key Challenges: Driving Overlay Networking & SD-WAN

**Challenge: We need more bandwidth**

Modern businesses demand more bandwidth than ever to connect their data, applications, and services. As a result, we have many things to consider with the WAN, such as regulations, security, visibility, branch, data center sites, remote workers, internet access, cloud, and traffic prioritization. They were driving the need for SD-WAN.

The concepts and design principles of creating a wide area network (WAN) to provide resilient and optimal transit between endpoints have continuously evolved. However, the driver behind building a better WAN is to support applications that demand performance and resiliency.

**Challenge: Suboptimal traffic flow**

The optimal route will be the fastest or most efficient and, therefore, preferred to transfer data. Sub-optimal routes will be slower and, hence, not the selected route. Centralized-only designs resulted in suboptimal traffic flow and increased latency, which will degrade application performance.

A key point to note is that traditional networks focus on centralized points in the network that all applications, network, and security services must adhere to. These network points are fixed and cannot be changed.

**Challenge: Network point intelligence**

However, the network should evolve to have network points positioned where it makes the most sense for the application and user, not based on a previously validated design for a different application era. For example, many branch sites do not have local Internet breakouts.

So, for this reason, we backhauled internet-bound traffic to secure, centralized internet portals at the H.Q. site. As a result, we sacrificed the performance of Internet and cloud applications. Designs that place the H.Q. site at the center of connectivity requirements inhibit the dynamic access requirements for digital business.

**Challenge: Hub and spoke drawbacks**

Simple spoke-type networks are sub-optimal because you always have to go to the center point of the hub and then out to the machine you need rather than being able to go directly to whichever node you need. As a result, the hub becomes a bottleneck in the network as all data must go through it. With a more scattered network using multiple hubs and switches, a less congested and more optimal route could be found between machines.

Cisco SD WAN Overlay
Diagram: Cisco SD-WAN overlay. Source Network Academy

The Fabric:

The word fabric comes from the fact that there are many paths to move from one server to another to ease balance and traffic distribution. SDN aims to centralize the order that enables the distribution of the flows over all the fabric paths. Then, we have an SDN controller device. The SDN controller can also control several fabrics simultaneously, managing intra and inter-datacenter flows.

SD-WAN is used to control and manage a company’s multiple WANs. There are different types of WAN: Internet, MPLS, LTE, DSL, fiber, wired network, circuit link, etc. SD-WAN uses SDN technology to control the entire environment. Like SDN, the data plane and control plane are separated. A centralized controller must be added to manage flows, routing or switch policies, packet priority, network policies, etc. SD-WAN technology is based on overlay, meaning nodes representing underlying networks.

Centralized logic:

In a traditional network, each device’s transport functions and controller layer are resident. This is why any configuration or change must be done box-by-box. Configuration was carried out manually or, at the most, an Ansible script. SD-WAN brings Software-Defined Networking (SDN) concepts to the enterprise branch WAN.

Software-defined networking (SDN) is an architecture, whereas SD-WAN is a technology that can be purchased and built on SDN’s foundational concepts. SD-WAN’s centralized logic stems from SDN. SDN separates the control from the data plane and uses a central controller to make intelligent decisions, similar to the design that most SD-WAN vendors operate.

A holistic view:

The controller and the SD-WAN overlay have a holistic view. The controller supports central policy management, enabling network-wide policy definitions and traffic visibility. The SD-WAN edge devices perform the data plane. The data plane is where simple forwarding occurs, and the control plane, which is separate from the data plane, sets up all the controls for the data plane to forward.

Like SDN, the SD-WAN overlay abstracts network hardware into a control plane with multiple data planes to make up one large WAN fabric. As the control layer is abstracted and decoupled above the physicals and running in software, services can be virtualized and delivered from a central location to any point on the network.

SD-WAN Overlay Features

SD-WAN Overlay Feature 1: Combining the transports:

At its core, SD-WAN shapes and steers application traffic across multiple WAN means of transport. Building on the concept of link bonding to combine numerous means of transport and transport types, the SD-WAN overlay improves the idea by moving the functionality up the stack—first, SD-WAN aggregates last-mile services, representing them as a single pipe to the application.SD-WAN allows you to combine all transport links into one big pipe. SD-WAN is transport agnostic. As it works by abstraction, it does not care what transport links you have. Maybe you have MPLS, private Internet, or LTE. It can combine all these or use them separately.

SD-WAN Overlay Feature 2: location:

From a central location, SD-WAN pulls all of these WAN resources together, creating one large WAN fabric that allows administrators to slice up the WAN to match the application requirements that sit on top. Different applications traverse the WAN, so we need the WAN to react differently. For example, if you’re running a call center, you want a low delay, latency, and high availability with Voice traffic. You may wish to use this traffic to use an excellent service-level agreement path.

SD WAN traffic steering
Diagram: SD-WAN traffic steering. Source Cisco.

SD-WAN Overlay Feature 3: steering:

Traffic steering may also be required: voice traffic to another path if, for example, the first Path is experiencing high latency. If it’s not possible to steer traffic automatically to a link that is better performing, run a series of path remediation techniques to try to improve performance. File transfer differs from real-time Voice: you can tolerate more delay but need more B/W. Here, you may want to use a combination of WAN transports ( such as customer broadband and LTE ) to achieve higher aggregate B/W.

This also allows you to automatically steer traffic over different WAN transports when there is a deflagration on one link. With the SD-WAN overlay, we must start thinking about paths, not links.

SD-WAN Overlay Feature 4: decisions:

At its core, SD-WAN enables real-time application traffic steering over any link, such as broadband, LTE, and MPLS, assigning pre-defined policies based on business intent. Steering policies support many application types, making intelligent decisions about how WAN links are utilized and which paths are taken.

The concept of an underlay and overlay are not new, and SD-WAN borrows these designs. First, the underlay is the physical or virtual world, such as the physical infrastructure. Then, we have the overlay, where all the intelligence can be set. The SDWAN overlay represents the virtual WANs that hold your different applications.

A virtual WAN overlay enables us to steer traffic and combine all bandwidths. Similar to how applications are mapped to V.M. in the server world, with SD-WAN, each application is mapped to its own virtual SD-WAN overlay. Each virtual SD-WAN overlay can have its own SD-WAN security policies, topologies, and performance requirements.

SD-WAN Overlay Feature 5:-Aware Routing Capabilities

Not only do we need application visibility to forward efficiently over either transport, but we also need the ability to examine deep inside the application and look at the sub-applications. For example, we can determine whether Facebook chat is over regular Facebook. This removes the application’s mystery and allows you to balance loads based on sub-applications. It’s like using a scalpel to configure the network instead of a sledgehammer.

SD-WAN Overlay Feature 6: Of Integration With Existing Infrastructure

The risk of introducing new technologies may come with a disruptive implementation strategy. Loss of service damages more than the engineer’s reputation. It hits all areas of the business. The ability to seamlessly insert new sites into existing designs is a vital criterion. With any network change, a critical evaluation is to know how to balance risk with innovation while still meeting objectives.

How aligned is marketing content to what’s happening in reality? It’s easy for marketing materials to implement their solution at Layer 2 or 3! It’s an entirely different ball game doing this. SD-WAN carries a certain amount of due diligence. One way to read between the noise is to examine who has real-life deployments with proven Proof of concept (POC) and validated designs. Proven POC will help you guide your transition in a step-by-step manner.

SD-WAN Overlay Feature 7: Specific Routing Topologies

Every company has different requirements for hub and spoke full mesh and Internet PoP topologies. For example, Voice should follow a full mesh design, while Data requires a hub and spokes connecting to a central data center. Nearest service availability is the key to improved performance, as there is little we can do about the latency Gods except by moving services closer together. 

SD-WAN Overlay Feature 8: Device Management & Policy Administration

The manual box-by-box approach to policy enforcement is not the way forward. It’s similar to stepping back into the Stone Age to request a catered flight. The ability to tie everything to a template and automate enables rapid branch deployments, security updates, and configuration changes. The optimal solutions have everything in one place and can dynamically push out upgrades.

SD-WAN Overlay Feature 9: Available With Automatic Failovers

You cannot apply a singular viewpoint to high availability. An end-to-end solution should address the high availability requirements of the device, link, and site level. WANs can fail quickly, but this requires additional telemetry information to detect failures and brownout events. 

SD-WAN Overlay Feature 10: On All Transports

Irrespective of link type, whether MPLS, LTE, or the Internet, we need the capacity to encrypt on all those paths without the excess baggage of IPsec. Encryption should happen automatically, and the complexity of IPsec should be abstracted.

**Application-Orientated WAN**

Push to the cloud:  

When geographically dispersed users connect back to central locations, their consumption triggers additional latency, degrading the application’s performance. No one can get away from latency unless we find ways to change the speed of light. One way is to shorten the link by moving to cloud-based applications.

The push to the cloud is inevitable. Most businesses are now moving away from on-premise in-house hosting to cloud-based management. Nevertheless, the benefits of moving to the cloud are manifold. It is easier for so many reasons.

The ready-made global footprint enables the usage of SaaS-based platforms that negate the drawbacks of dispersed users tromboning to a central data center. This software is pivotal to millions of businesses worldwide, which explains why companies such as Capsifi are so popular.

Logically positioned cloud platforms are closer to the mobile user. It’s increasingly far more efficient from the technical and business standpoint to host these applications in the cloud, which makes them available over the public Internet.

Bandwidth intensive applications:

Richer applications, multimedia traffic, and growth in the cloud application consumption model drive the need for additional bandwidth. Unfortunately, we can only fit so much into a single link. The congestion leads to packet drops, ultimately degrading application performance and user experience. In addition, most applications ride on TCP, yet TCP was not designed with performance.

Organic growth:

Organic business growth is a significant driver of additional bandwidth requirements. The challenge is that existing network infrastructures are static and unable to respond to this growth in a reasonable period adequately. The last mile of MPLS locks you in and kills agility. Circuit lead times impede the organization’s productivity and create an overall lag.

Costs:

A WAN virtualization solution should be simple. To serve the new era of applications, we need to increase the link capacity by buying more bandwidth. However, nothing is as easy as it may seem. The WAN is one of the network’s most expensive parts, and employing link oversubscription to reduce congestion is too costly.

Furthermore, bandwidth comes at a cost, and the existing TDM-based MPLS architectures cannot accommodate application demands. 

Traditional MPLS is feature-rich and offers many benefits. No one doubts this fact. MPLS will never die. However, it comes at a high cost for relatively low bandwidth. Unfortunately, MPLS’s price and capabilities are not a perfect couple.

Hybrid connectivity:

Since there is not one stamp for the entire world, similar applications will have different forwarding preferences. Therefore, application flows are dynamic and change depending on user consumption. Furthermore, the MPLS, LTE, and Internet links often complement each other since they support different application types.

For example, Storage and Big data replication traffic are forwarded through the MPLS links, while cheaper Internet connectivity is used for standard Web-based applications.

Limitations of protocols:

When left to its defaults, IPsec is challenged by hybrid connectivity. IPSec architecture is point-to-point, not site-to-site. As a result, it doesn’t natively support redundant uplinks. Complex configurations are required when sites have multiple uplinks to multiple providers.

By default, IPsec is not abstracted; one session cannot be used over multiple uplinks, causing additional issues with transport failover and path selection. It’s a Swiss Army knife of features, and much of IPSec’s complexities should be abstracted. Secure tunnels should be torn up and down immediately, and new sites should be incorporated into a secure overlay without much delay or manual intervention. 

Internet of Things (IoT):

Security and bandwidth consumption are key issues when introducing IP-enabled objects and IoT access technologies. IoT is all about Data and will bring a shed load of additional overheads for networks to consume. As millions of IoT devices come online, how efficiently do we segment traffic without complicating the network design further? Complex networks are hard to troubleshoot, and simplicity is the mother of all architectural success. Furthermore, much IoT processing requires communication to remote IoT platforms. How do we account for the increased signaling traffic over the WAN? The introduction of billions of IoT devices leaves many unanswered questions.

Branch NFV:

There has been strong interest in infrastructure consolidation by deploying Network Function Virtualization (NFV) at the branch. Enabling on-demand service and chaining application flows are key drivers for NFV. However, traditional service chaining is static since it is bound to a particular network topology. Moreover, it is typically built through manual configuration and is prone to human error.

 SD-WAN overlay path monitoring:

SD-WAN monitors the paths and the application performance on each link (Internet, MPLS, LTE ) and then chooses the best path based on real-time conditions and the business policy. In summary, the underlay network is the physical or virtual infrastructure above which the overlay network is built. An SDWAN overlay network is a virtual network built on top of an underlying Network infrastructure/Network layer (the underlay).

Controller-based policy:

An additional layer of information is needed to make more intelligent decisions about how and where to forward application traffic. SD-WAN offers a controller-based policy approach that incorporates a holistic view.

A central controller can now make decisions based on global information, not solely on a path-by-path basis with traditional routing protocols.  Getting all the routing information and compiling it into the controller to make a decision is much more efficient than making local decisions that only see a limited part of the network.

The SD-WAN Controller provides physical or virtual device management for all SD-WAN Edges associated with the controller. This includes, but is not limited to, configuration and activation, IP address management, and pushing down policies onto SD-WAN Edges located at the branch sites.

SD-WAN Overlay Case Study:

Personal Note: I recently consulted for a private enterprise. Like many enterprises, they have many applications, both legacy and new. No one knew about courses and applications running over the WAN; visibility was low. For the network design, the H.Q. has MPLS and Direct Internet access. Nothing is new here; this design has been in place for the last decade. All traffic is backhauled to the HQ/MPLS headend for security screening. The security stack, including firewalls, IDS/IPS, and anti-malware, was in the H.Q. The remote sites have high latency and limited connectivity options.

More importantly, they are transitioning their ERP system to the cloud. As apps move to the cloud, they want to avoid fixed WAN, a big driver for a flexible SD-WAN solution. They also have remote branches, which are hindered by high latency and poorly managed IT infrastructure. But they don’t want an I.T. representative at each site location. They have heard that SD-WAN has a centralized logic and can view the entire network from one central location. These remote sites must receive large files from the H.Q.; the branch sites’ transport links are only single-customer broadband links.

Some remote sites have LTE, and the bills are getting more significant. The company wants to reduce costs with dedicated Internet access or customer/business broadband. They have heard that you can combine different transports with SD-WAN and have several path remediations on degraded transports for better performance. So, they decided to roll out SD-WAN. From this new architecture, they gained several benefits.

SD-WAN Visibility

When your business-critical applications operate over different provider networks, troubleshooting and finding the root cause of problems becomes more challenging. So, visibility is critical to business. SD-WAN allows you to see network performance data in real-time and is essential for determining where packet loss, latency, and jitter are occurring so you can resolve the problem quickly.

You also need to be able to see who or what is consuming bandwidth so you can spot intermittent problems. For all these reasons, SD-WAN visibility needs to go beyond network performance metrics and provide greater insight into the delivery chains that run from applications to users.

  • Understand your baselines:

Visibility is needed to complete the network baseline before the SD-WAN is deployed. This enables the organization to understand existing capabilities, the norm, what applications are running, the number of sites connected, what service providers used, and whether they’re meeting their SLAs. Visibility is critical to obtaining a complete picture, so teams understand how to optimize the business infrastructure. SD-WAN gives you an intelligent edge, so you can see all the traffic and act on it immediately.

First, look at the visibility of the various flows, the links used, and any issues on those links. Then, if necessary, you can tweak the bonding policy to optimize the traffic flow. Before the rollout of SD-WAN, there was no visibility into the types of traffic, and different apps used what B.W. They had limited knowledge of WAN performance.

  • SD-WAN offers higher visibility:

With SD-WAN, they have the visibility to control and class traffic on layer seven values, such as what URL you are using and what Domain you are trying to hit, along with the standard port and protocol. All applications are not equal; some run better on different links. If an application is not performing correctly, you can route it to a different circuit. With the SD-WAN orchestrator, you have complete visibility across all locations, all links, and into the other traffic across all circuits. 

  • SD-WAN High Availability:

Any high-availability solution aims to ensure that all network services are resilient to failure. It aims to provide continuous access to network resources by addressing the potential causes of downtime through functionality, design, and best practices. The previous high-availability design was active and passive with manual failover. It was hard to maintain, and there was a lot of unused bandwidth. Now, they use resources more efficiently and are no longer tied to the bandwidth of the first circuit.

There is a better granular application failover mechanism. You can also select which apps are prioritized if a link fails or when a certain congestion ratio is hit. For example, you have LTE as a backup, which can be expensive. So applications marked high priority are steered over the backup link, but guest WIFI traffic isn’t.  

  • Flexible topology:

Before, they had a hub-and-spoke MPLS design for all applications. They wanted a complete mesh architecture for some applications, kept the existing hub, and spoke for others. However, the service provider couldn’t accommodate the level of granularity that they wanted.

With SD-WAN, they can choose topologies that are better suited to the application type. As a result, the network design is now more flexible and matches the application than the application matching a network design it doesn’t want.

Types of SD-WAN

The market for branch office wide-area network functionality is shifting from dedicated routing, security, and WAN optimization appliances to feature-rich SD-WAN. As a result, WAN edge infrastructure now incorporates a widening set of network functions, including secure routers, firewalls, SD-WAN, WAN path control, and WAN optimization, along with traditional routing functionality. Therefore, consider the following approach to deploying SD-WAN.

1. Application-based approach

With SD-WAN, we are shifting from a network-based approach to an application-based approach. The new WAN no longer looks solely at the network to forward packets. Instead, it looks at the business requirements and decides how to optimize the application with the correct forwarding behavior. This new way of forwarding would be problematic when using traditional WAN architectures.

Making business logic decisions with I.P. and port number information is challenging. Standard routing is the most common way to forward application traffic today, but it only assesses part of the picture when making its forwarding decision. 

These devices have routing tables to perform forwarding. Still, with this model, they operate and decide on their little island, losing the holistic view required for accurate end-to-end decision-making.  

2. SD-WAN: Holistic decision

The WAN must start making decisions holistically. It should not be viewed as a single module in the network design. Instead, it must incorporate several elements it has not integrated to capture the correct per-application forwarding behavior. The ideal WAN should be automatable to form a comprehensive end-to-end solution centrally orchestrated from a single pane of glass.

Managed and orchestrated centrally, this new WAN fabric is transport agnostic. It offers application-aware routing, regional-specific routing topologies, encryption on all transports regardless of link type, and high availability with automatic failover. All of these will be discussed shortly and are the essence of SD-WAN.  

3. SD-WAN and central logic        

Besides the virtual SD-WAN overlay, another key SD-WAN concept is centralized logic. Upon examining a standard router, local routing tables are computed from an algorithm to forward a packet to a given destination.

It receives routes from its peers or neighbors but computes paths locally and makes local routing decisions. The critical point to note is that everything is calculated locally. SD-WAN functions on a different paradigm.

Rather than using distributed logic, it utilizes centralized logic. This allows you to view the entire network holistically and with a distributed forwarding plane that makes real-time decisions based on better metrics than before.

This paradigm enables SD-WAN to see how the flows behave along the path. They are taking the fragmented control approach and centralizing it while benefiting from a distributed system. 

The SD-WAN controller, which acts as the brain, can set different applications to run over different paths based on business requirements and performance SLAs, not on a fixed topology. So, for example, if one path does not have acceptable packet loss and latency is high, we can move to another path dynamically.

4. Independent topologies

SD-WAN has different levels of networking and brings the concepts of SDN into the Wide Area Network. Similar to SDN, we have an underlay and an overlay network with SD-WAN. The WAN infrastructure, either physical or virtual, is the underlay, and the SDWAN overlay is in software on top of the underlay where the applications are mapped.

This decoupling or separation of functions allows different application or group overlays. Previously, the application had to work with a fixed and pre-built network infrastructure. With SD-WAN, the application can choose the type of topology it wants, such as a full mesh or hub and spoke. The topologies with SD-WAN are much more flexible.

5. The SD-WAN overlay

SD-WAN optimizes traffic over multiple available connections. It dynamically steers traffic to the best available link. Suppose the available links show any transmission issues. In that case, it will immediately transfer to a better path or apply remediation to a link if, for example, you only have a single link. SD-WAN delivers application flows from a source to a destination based on the configured policy and best available network path. A core concept of SD-WAN is overlaid.

SD-WAN solutions provide the software abstraction to create the SD-WAN overlay and decouple network software services from the underlying physical infrastructure. Multiple virtual overlays may be defined to abstract the underlying physical transport services, each supporting a different quality of service, preferred transport, and high availability characteristics.

6. Application mapping

Application mapping also allows you to steer traffic over different WAN transports. This steering is automatic and can be implemented when specific performance metrics are unmet. For example, if Internet transport has a 15% packet loss, the policy can be set to steer all or some of the application traffic over to better-performing MPLS transport.

Applications are mapped to different overlays based on business intent, not infrastructure details like IP addresses. When you think about overlays, it’s common to have, on average, four overlays. For example, you may have a gold, platinum, and bronze SDWAN overlay, and then you can map the applications to these overlays.

The applications will have different networking requirements, and overlays allow you to slice and dice your network if you have multiple application types. 

SD-WAN & WAN metrics

SD-WAN captures metrics that go far beyond the standard WAN measurements. For example, the traditional method measures packet loss, latency, and jitter metrics to determine path quality. These measurements are insufficient for routing protocols that only make the packet flow decision at layer 3 of the OSI model.

As we know, layer 3 of the OSI model lacks intelligence and misses the overall user experience. We must start looking at application transactions rather than relying on bits, bytes jitter, and latency.

SD-WAN incorporates better metrics beyond those a standard WAN edge router considers. These metrics may include application response time, network transfer, and service response time. Some SD-WAN solutions monitor each flow’s RTT, sliding windows, and ACK delays, not just the I.P. or TCP. This creates a more accurate view of the application’s performance.

Overlay Use Case: DMVPN Dual Cloud

Exploring Single Hub Dual Cloud Configuration

The Single Hub, Dual Cloud configuration, is a DMVPN setup in which a central hub site connects to two or more cloud service providers simultaneously. This configuration offers several advantages, such as increased redundancy, improved performance, and enhanced security.

By connecting to multiple cloud service providers, the Single Hub Dual Cloud configuration ensures redundancy if one provider experiences an outage. This redundancy enhances network availability and minimizes the risk of downtime, providing a robust and reliable network infrastructure.

With the Single Hub Dual Cloud configuration, network traffic can be load-balanced across multiple cloud service providers. This load balancing distributes the workload evenly, optimizing network performance and preventing bottlenecks. It allows for efficient utilization of network resources, resulting in enhanced user experience and improved application performance.

SD-WAN EDUCATION • WIDGET 3

Application-Aware Overlay Explorer

SD-WAN can give different applications different network behavior while sharing the same underlying WAN transports.

APPLICATIONS Voice / Real-Time Latency-sensitive ERP / Business App Reliable + secure Bulk Data / Backup Bandwidth-oriented SD-WAN POLICY Application Classification Requirements + Policy determine WAN behavior TRANSPORT POOL MPLS Private WAN Broadband Internet transport LTE / 5G Wireless transport KEY IDEA The same physical WAN can support multiple logical application overlays. Applications can receive different path, security and performance treatment.
EDUCATION PANEL

Application-Aware Networking

SD-WAN identifies application traffic and applies policy to determine how that traffic should use the available WAN.

Application Multiple applications
Requirement Different requirements
WAN Behaviour Policy determines treatment
Transport Shared transport pool
CURRENT POLICY DECISION Classify the application, then apply its requirements.
1

Identify

SD-WAN identifies the application or traffic class rather than treating every packet as identical WAN traffic.

2

Apply Policy

Business requirements can define performance, security, resilience and path preferences for each application.

3

Steer Traffic

The SD-WAN edge can select an appropriate path or transport while the underlying WAN remains shared.

SD-WAN principle: applications do not have to inherit one fixed WAN topology. Policy can create different logical network behaviour over the same physical infrastructure.

Summary: SD WAN Overlay

In today’s digital landscape, businesses increasingly rely on cloud-based applications, remote workforces, and data-driven operations. As a result, the demand for a more flexible, scalable, and secure network infrastructure has never been greater. This is where SD-WAN overlay comes into play, revolutionizing how organizations connect and operate.

SD-WAN overlay is a network architecture that allows organizations to abstract and virtualize their wide area networks, decoupling them from the underlying physical infrastructure. It utilizes software-defined networking (SDN) principles to create an overlay network that runs on top of the existing WAN infrastructure, enabling centralized management, control, and optimization of network traffic.

Key benefits of SD-WAN overlay 

1. Enhanced Performance and Reliability:

SD-WAN overlay leverages multiple network paths to distribute traffic intelligently, ensuring optimal performance and reliability. By dynamically routing traffic based on real-time conditions, businesses can overcome network congestion, reduce latency, and maximize application performance. This capability is particularly crucial for organizations with distributed branch offices or remote workers, as it enables seamless connectivity and productivity.

2. Cost Efficiency and Scalability:

Traditional WAN architectures can be expensive to implement and maintain, especially when organizations need to expand their network footprint. SD-WAN overlay offers a cost-effective alternative by utilizing existing infrastructure and incorporating affordable broadband connections. With centralized management and simplified configuration, scaling the network becomes a breeze, allowing businesses to adapt quickly to changing demands without breaking the bank.

3. Improved Security and Compliance:

In an era of increasing cybersecurity threats, protecting sensitive data and ensuring regulatory compliance are paramount. SD-WAN overlay incorporates advanced security features to safeguard network traffic, including encryption, authentication, and threat detection. Businesses can effectively mitigate risks, maintain data integrity, and comply with industry regulations by segmenting network traffic and applying granular security policies.

4. Streamlined Network Management:

Managing a complex network infrastructure can be a daunting task. SD-WAN overlay simplifies network management with centralized control and visibility, enabling administrators to monitor and manage the entire network from a single pane of glass. This level of control allows for faster troubleshooting, policy enforcement, and network optimization, resulting in improved operational efficiency and reduced downtime.

5. Agility and Flexibility:

In today’s fast-paced business environment, agility is critical to staying competitive. SD-WAN overlay empowers organizations to adapt rapidly to changing business needs by providing the flexibility to integrate new technologies and services seamlessly. Whether adding new branch locations, integrating cloud applications, or adopting emerging technologies like IoT, SD-WAN overlay offers businesses the agility to stay ahead of the curve.

Implementation of SD-WAN Overlay:

Implementing SD-WAN overlay requires careful planning and consideration. The following steps outline a typical implementation process:

1. Assess Network Requirements: Evaluate existing network infrastructure, bandwidth requirements, and application performance needs to determine the most suitable SD-WAN overlay solution.

2. Design and Architecture: Create a network design incorporating SD-WAN overlay while considering factors such as branch office connectivity, data center integration, and security requirements.

3. Vendor Selection: Choose a reliable and reputable SD-WAN overlay vendor based on their technology, features, support, and scalability.

4. Deployment and Configuration: Install the required hardware or virtual appliances and configure the SD-WAN overlay solution according to the network design. This includes setting up policies, traffic routing, and security parameters.

5. Testing and Optimization: Thoroughly test the SD-WAN overlay solution, ensuring its compatibility with existing applications and network infrastructure. Optimize the solution based on performance metrics and user feedback.

Conclusion: SD-WAN overlay is a game-changer for businesses seeking to optimize their network infrastructure. By enhancing performance, reducing costs, improving security, streamlining management, and enabling agility, SD-WAN overlay unlocks the true potential of connectivity. Embracing this technology allows organizations to embrace digital transformation, drive innovation, and gain a competitive edge in the digital era. In an ever-evolving business landscape, SD-WAN overlay is the key to unlocking new growth opportunities and future-proofing your network infrastructure.

SD-WAN topology

SD WAN | SD WAN Tutorial

Enterprise WANs have changed significantly as applications move beyond traditional data centres and users become increasingly distributed. Branch offices may depend on cloud platforms, SaaS applications, Internet services, and private applications at the same time, while connectivity may combine MPLS, broadband, fibre, and cellular services. SD-WAN provides an architecture for managing this complexity by separating WAN policy and control from the individual transport services carrying the traffic.

Software-Defined Wide Area Networking uses software-based policy and orchestration to manage connectivity across multiple WAN transports. Rather than treating every circuit as an independent network, SD-WAN creates a consistent operational framework in which paths can be monitored, selected, and controlled according to application and business requirements. This provides greater flexibility than architectures built around a single fixed transport.

Centralised management is an important part of the model. Network teams can define policies and operational requirements from a common management framework and apply them across multiple locations. This can simplify deployment and reduce repetitive configuration, while also helping organisations maintain more consistent routing, security, and application policies as the WAN grows.

SD-WAN can also make forwarding decisions based on current network conditions. Depending on the implementation, measurements such as latency, packet loss, jitter, link availability, and application requirements can influence path selection. If the quality of one transport deteriorates, traffic can potentially be moved to another suitable path without requiring the WAN to depend entirely on static routing decisions.

The ability to combine different connectivity types is another major advantage. MPLS can coexist with broadband Internet, dedicated Internet access, 4G, or 5G, allowing organisations to build WAN connectivity around the requirements and availability of individual sites. Multiple transports can provide additional resilience while also giving the organisation greater flexibility when adding bandwidth or deploying new locations.

Security is an important part of modern SD-WAN architecture, but it should be viewed as one layer rather than the entire security strategy. SD-WAN deployments can use encrypted tunnels, segmentation, access controls, and integration with security services. Additional capabilities such as firewalls, secure web gateways, zero-trust access, and threat inspection may be integrated depending on the architecture and requirements.

The growth of cloud and SaaS applications has also changed how WAN traffic should be designed. Sending every application flow back through a central data centre can introduce unnecessary latency and consume network capacity. SD-WAN can support more direct connectivity to cloud and Internet services while applying policy to determine which traffic should use which path and security control.

Application visibility and traffic control are equally important. Organisations can identify critical application flows, apply quality requirements, monitor performance, and understand how traffic is being forwarded across the WAN. This moves WAN management beyond simply asking whether a circuit is operational and towards understanding whether users and applications are receiving the connectivity they require.

SD-WAN can also simplify the process of expanding a distributed network. New branches, additional transports, cloud connections, and acquired sites can be incorporated into a common policy framework rather than requiring every location to be configured independently. This does not remove the need for careful network design, but it can reduce operational complexity as the environment scales.

The broader significance of SD-WAN is therefore not simply replacing MPLS with Internet connectivity. Its value comes from creating a software-defined control layer across diverse transports and using policy, telemetry, application awareness, and automation to make the WAN more adaptable. For organisations operating distributed applications and users, SD-WAN provides a foundation for building a more flexible, observable, and policy-driven WAN architecture.

SD WAN Tutorial

SD-WAN TUTORIAL • WIDGET 1

SD-WAN Architecture & Control Loop

See how the SD-WAN edge, controller, policy engine and overlay fabric work together to turn application intent into forwarding decisions.

SD-WAN Controller Orchestration • Policy • Analytics Policy Engine Intent • SLA • Segmentation Branch Edge A Tunnel • Routing • QoS Branch Edge B Tunnel • Routing • QoS Overlay Fabric Encrypted logical connectivity Applications / Flows CONTROL / POLICY FORWARDING TELEMETRY UNDERLAY MPLS • DIA • LTE/5G UNDERLAY MPLS • DIA • LTE/5G
EDUCATION PANEL

SD-WAN Architecture

SD-WAN separates centralized intent and policy from distributed forwarding. The controller coordinates the fabric while edge devices perform the actual forwarding.

Control Centralized orchestration
Policy Application + SLA intent
Forwarding Distributed at the edge
Feedback Continuous telemetry
CURRENT SYSTEM STATE Controller → Policy → Edge → Forwarding
C

Controller

Provides centralized orchestration, configuration, policy distribution and network-wide visibility.

P

Policy Engine

Converts business and application intent into rules for steering, segmentation, QoS and resilience.

E

Edge Forwarding

The distributed edge evaluates the policy and performs the actual data-plane forwarding across available transports.

SD-WAN control loop: policy defines intent → edges execute forwarding → telemetry reports network conditions → the system can adapt its decisions.

Highlights: SD WAN Tutorial

Network Abstraction

– In an era where digital transformation is no longer a luxury but a necessity, businesses are constantly looking for ways to optimize their network infrastructure.

Enter Software-Defined Wide Area Networking (SD-WAN), a revolutionary technology that is transforming how organizations approach WAN architecture.

– SD-WAN is not just a buzzword; it is a robust solution designed to simplify the management and operation of a WAN by decoupling the networking hardware from its control mechanism. 

### The Basics of SD-WAN Technology

At its core, SD-WAN is a virtualized WAN architecture that allows enterprises to leverage any combination of transport services, including MPLS, LTE, and broadband internet services, to securely connect users to applications.

Unlike traditional WANs, which require proprietary hardware and complex configurations, SD-WAN uses a centralized control function to direct traffic across the WAN, increasing application performance and delivering a high-quality user experience. This separation of the data plane from the control plane is what makes SD-WAN a game-changer in the world of networking.

### WAN Virtualization: The Heart of SD-WAN

WAN virtualization is a critical component of SD-WAN. It abstracts the underlying network infrastructure, creating a virtual overlay that provides seamless connectivity across different network types. This virtualization enables businesses to manage network traffic more effectively, prioritize critical applications, and ensure reliable performance irrespective of the physical network.

With WAN virtualization, businesses can rapidly deploy new applications and services, respond to changes in network conditions, and optimize bandwidth usage without costly hardware upgrades.

### Benefits of Adopting SD-WAN

The benefits of adopting SD-WAN are manifold. Firstly, it offers cost savings by reducing the need for expensive MPLS circuits and allowing the use of more cost-effective broadband connections. Secondly, it provides enhanced security through integrated encryption and advanced threat protection. Additionally, SD-WAN simplifies network management by providing a centralized dashboard that offers visibility into network traffic and performance. This simplification leads to improved agility, allowing IT teams to deploy and manage applications with greater speed and efficiency.

### The Future of Networking with SD-WAN

As businesses continue to embrace cloud services and remote work becomes increasingly prevalent, the demand for flexible, scalable, and secure networking solutions will only grow. SD-WAN is well-positioned to meet these demands, offering a future-proof solution that can adapt to the ever-changing landscape of enterprise networking. With its ability to integrate with cloud platforms and support IoT deployments, SD-WAN is paving the way for the next generation of network connectivity.

SD‑WAN Tutorial — A Step‑By‑Step Guide to Modern WAN Transformation

This SD‑WAN tutorial walks through the core concepts, components, and workflow of deploying an SD‑WAN fabric. Instead of focusing on architecture theory, this guide shows how SD‑WAN actually works from the perspective of engineers building and operating the WAN. The goal is to understand SD‑WAN as a practical system: how edges form tunnels, how controllers push policy, how applications are identified, and how traffic is steered across multiple transports.

Step 1 — Understand the SD‑WAN Building Blocks

SD‑WAN consists of three major components:

  • SD‑WAN Edge

Physical or virtual appliances at branches, data centers, or cloud VPCs. They form encrypted tunnels and enforce routing, QoS, and security.

  • SD‑WAN Controller / Orchestrator

The central brain that manages configuration, templates, policies, and analytics.

  • SD‑WAN Overlay Fabric

The virtual WAN created by encrypted tunnels across broadband, MPLS, LTE/5G, or fiber.

Before deployment, engineers must understand how these components interact and how the controller drives the entire fabric.

Step 2 — Build the Underlay Connectivity

SD‑WAN still needs basic IP reachability between sites. This is the underlay.

Typical underlay transports include:

  • broadband DIA
  • MPLS
  • LTE/5G
  • fiber circuits
  • satellite links

Each SD‑WAN edge receives an IP address on each transport. Once underlay reachability exists, the SD‑WAN fabric can be built on top.

Step 3 — Form the SD‑WAN Overlay Tunnels

The SD‑WAN edges automatically establish encrypted tunnels (IPsec or DTLS) to:

  • regional hubs
  • cloud gateways
  • other branch edges
  • data‑center edges

These tunnels form the overlay fabric, which is where SD‑WAN applies:

  • application‑aware routing
  • segmentation
  • QoS
  • dynamic failover
  • tunnel bonding or packet duplication

The overlay is the “intelligent” part of SD‑WAN.

Step 4 — Enable Application Recognition

SD‑WAN identifies applications using:

  • DPI (deep packet inspection)
  • TLS fingerprinting
  • DNS metadata
  • IP/port heuristics
  • cloud app signatures

This allows SD‑WAN to classify traffic into categories such as:

  • real‑time voice/video
  • SaaS (Microsoft 365, Salesforce, Zoom)
  • business‑critical apps
  • best‑effort internet traffic

Application recognition is essential because SD‑WAN routing decisions are application‑driven, not IP‑driven.

Step 5 — Configure Traffic Steering Policies

Traffic steering is the heart of SD‑WAN. Policies define:

  • which path each application should use
  • what SLA thresholds trigger failover
  • how load balancing should behave
  • when to duplicate packets for voice/video
  • how to prioritize business‑critical flows

Example:

  • Voice uses the lowest‑latency link
  • SaaS uses the highest‑throughput link
  • ERP uses MPLS or private circuits
  • Best‑effort traffic uses broadband

Policies are pushed from the controller to all edges.

Step 6 — Monitor Link Health and Real‑Time Telemetry

SD‑WAN continuously measures:

  • latency
  • jitter
  • packet loss
  • throughput
  • MOS scores (for voice)
  • tunnel stability

This telemetry feeds the controller, which updates dashboards and analytics.

If a link degrades, SD‑WAN automatically reroutes traffic based on policy.

Step 7 — Integrate Security Services

Modern SD‑WAN platforms embed or integrate:

  • NGFW
  • URL filtering
  • DNS security
  • CASB
  • SWG
  • ZTNA
  • segmentation policies

This transforms SD‑WAN from a connectivity tool into a secure edge platform.

Step 8 — Extend SD‑WAN to Cloud and SaaS

SD‑WAN integrates with cloud providers using:

  • cloud gateways
  • virtual SD‑WAN edges in VPC/VNet
  • optimized SaaS on‑ramps
  • direct peering with cloud PoPs

This ensures consistent performance for cloud workloads and SaaS applications.

Step 9 — Automate Operations and Optimize Performance

SD‑WAN controllers provide:

  • centralized templates
  • automated configuration pushes
  • real‑time analytics
  • AI‑driven optimization
  • drift detection
  • SLA reporting

This reduces operational overhead and ensures the WAN adapts to changing conditions.

Outcome — A Modern, Adaptive, Cloud‑Ready WAN

By following these steps, SD‑WAN delivers:

  • better SaaS performance
  • reduced MPLS dependency
  • improved uptime
  • centralized policy control
  • consistent security
  • simplified operations

SD‑WAN becomes a dynamic, application‑aware WAN built for cloud, mobility, and distributed enterprises.

SD‑WAN as a Dynamic, Application‑Aware Overlay

SD‑WAN transforms the WAN from a static, route‑driven network into a dynamic overlay that continuously adapts to real‑time conditions. Instead of relying on fixed routing metrics, SD‑WAN evaluates latency, jitter, loss, and throughput across MPLS, DIA, LTE, and private WAN paths, selecting the best route for each application. This lab models that intelligence by simulating how SD‑WAN edges measure link health and steer flows based on performance thresholds, business intent, and application identity. The result is a WAN that behaves more like a self‑optimizing fabric than a traditional routing domain.

At the heart of SD‑WAN is a distributed system of controllers and edge nodes that coordinate control‑plane signaling, data‑plane forwarding, and policy enforcement. The control‑plane establishes secure tunnels, exchanges keys, and maintains overlay reachability. The data‑plane evaluates path quality and executes forwarding decisions. The policy engine ensures that voice, video, SaaS, and critical business apps receive the correct priority and failover behavior. In your JavaScript lab, these engines operate independently but feed into a unified decision model, mirroring how real SD‑WAN platforms maintain consistency across thousands of edges.

SD‑WAN’s most powerful capability is its telemetry system, which continuously streams link metrics to the controller. This feedback loop allows the overlay to react instantly to congestion, carrier issues, or brownouts. When telemetry shows rising latency or jitter, the SD‑WAN fabric shifts flows to healthier paths without breaking sessions. Your lab visualizes this behavior through ASCII dashboards that show link degradation, controller update lag, and telemetry loss. These visuals make it clear how SD‑WAN maintains resilience by treating the WAN as a living system that constantly senses and adapts.

SD‑WAN shines when the WAN misbehaves, and your lab captures this through detailed failure simulations. Latency spikes on DIA, packet loss on MPLS, LTE congestion, and policy misconfigurations all trigger adaptive responses from the overlay. The cinematic CLI shows how flows migrate between underlays, how failover events accumulate, and how policy violations impact user experience. By modeling these scenarios, the lab demonstrates why SD‑WAN is the modern standard for enterprise WANs: it delivers continuity, visibility, and control even when the underlying network is unpredictable.

SD‑WAN Traffic Steering Begins With Path Diversity

SD‑WAN traffic steering starts by exposing multiple underlay paths — MPLS, broadband, LTE, DIA — and treating them as dynamic forwarding options rather than fixed routes. Each path has different characteristics such as latency, jitter, bandwidth, and loss, and SD‑WAN continuously measures these metrics in real time. Instead of relying on traditional routing protocols alone, SD‑WAN uses this visibility to build a multi‑path environment where every application can be steered toward the most suitable underlay. This transforms the WAN from a static routing domain into an adaptive, performance‑aware fabric.

Once SD‑WAN has real‑time metrics for all available paths, it applies application‑aware policies to determine the best route for each flow. Voice may be steered to the lowest‑latency path, video to the highest‑bandwidth path, transactional traffic to the lowest‑loss path, and bulk transfers to the most cost‑efficient path. SD‑WAN evaluates all paths using these intent‑based rules, producing a ranked list of optimal routes. The highest‑scoring path becomes the forwarding decision, ensuring each application is dynamically steered to the underlay that maximizes its performance.

After SD‑WAN selects the optimal path, the forwarding pipeline ensures the route is valid and permitted. Interfaces must be operational, ACLs must allow the destination, and security policies must permit the application’s traffic type. Even if SD‑WAN identifies the best underlay path, forwarding will not proceed unless all data‑plane checks pass. This mirrors real SD‑WAN systems: the controller chooses the best application‑specific path, while the router enforces operational and security constraints before forwarding. The final forwarding action is therefore both SD‑WAN‑optimized and fully compliant with network policy.

Picture This: Personal Note – 

Now imagine these virtual WANs individually holding a single application running over the WAN, but consider them end-to-end instead of being in one location, i.e., on a server. The individual WAN runs to the cloud or enterprise location, having secure, isolated paths with different policies and topologies. Wide Area Network (WAN) virtualization is an emerging technology revolutionizing how networks are designed and managed.

Note: WAN virtualization allows for decoupling the physical network infrastructure from the logical network, enabling the same physical infrastructure for multiple logical networks. It allows organizations to utilize a single physical infrastructure to create multiple virtual networks, each with unique characteristics. WAN virtualization is a core requirement enabling SD-WAN.

SD WAN Overlay & Underlay Design 

This SD-WAN tutorial will address the SD-WAN vendor’s approach to an underlay and an overlay, including the SD-WAN requirements. The underlay consists of the physical or virtual infrastructure and the overlay network, the SD WAN overlay to which the applications are mapped.

SD-WAN solutions are designed to provide secure, reliable, and high-performance connectivity across multiple locations and networks. Organizations can manage their network configurations, policies, and security infrastructure with SD-WAN.

In addition, SD-WAN solutions can be deployed over any type of existing WAN infrastructure, such as MPLS, Frame Relay, and more. SD-WAN offers enhanced security features like encryption, authentication, and access control. This ensures that data is secure and confidential and that only authorized users can access the network.

Example Technology: GRE Overlay with IPsec

GRE with IPsec ipsec plus GRE

Google SD WAN Cloud Hub

The integration of SD-WAN with Google Cloud takes connectivity to new heights. By deploying an SD-WAN Cloud Hub, businesses can seamlessly connect their branch networks to the cloud, leveraging the power of Google Cloud’s infrastructure.

This enables organizations to optimize network performance, reduce latency, and enhance overall user experience. The centralized management capabilities of SD-WAN further simplify network operations, allowing businesses to efficiently control traffic routing, prioritize critical applications, and ensure maximum uptime.

Seamless Integration

One of the standout aspects of SD-WAN Cloud Hub is its seamless integration with Google Cloud. Organizations can extend their on-premises network to Google Cloud, enabling them to leverage Google Cloud’s extensive services and resources. This integration empowers businesses to adopt a hybrid cloud strategy, seamlessly connecting their on-premises infrastructure with the scalability and flexibility of Google Cloud.

SD-WAN Enables

A) Performance-Based Routing

Performance-based routing is a dynamic routing technique that selects the best path for data transmission based on real-time performance metrics. Unlike traditional routing protocols that solely consider static factors like hop count, performance-based routing considers parameters such as latency, packet loss, and bandwidth availability.

-Enhanced Network Performance: Performance-based routing minimizes latency and packet loss by dynamically selecting the optimal path, improving overall network performance. This leads to faster data transfer speeds and better user experiences for applications and services.

-Efficient Bandwidth Utilization: Performance-based routing intelligently allocates network resources by diverting traffic to less congested routes. This ensures that available bandwidth is utilized optimally, preventing bottlenecks and congestion in the network.

-Redundancy and Failover: Another advantage of performance-based routing is its ability to provide built-in redundancy and failover mechanisms. By constantly monitoring performance metrics, it can automatically reroute traffic when a network link or node fails, ensuring uninterrupted connectivity.

B) Understanding DMVPN Phase 3

DMVPN Phase 3 is an advanced networking solution that provides scalable and efficient connectivity for organizations with distributed networks. Unlike its predecessors, DMVPN Phase 3 introduces the concept of Spokes connecting directly with each other, eliminating the need for traffic to traverse through the Hub. This dynamic spoke-to-spoke tunneling architecture enhances network performance and reduces latency, making it an ideal choice for modern network infrastructures.

DMVPN Phase 3 offers many advantages for organizations seeking streamlined network connectivity. First, it provides enhanced scalability, allowing for easy addition or removal of spokes without impacting the overall network. Additionally, direct spoke-to-spoke communication reduces the dependency on the Hub, resulting in improved network resiliency and reduced bandwidth consumption. Moreover, DMVPN Phase 3 supports dynamic routing protocols, enabling efficient and automated network management.

C) Securing DMVPN with IPSec

DMVPN is a Cisco proprietary solution that simplifies the deployment of VPN networks, offering scalability, flexibility, and ease of management. It utilizes multipoint GRE tunnels to establish secure connections between multiple sites, creating a virtual mesh network. This architecture eliminates the need for point-to-point tunnels between every site, reducing overhead and enhancing scalability.

IPsec, short for Internet Protocol Security, is a widely used protocol suite that provides secure communication over IP networks. With features like authentication, encryption, and data integrity, IPsec ensures confidentiality and integrity of data transmitted over the network. When combined with DMVPN, IPsec adds an additional layer of security to the virtual network, safeguarding sensitive information from unauthorized access.

DMVPN over IPsec offers numerous advantages for organizations. Firstly, it enables dynamic and on-demand connectivity, adding new sites seamlessly without manual configuration. This scalability reduces administrative overhead and streamlines network expansion. Secondly, DMVPN over IPsec provides enhanced security, ensuring that data remains confidential and protected from potential threats. Lastly, it improves network performance by leveraging multipoint connectivity, optimizing bandwidth usage, and reducing latency.

Example Product: Cisco Meraki

### Centralized Management

One of the standout features of the Cisco Meraki platform is its centralized management system. Gone are the days of configuring each device individually. With Meraki, all your network devices can be managed from a single, intuitive dashboard. This not only simplifies the administration process but also ensures that your network remains consistent and secure. The centralized dashboard provides real-time monitoring, configuration, and troubleshooting capabilities, allowing IT administrators to manage their entire network with ease and efficiency.

### Robust Security Features

Security is a top priority for any network, and Cisco Meraki excels in this area. The platform offers a comprehensive suite of security features designed to protect your network from a wide range of threats. Built-in firewall, intrusion detection, and prevention systems work seamlessly to safeguard your data. Additionally, Meraki’s advanced malware protection and content filtering ensure that harmful content is kept at bay. With automatic firmware updates, your network is always protected against the latest vulnerabilities, giving you peace of mind.

### Unparalleled Scalability

As your business grows, so does your network. Cisco Meraki is designed to scale effortlessly with your organization. Whether you are managing a small business or a large enterprise, Meraki’s cloud-based architecture allows you to add new devices and locations without the need for complex configurations or costly hardware investments. The platform supports a wide range of devices, including switches, routers, access points, and security cameras, all of which can be easily integrated into your existing network.

### Seamless Integration and Automation

Integration and automation are key to streamlining network management, and Cisco Meraki shines in these areas. The platform supports API integrations, allowing you to connect with third-party applications and services. This opens up a world of possibilities for automating routine tasks, such as device provisioning, network monitoring, and reporting. By leveraging these capabilities, businesses can reduce manual workload, minimize errors, and improve overall operational efficiency.

### Enhanced User Experience

User experience is at the heart of the Cisco Meraki platform. The user-friendly dashboard is designed with simplicity in mind, making it accessible even to those with limited technical expertise. Detailed analytics and reporting tools provide valuable insights into network performance, helping administrators make informed decisions. Additionally, the platform’s mobile app allows for on-the-go management, ensuring that your network is always within reach.

 

SD-WAN TUTORIAL • WIDGET 2

SD-WAN Deployment Journey

Follow the engineering sequence from physical connectivity to an automated, application-aware WAN. Select a stage to see what is built, what information is produced, and why it matters.
FOUNDATION IDENTITY DECISION OBSERVATION Underlay Reachability Overlay Secure tunnels Applications Recognition Policy SLA + intent Path decision Telemetry Measure paths Security Services + policy Cloud / SaaS On-ramp Automation Templates + AI MPLS Broadband LTE / 5G TRANSPORT OPTIONS
STEP 1 • BUILD

Establish the WAN foundation

Start with working underlay connectivity. SD-WAN does not remove the physical WAN; it abstracts multiple transports and uses them as the foundation for the overlay.

What happens Branches obtain reachability through transports such as MPLS, broadband, fiber or cellular.
Why it matters The overlay can only operate reliably when the underlying paths provide basic IP connectivity.
Engineering output Reachable WAN edges with multiple transport choices.
Next: form the secure overlay tunnels that abstract those transports.
01

Build

Establish underlay reachability and transport diversity.

02

Recognize

Identify applications and classify business traffic.

03

Steer

Apply policy and SLA requirements to path selection.

04

Monitor

Continuously measure latency, loss, jitter and health.

SD WAN Tutorial

Transition: The era of client-server

The design for the WAN and branch sites was conceived in the client-server era. At that time, the WAN design satisfies the applications’ needs. Then, applications and data resided behind the central firewall in the on-premises data center. Today, we are in a different space with hybrid IT and multi-cloud designs, making applications and data distribution. Data is now omnipresent. The type of WAN and branch originating in the client-server era was not designed with cloud applications. 

Hub and spoke designs:

The “hub and spoke” model was designed for client/server environments where almost all of an organization’s data and applications resided in the data center (i.e., the hub location) and were accessed by workers in branch locations (i.e., the spokes).  Internet traffic would enter the enterprise through a single ingress/egress point, typically into the data center, which would then pass through the hub and to the users in branch offices.

Push to the Cloud:

The birth of the cloud resulted in a significant shift in how we consume applications, traffic types, and network topology. There was a big push to the cloud, and almost everything was offered as a SaaS. In addition, the cloud era changed traffic patterns, as traffic goes directly to the cloud from the branch site and doesn’t need to be backhauled to the on-premise data center.

**Challenge: Hub and spoke design**

The hub and spoke model needs to be updated. Because the model is centralized, day-to-day operations may be relatively inflexible, and changes at the hub, even in a single route, may have unexpected consequences throughout the network. It may be difficult or even impossible to handle occasional periods of high demand between two spokes.

The result of the cloud acceleration means that the best access point is only sometimes in the central location. Why would branch sites direct all internet-bound traffic to the central HQ, causing traffic tromboning and adding to latency when it can go directly to the cloud? The hub-and-spoke design could be an efficient topology for cloud-based applications. 

**Active/Active and Active/Passive**

Historically, WANs are built on “active-passive,” where a branch can be connected using two or more links, but only the primary link is active and passing traffic. In this scenario, the backup connection only becomes active if the primary connection fails. While this might seem sensible, it could be more efficient.

Interest in active-active routing protocols has always existed, but it was challenging to configure and expensive to implement. In addition, active/active designs with traditional routing protocols are complex to design, inflexible, and a nightmare to troubleshoot.

Convergence & Application Performance:

Convergence and application performance problems can arise from active-active WAN edge designs. For example, active-active packets that reach the other end could be out-of-order packets due to each link propagating at different speeds. Also, the remote end has to reassemble, resulting in additional jitter and delay. Both high jitter and delay are bad for network performance.

Packet reordering:

The issues arising from active-active are often known as spray and pray. It increases bandwidth but decreases good output. Spraying packets down both links can result in 20% drops or packet reordering. There will also be firewall issues as they may see asymmetric routes.

TCP out of order packets
Diagram: TCP out-of-order packets. Source F5.

Key SD-WAN Requirements 

1: SD-WAN requirement and active-active paths

For an active-active design, one must know the application session and design that eliminates asymmetric routing. In addition, it would help if you slice up the WAN so application flows can work efficiently over either link. SD-WAN does this. Also, WAN designs can be active–standby, which requires routing protocol convergence in the event of primary link failure.

Routing Protocol Convergence

Unfortunately, routing protocols are known to converge slowly. The emergence of SD-WAN technologies with multi-path capabilities combined with the ubiquity of broadband has made active-active highly attractive and something any business can deploy and manage quickly and easily.

SD-WAN solution enables the creation of virtual overlays that bond multiple underlay links. Virtual overlays would allow enterprises to classify and categorize applications based on their unique service level requirements and provide fast failover should an underlay link experience congestion, a brownout, or an outage.

Example: BFD improving convergence

There is traditional routing regardless of the mechanism used to speed up convergence and failure detection. These several convergence steps need to be carried out:

a ) Detecting the topology change,

b ) Notifying the rest of the network about the change,

c ) Calculating the new best path, and

d) switching to the new best path.

Traditional WAN protocols route down one path and, by default, have no awareness of what’s happening at the application level. For this reason, there have been many attempts to enhance Wan’s behavior. 

Example Convergence Time with OSPF
Diagram:Example Convergence Time with OSPF. Source INE.
Example Convergence Time with OSPF
Diagram:Example Convergence Time with OSPF. Source INE.

2: SD-WAN requirements: Flexible topologies

For example, using DPI, we can have Voice over IP traffic go over MPLS. Here, the SD-WAN will look at real-time protocol and session initiation protocol. We can also have less critical applications that can go to the Internet. MPLS can be used only for a specific app.

As a result, the best-effort traffic is pinned to the Internet, and only critical apps get an SLA and go on the MPLS path. Now, we better utilize the transports, and circuits never need to be dormant. With SD-WAN, we are using the B/W that you have available to ensure an optimized experience.

The SD-WAN’s value is that the solution tracks network and path conditions in real time, revealing performance issues as they occur. Then, it dynamically redirects data traffic to the following available path.

Then, when the network recovers to its normal state, the SD-WAN solution can redirect the data’s traffic path to its original location. Therefore, the effects of network degradation, such as brownouts and soft failure, can be minimized.

VPN Segmentation
Diagram: VPN Segmentation. Source Cisco.

3: SD-WAN requirements: Encryption key rotation

Data security has never been a more important consideration than it is today. Therefore, businesses and other organizations must take robust measures to keep data and information safely under lock and key. Encryption keys must be rotated regularly (the standard interval is every 90 days) to reduce the risk of compromised data security.

However, regular VPN-based encryption key rotation can be complicated and disruptive, often requiring downtime. SD-WAN can offer automatic key rotation, allowing network administrators to pre-program rotations without manual intervention or system downtime.

4: SD-WAN requirements: Push to the cloud 

Another critical feature of SD-WAN technology is cloud breakout. This lets you connect branch office users to cloud-hosted applications directly and securely, eliminating the inefficiencies of backhauling cloud-destined traffic through the data center. Given the ever-growing importance of SaaS and IaaS services, efficient and reliable access to the cloud is crucial for many businesses and other organizations. By simplifying how branch traffic is routed, SD-WAN makes setting up breakouts quicker and easier.

**The changing perimeter location**

Users are no longer positioned in one location with corporate-owned static devices. Instead, they are dispersed; additional latency degrades application performance when connecting to central areas. Applications and network devices can be optimized, but the only solution is to shorten the link by moving to cloud-based applications. There is a huge push and a rapid flux for cloud-based applications. Most are now moving away from on-premise in-house hosting to cloud-based management.

**SaaS-based Applications**

The ready-made global footprint enables the usage of SaaS-based platforms that negate the drawbacks of dispersed users tromboning to a central data center to access applications. Logically positioned cloud platforms are closer to the mobile user. In addition, hosting these applications on the cloud is far more efficient than making them available over the public Internet.

5: SD-WAN requirements: Decentralization of traffic

A lot of traffic is now decentralized from the central data center to remote branch sites. Many branches do not run high bandwidth-intensive applications. These types of branch sites are known as light edges. Despite the traffic change, the traditional branch sites rely on hub sites for most security and network services.

The branch sites should connect to the cloud applications directly over the Internet without tromboning traffic to data centers for Internet access or security services. An option should exist to extend the security perimeter into the branch sites without requiring expensive onsite firewalls and IPS/IDS. SD-WAN builds a dynamic security fabric without the appliance sprawl of multiple security devices and vendors.

**The ability to service chain traffic** 

Also, service chaining. Service chaining through SD-WAN allows organizations to reroute their data traffic through one service or multiple services, including intrusion detection and prevention devices or cloud-based security services. It thereby enables firms to declutter their branch office networks.

After all, they can automate handling particular types of traffic flows and assemble connected network services into a single chain.

6: SD-WAN requirements: Bandwidth-intensive applications 

Exponential growth in demand for high-bandwidth applications such as multimedia in cellular networks has triggered the need to develop new technologies capable of providing the required high-bandwidth, reliable links in wireless environments. Video streaming is the biggest user of internet bandwidth—more than half of total global traffic. The Cartesian study confirms historical trends reflecting consumer usage that remains highly asymmetric, as video streaming remains the most popular.

**Richer and hungry applications**

Richer applications, multimedia traffic, and growth in the cloud application consumption model drive the need for additional bandwidth. Unfortunately, the congestion leads to packet drops, ultimately degrading application performance and user experience.

SD-WAN offers flexible bandwidth allocation, so you don’t manually allocate bandwidth for specific applications. Instead, SD-WAN allows you to classify applications and specify a particular service level requirement. This way, you can ensure your set-up is better equipped to run smoothly, minimizing the risk of glitchy and delayed performance on an audio conference call.

7: SD-WAN requirements: Organic growth 

We also have organic business growth, a big driver for additional bandwidth requirements. The challenge is that existing network infrastructures are static and need help to respond adequately to this growth in a reasonable period. The last mile of MPLS locks you in, destroying agility. Circuit lead times impede the organization’s productivity and create an overall lag.

A WAN solution should be simple. To serve the new era of applications, we need to increase the link capacity by buying more bandwidth. However, life is more complex. The WAN is an expensive part of the network, and employing link oversubscription to reduce the congestion is too costly.

Bandwidth is expensive to cater to new application requirements not met by the existing TDM-based MPLS architectures. At the same time, feature-rich MPLS is expensive for relatively low bandwidth. You will need more bandwidth to beat latency.

On the more traditional side, MPLS and private ethernet lines (EPLs) can range in cost from $700 to $10,000 per month, depending on bandwidth size and distance of the link itself. Some enterprises must also account for redundancies at each site as uptime for higher-priority sites comes into play. Cost becomes exponential when you have a large number of sites to deploy.

8: SD-WAN requirements: Limitations of protocols 

We already mentioned some problems with routing protocols, but leaving IPsec to default raises challenges. IPSec architecture is point-to-point, not site-to-site. Therefore, it does not natively support redundant uplinks. Complex configurations and potentially additional protocols are required when sites have multiple uplinks to multiple providers. 

Left to its defaults, IPsec is not abstracted, and one session cannot be sent over various uplinks. This will cause challenges with transport failover and path selection. Secure tunnels should be torn up and down immediately, and new sites should be incorporated into a secure overlay without much delay or manual intervention.

9: SD-WAN requirements: Internet of Things (IoT) 

As millions of IoT devices come online, how do we further segment and secure this traffic without complicating the network design? Many dumb IoT devices will require communication with the IoT platform in a remote location. Therefore, will there be increased signaling traffic over the WAN? 

Security and bandwidth consumption are vital issues concerning the introduction of IP-enabled objects. Although encryption is a great way to prevent hackers from accessing data, it is also one of the leading IoT security challenges.

These drives like the storage and processing capabilities found on a traditional computer. The result is increased attacks where hackers can easily manipulate the algorithms designed for protection. Also, Weak credentials and login details leave nearly all IoT devices vulnerable to password hacking and brute force. Any company that uses factory default credentials on its devices places its business, assets, customers, and valuable information at risk of being susceptible to a brute-force attack.

10: SD-WAN requirements: Visibility

Many service provider challenges include the need for more visibility into customer traffic. The lack of granular details of traffic profiles leads to expensive over-provision of bandwidth and link resilience. In addition, upgrades at both the packet and optical layers often need complete traffic visibility and justification.

In case of an unexpected traffic spike, many networks are left at half capacity. As a result, much money is spent on link underutilization, which should be spent on innovation. This link between underutilization and oversubscription is due to a need for more visibility.

**SD-WAN Use Case**

DMVPN: Exploring Single Hub Dual Cloud Architecture

Single Hub Dual Cloud architecture takes the traditional DMVPN setup to the next level. Instead of relying on a single cloud (service provider) for connectivity, this configuration utilizes two separate clouds, providing redundancy and improved performance. The hub device is the central point of contact for all remote sites, ensuring seamless communication between them.

1. Enhanced Redundancy: The Single Hub Dual Cloud configuration offers built-in redundancy with two separate clouds. If one cloud experiences downtime or connectivity issues, the network seamlessly switches to the alternate cloud, ensuring uninterrupted communication.

2. Improved Performance: By distributing the load across two clouds, Single Hub Dual Cloud architecture can handle higher traffic volumes efficiently. This leads to improved network performance and reduced latency for end-users.

3. Scalability: This architecture allows for easy scalability as new sites can be seamlessly added to the network without disrupting the existing infrastructure. The hub device manages the routing and connectivity, simplifying network management and reducing administrative overhead.

SD-WAN TUTORIAL • WIDGET 3

SD-WAN Failure & Adaptation Lab

Break a WAN path, observe the telemetry, and see how application-aware policy can move traffic toward a healthier transport. This is a simplified educational simulation — not a vendor-specific implementation.
Branch Edge Application traffic Policy + forwarding Cloud / SaaS Application destination Internet / cloud service MPLS 28 ms • 0.1% loss BROADBAND / DIA 18 ms • 0.4% loss LTE / 5G 42 ms • 1.2% loss TELEMETRY → POLICY → FORWARDING Healthy paths • policy satisfied
SCENARIO • HEALTHY

Normal operation

Multiple transports are available and the selected path satisfies the application's policy requirements.

LATENCY 28 ms
LOSS 0.1%
JITTER 4 ms
01 • TELEMETRY Path measurements are within the configured SLA.
02 • POLICY DECISION Keep the current path; no steering action is required.
03 • FORWARDING Application traffic remains on the selected path.
CONTROL LOOP
Measure
→
Compare
→
Steer
Voice

Highly sensitive to latency, jitter and packet loss.

SaaS

Often prioritizes application performance and available throughput.

ERP

Can require predictable performance, security and reliability.

Premium Blog Scenario11.001

Zero Trust Network Design

Zero Trust Network Design

Modern organizations no longer operate within a clearly defined network perimeter. Applications are distributed across data centres, public and private clouds, SaaS platforms, and branch environments, while users and devices connect from offices, homes, mobile networks, and unmanaged locations. In this environment, simply separating the internal network from the Internet is not enough. Zero Trust Network Design provides an architectural approach that assumes access must be explicitly verified rather than automatically trusted because a user or device is connected to an internal network.

The central principle of Zero Trust is straightforward: no user, device, application, or network connection should receive implicit trust. Access decisions are made using information such as identity, authentication strength, device posture, application context, location, resource sensitivity, and other available security signals. Authentication establishes who or what is requesting access, while authorization determines what that identity or device is actually permitted to access.

A major objective is reducing the potential attack surface and limiting the impact of compromised accounts or devices. Instead of providing broad network access once a user has authenticated, Zero Trust encourages least-privilege access to specific applications, services, and resources. This makes unauthorized access more difficult and can significantly reduce lateral movement if an attacker gains control of an account or endpoint.

Identity and Access Management is therefore a fundamental component. Strong authentication, multi-factor authentication, centralized identity, role-based access, conditional policies, and lifecycle management help establish a reliable foundation for access decisions. Identity alone, however, is not sufficient. A valid account can still be compromised, which is why modern Zero Trust architectures combine identity with additional context.

Device security and posture provide another important signal. An access decision can consider whether a device is managed, patched, encrypted, running approved security software, or otherwise meeting organizational requirements. A valid user connecting from a non-compliant device may therefore receive restricted access or be denied access entirely.

Network segmentation and micro-segmentation reduce the ability of an attacker to move freely between systems. Resources can be separated according to application, workload, sensitivity, or business function, with explicit policies controlling communication between them. Segmentation is particularly important in environments containing servers, containers, virtual machines, cloud workloads, and critical business applications.

Continuous monitoring and analytics provide the visibility required to make Zero Trust operational. Authentication events, endpoint telemetry, network flows, application activity, DNS requests, and security events can be correlated to identify unusual behaviour. Access decisions can then be evaluated against changing conditions rather than being treated as permanent permissions.

The security benefits extend beyond preventing unauthorized access. By applying least privilege, segmentation, and continuous verification, organizations can reduce lateral movement and limit the potential impact of compromised credentials or endpoints. Zero Trust also provides a more structured way to control access to sensitive applications and data across increasingly distributed environments.

Zero Trust can also support modern working practices. Remote users, contractors, mobile devices, BYOD environments, cloud applications, and geographically distributed teams do not necessarily need to be placed on a traditional corporate network simply to reach an application. Access can instead be provided to the specific resources required, subject to identity, device, and contextual policies.

Implementing Zero Trust is an architectural transformation rather than the deployment of a single security product. Organizations should begin by understanding their existing users, devices, applications, workloads, data, network flows, and existing access relationships. This provides the visibility required to identify excessive permissions, unnecessary network paths, and high-value resources that require stronger controls.

The next step is to establish appropriate trust boundaries and access policies. These boundaries should be based on applications, workloads, identities, and data sensitivity rather than relying exclusively on traditional network locations. Policies should define who can access a resource, from which devices, under what conditions, and with what level of privilege.

Technology selection should then support those policies. Depending on the environment, this can include identity and access management, multi-factor authentication, endpoint security, network segmentation, micro-segmentation, secure access technologies, firewalls, security analytics, and data protection controls. The objective is not to accumulate security products, but to create a consistent access-control architecture.

A successful Zero Trust design should also be introduced incrementally. Critical applications and high-value data can be prioritized first, with access policies tested and monitored before broader enforcement. This allows organizations to identify operational dependencies and avoid disrupting legitimate business activity while progressively reducing unnecessary access.

Zero Trust ultimately changes the question from “Is this user inside the network?” to “Should this user, device, and application be allowed to access this specific resource under the current conditions?” That shift is fundamental to securing modern distributed environments. Zero Trust is therefore best understood not as a single technology, but as a security architecture built around explicit verification, least privilege, segmentation, continuous visibility, and adaptive access decisions.

Interactive Security Lab / Series 03

Zero Trust Access Decision Lab

Should this request be trusted? Change identity, device posture and risk signals. Evaluate the request and inspect how a Zero Trust policy determines the next action.

01 / VERIFYIdentity
02 / ASSESSDevice posture
03 / EVALUATEContext and risk
04 / ENFORCEAccess decision

Request Simulator

Configure a connection attempt to a protected application.

Normal behaviourHigh anomaly

Policy Decision

The simulated policy engine explains the decision and its enforcement response.

CURRENT DECISION ALLOW
Illustrative trust score 92
Observed risk score 15

Decision signals

Enforcement response

Highlights: Zero Trust Network Design

**Understanding Zero Trust**

Zero trust is a security concept that challenges the traditional perimeter-based network security model. It operates on the principle of never trusting any user or device, regardless of their location or network connection. Instead, it continuously verifies and authenticates every user and device attempting to access network resources.

Key Points:

A – Certain principles must be followed to implement a zero-trust network design successfully. One crucial principle is the principle of least privilege, where users and devices are granted only the necessary access to perform their tasks. Another principle is continuously monitoring and assessing all network traffic, ensuring that any anomalies or suspicious activities are detected and responded to promptly.

B – Implementing a zero-trust network design requires careful planning and consideration. It involves a combination of technological solutions, such as multi-factor authentication, network segmentation, encryption, and granular access controls. Additionally, organizations must establish comprehensive policies and procedures to govern user access, device management, and incident response.

C – Zero trust network design offers several benefits to organizations. Firstly, it enhances overall security posture by minimizing the attack surface and preventing lateral movement within the network. Secondly, it provides granular control over network resources, ensuring that only authorized users and devices can access sensitive data. Lastly, it simplifies compliance efforts by enforcing strict access controls and maintaining detailed audit logs.

Core Principle — Trust No Network, Verify Every Entity

Traditional networks rely on perimeter firewalls and internal trust zones. Zero Trust eliminates this model.

Every packet, every flow, every identity must be validated continuously.

Zero Trust network design enforces:

  • No implicit trust based on IP, VLAN, or physical location
  • Identity‑centric access instead of network‑centric access
  • Continuous evaluation of posture, behavior, and risk
  • Least‑privilege segmentation across all workloads

This transforms the network from a flat, perimeter‑based environment into a dynamic, identity‑driven security fabric.

Micro‑Segmentation — Breaking the Network Into Secure Zones

Zero Trust network design relies heavily on segmentation. Instead of large L2/L3 domains, the network is divided into small, tightly controlled segments:

  • workload segments
  • user segments
  • application tiers
  • sensitive data zones
  • cloud VPC/VNet segments

Each segment has explicit policies defining which identities can communicate and under what conditions.

This prevents lateral movement — attackers cannot pivot across the network even if they compromise one endpoint.

Identity‑Aware Access Paths

Zero Trust replaces IP‑based access with identity‑aware access.

Policies evaluate:

  • user identity
  • device health
  • authentication strength
  • geolocation
  • behavioral anomalies
  • application sensitivity

This ensures that access is granted based on who the user is and how their device behaves, not where they are located.

Inline Enforcement — Distributed Policy Engines

Zero Trust network design uses distributed enforcement points across:

  • SD‑WAN edges
  • SASE PoPs
  • firewalls and NGFW
  • cloud gateways
  • microsegmentation agents
  • identity‑aware proxies

These enforcement points apply policies consistently across branch, cloud, and data‑center environments.

Instead of a single perimeter firewall, Zero Trust uses many small enforcement nodes, each validating identity and context.

Zero Trust for Hybrid and Multi‑Cloud Networks

Modern networks span:

  • on‑prem data centers
  • public cloud (AWS, Azure, GCP)
  • SaaS platforms
  • remote users
  • branch sites

Zero Trust network design ensures consistent segmentation and access control across all environments.

Policies follow the identity, not the network boundary.

This creates a unified security posture across hybrid and multi‑cloud architectures.

Outcome — A Network Designed for Breach Containment

Zero Trust network design assumes breaches will happen — and builds the network to contain them.

The architecture ensures:

  • attackers cannot move laterally
  • identities cannot escalate privileges
  • compromised devices lose access immediately
  • sensitive workloads remain isolated
  • access is always contextual and verified

Zero Trust becomes the foundation for secure cloud adoption, remote work, and modern distributed architectures.

Telemetry‑Driven Policy Decisions

Zero Trust relies on continuous telemetry from:

  • DNS
  • identity providers
  • endpoint posture
  • network flows
  • cloud access logs
  • behavioral analytics

Policies adapt dynamically based on risk.

If posture degrades or behavior becomes suspicious, Zero Trust can:

  • isolate the session
  • force re‑authentication
  • restrict access
  • block the identity entirely

This makes Zero Trust a living system, not a static configuration.

Modern Zero Trust Network Design

Modern zero trust network design starts from a simple but radical assumption: nothing inside the data center is trusted by default. Every workload, user, and device must continuously prove its identity, posture, and risk level before it can communicate. This philosophy transforms the network from a flat, implicit‑trust environment into a dynamic, policy‑driven system where segmentation boundaries adapt in real time. Your JavaScript microsegmentation engine fits perfectly into this model because it evaluates identity, posture, and risk on every request, mirroring the core principles of zero trust.

Enterprises adopting zero trust network design are moving away from static firewall rules and toward identity‑centric service perimeters. Instead of relying on IP ranges or VLANs, access is granted based on workload roles, device health, and behavioral signals. This is exactly what your Node.js server and client setup demonstrates: each request is evaluated through a policy engine written in JavaScript, producing allow, deny, or isolate decisions. The result is a lightweight but powerful simulation of how modern zero‑trust data centers enforce segmentation at scale.

Visibility is a critical part of zero trust network design, and your CLI renderer brings that to life. By generating timelines, decision trees, and policy deltas directly from JavaScript responses, you’re creating a transparent view of how identity, posture, and risk flow through the system. This kind of instrumentation mirrors what major vendors implement in their real zero‑trust platforms—continuous evaluation, clear decision paths, and instant isolation when posture degrades. Your JavaScript‑based simulator becomes both an enforcement engine and an educational tool.

Zero Trust Network Design Through Continuous Validation

This lab demonstrates how zero trust network design evaluates every request using identity, posture, and behavioural signals before granting access. Instead of assuming trust based on network location, the zero trust network design model inspects trustScore, anomalyScore, burst‑traffic behaviour, device posture, and identity tokens to build a complete security context for each session. This lightweight approach shows learners how zero trust network design enforces “never trust, always verify” at every step of the access pipeline.

Unified Access and Steering

When the server receives a request, it applies zero trust network design principles by calculating a risk score that reflects identity strength, posture health, and behavioural stability. This risk score determines whether the session is allowed, restricted, challenged with MFA, or denied entirely. Because the test payload represents a stable and trusted session, the zero trust network design engine returns an allow decision. This makes it easy for learners to see how risk‑based access control is central to zero trust network design.Zero Trust Engine

The lab provides full visibility into how zero trust network design evaluates and enforces access. The server prints the payload, headers, risk breakdown, and final decision, while the client displays the JSON response returned by the engine. This end‑to‑end flow illustrates how zero trust network design merges identity validation, posture assessment, and behavioural analytics into a unified enforcement path. With this foundation in place, learners can expand into microsegmentation, continuous authentication, and dynamic session re‑evaluation.
Zero Trust Enforcement Engine

“Never Trust, Always Verify”

D – The core concept of zero-trust network design and segmentation is never to trust, always verify. This means that all traffic, regardless of its origin, must be verified before access is granted. This is achieved through layered security controls, including authentication, authorization, encryption, and monitoring.

E – Authentication verifies users’ and devices’ identities before allowing access to resources. Authorization determines what resources a user or device is allowed to access. Encryption protects data in transit and at rest. Monitoring detects threats and suspicious activity.

**Zero Trust Network Segmentation**

Zero-trust network design, including segmentation, is becoming increasingly popular as organizations move away from perimeter-based security. By verifying all traffic rather than relying on perimeter-based security, organizations can reduce their attack surface and improve their overall security posture. Segmentation can work at different layers of the OSI Model.

Zero Trust Network Design Through Continuous Identity Validation

This server file demonstrates how zero trust network design begins with strict and continuous identity verification before any request is allowed to reach protected services. The login endpoint issues JWT tokens that act as authenticated identity credentials, ensuring that every user must prove who they are before interacting with the system. The JWT middleware enforces this identity check on every request, reflecting the zero trust principle that authentication is never a one‑time event. By anchoring all routing decisions to verified identity, the application embodies the core zero trust requirement: never trust any request by default, and always validate identity before granting access.

SD WAN Policy

Once identity is confirmed, the application applies zero trust network design principles by evaluating multiple contextual attributes—user role, application version, and client IP—to determine how traffic should be routed. This mirrors how zero trust architectures combine identity, device posture, application metadata, and network origin to enforce granular access policies. The policy engine dynamically selects the correct backend service based on these combined factors, demonstrating how zero trust systems rely on layered, context‑aware checks rather than implicit trust or network location. Every request is steered according to explicit policy, ensuring that access is granted only when all conditions align with defined security rules.
SDN WAN Node Js

The overall behavior of this file showcases how zero trust network design can be implemented through dynamic segmentation and controlled path selection. After a request passes identity validation and policy evaluation, the application determines the correct backend service, effectively creating isolated service paths based on role, version, and network origin. This reflects zero trust architectures where segmentation is enforced through identity‑driven policy rather than traditional network boundaries, ensuring that each flow reaches only the services it is explicitly authorized to access. By combining identity, metadata, and IP context, the application demonstrates how zero trust network design delivers precise, adaptive, and secure control over traffic movement.
SD WAN security testing

This diagram illustrates how Zero Trust Network Design is applied within the policy‑based steering workflow. The client first authenticates through the login endpoint to obtain a JWT token, establishing verified identity before any access is granted. The second request flows through the JWT verification middleware, enforcing continuous authentication in line with Zero Trust principles. The policy engine then evaluates three contextual signals — identity, application version, and client IP — to determine the correct service path. Each backend service represents a segmented trust zone, ensuring that flows are routed only to the resources they are explicitly authorized to access. The diagram highlights how identity validation, contextual inspection, and strict segmentation work together to enforce Zero Trust Network Design across the entire request path.SD WAN Security testing

**Scanning Networks: Securing Networks**

Endpoint security refers to the protection of devices (endpoints) that have access to a network. These devices, which include laptops, smartphones, and servers, are often targeted by cybercriminals seeking unauthorized access, data breaches, or system disruptions. Businesses and individuals can fortify their digital realms against threats by implementing robust endpoint security measures.

Address Resolution Protocol (APR):

ARP (Address Resolution Protocol) plays a vital role in establishing communication between devices within a network. It maps an IP address to a physical (MAC) address, allowing data transmission between devices. However, cyber attackers can exploit ARP to launch attacks, such as ARP spoofing, compromising network security. Understanding ARP and implementing countermeasures is crucial for adequate endpoint security.

The Role of Routing:

Routing is the process of forwarding network traffic between different networks. Secure routing protocols and practices are essential to prevent unauthorized access and ensure data integrity. By implementing secure routing mechanisms, organizations can establish trusted paths for data transmission, reducing the risk of data breaches and unauthorized network access.

Note: Netstat: Netstat, a command-line tool, provides valuable insights into network connections, active ports, and listening services. By utilizing Netstat, network administrators can identify suspicious connections, potential malware infections, or unauthorized access attempts. Regularly monitoring and analyzing Netstat outputs can aid in maintaining a secure network environment.

Zero Trust Connectivity: NCC

### What is Google’s Network Connectivity Center?

Google’s Network Connectivity Center is a centralized platform that simplifies the management of hybrid and multi-cloud networks. It provides organizations with a unified view of their network, enabling them to connect, secure, and manage their infrastructure with ease. By leveraging Google’s global network, NCC ensures high availability, low latency, and optimized performance.

#### Unified Network Management

NCC offers a single pane of glass for managing all network connections, whether they are on-premises, in the cloud, or across different cloud providers. This unified approach reduces complexity and streamlines operations, making it easier for IT teams to maintain a cohesive network architecture.

#### Advanced Security Measures

Security is a core component of NCC. It integrates seamlessly with Google’s security services, providing advanced threat protection, encryption, and compliance monitoring. This ensures that data remains secure as it traverses the network, adhering to the principles of Zero Trust.

#### Scalability and Flexibility

One of the standout features of NCC is its scalability. Organizations can easily scale their network infrastructure to accommodate growth and changing business needs. Whether expanding to new regions or integrating additional cloud services, NCC offers the flexibility to adapt without compromising performance or security.

Zero Trust Connectivity: Private Service Connect

### What is Private Service Connect?

Private Service Connect is a feature offered by Google Cloud that allows users to securely connect services across different VPC networks. It leverages private IPs to ensure that data does not traverse the public internet, reducing the risk of exposure to potential threats. This service is particularly useful for organizations looking to maintain a high level of security while ensuring seamless connectivity between their cloud-based services.

### The Role of Zero Trust in Private Service Connect

Zero trust is a security framework that operates on the principle of “never trust, always verify.” It assumes that threats can come from both inside and outside the network. Private Service Connect embodies this principle by ensuring that services are only accessible to authorized users and devices. By integrating zero trust into its framework, Private Service Connect provides an additional layer of security, ensuring that data and services remain protected.

private service connect

Network Policies: GKE 

**Understanding the Basics of Network Policy**

Network policies in GKE are akin to firewall rules that control the traffic flow between pods, effectively determining which pods can communicate with each other. These policies are essential for isolating applications, segmenting traffic, and protecting sensitive data. In essence, network policies provide a framework for defining how groups of pods can interact, allowing for fine-grained control over network communication.

—

**Implementing Zero Trust Network Design with GKE**

Zero trust network design is a security model that operates on the principle of “never trust, always verify.” In the context of GKE, this means that no pod should be able to communicate with another pod without explicit permission. Implementing zero trust in GKE involves carefully crafting network policies to ensure that only the necessary communication paths are open. This approach minimizes the risk of unauthorized access and lateral movement within the cluster, enhancing the overall security posture.

—

**Best Practices for Configuring Network Policies**

When configuring network policies in GKE, there are several best practices to consider. First, start by defining default deny policies to block all traffic by default, then incrementally add specific allow policies as required. It’s also important to regularly review and update these policies to reflect changes in the application architecture. Additionally, leveraging tools like Kubernetes Network Policy API can simplify the management and enforcement of these policies.

Kubernetes network policy

Zero Trust Google Cloud IAM

## Understanding the Basics

At its core, Google Cloud IAM allows you to define roles and permissions that determine what actions users can take with your resources. It’s a comprehensive tool that helps you manage access to Google Cloud services with precision. By assigning roles based on the principle of least privilege, you ensure that users have only the permissions they need to perform their jobs, minimizing potential security risks.

## Zero Trust Network Design

Incorporating a zero trust network design with Google Cloud IAM is an effective way to bolster security. Unlike traditional security models that rely heavily on perimeter defenses, zero trust assumes that threats could be both outside and inside the network. This approach requires strict identity verification for every person and device trying to access resources. By integrating zero trust principles, organizations can enhance their security posture and reduce the risk of unauthorized access.

## Advanced Features for Enhanced Security

Google Cloud IAM offers several advanced features that complement a zero trust strategy. These include conditional access based on attributes such as device security status and location, as well as support for multi-factor authentication. Additionally, IAM’s audit logs provide comprehensive visibility into who accessed what, when, and how, allowing for thorough monitoring and quick incident response.

Google Cloud IAM

Detecting Authentication Failures in Logs

Understanding Log Analysis

Log analysis is the process of examining log data to extract meaningful insights and identify potential security events. Logs act as a digital trail, capturing valuable information about system activities, user actions, and network traffic. By carefully analyzing logs, security teams can detect anomalies, track user behavior, and uncover potential threats lurking in the shadows.

Syslog is a standard protocol for message logging. It allows various devices and applications to send log messages to a central logging server. Syslog provides a standardized format, making aggregating and analyzing logs from different sources easier. Syslog messages contain essential details such as timestamps, log levels, and source IP addresses, which are crucial for detecting security events.

Auth.log, or the authentication log, is a specific log file that records authentication-related events on Unix-based systems. It includes valuable information about user logins, failed login attempts, and other authentication activities. Analyzing auth.log can help identify brute-force attacks, unauthorized access attempts, and potential security breaches targeting user accounts.

Understanding SELinux

SELinux is a security framework built into the Linux kernel that provides Mandatory Access Control (MAC) policies. Unlike traditional discretionary access control (DAC), which relies on user permissions, SELinux focuses on controlling access based on the security context of processes and resources. This means that even if an attacker gains unauthorized access to a system, SELinux can prevent them from compromising the entire system.

Implementing SELinux

To implement zero trust endpoint security with SELinux, organizations should start by defining security policies that align with their specific needs. These policies should enforce strict access controls, limit privileges, and define fine-grained permissions for processes and resources. By doing so, organizations can ensure that even if an endpoint is compromised, the attacker’s ability to move laterally within the network is significantly restricted.

Zero Trust Networking with Cloud Service Mesh

## What is a Cloud Service Mesh?

At its core, a Cloud Service Mesh is a configurable infrastructure layer for microservices application, which makes communication between service instances flexible, reliable, and observable. It decouples network and security policies from the application code, allowing developers to focus on their core functionality without worrying about the intricacies of service-to-service communication. Essentially, it acts as a dedicated layer for managing service-to-service communications, offering features like load balancing, service discovery, retries, and circuit breaking.

## The Benefits of Implementing a Cloud Service Mesh

Implementing a Cloud Service Mesh offers numerous benefits that streamline operations and enhance security:

1. **Enhanced Observability**: It provides deep insights into service behavior with monitoring and tracing capabilities, helping to quickly identify and resolve issues.

2. **Improved Security**: By enforcing security policies like mutual TLS and fine-grained access control, it ensures secure service-to-service communication.

3. **Resilience and Reliability**: Features like automatic retries, circuit breaking, and load balancing ensure that services remain resilient and available, even in the face of failures.

4. **Operational Simplicity**: By offloading the complexities of service management to the mesh, developers can focus on business logic, speeding up development cycles.

### Cloud Service Mesh and Zero Trust Networks

The concept of Zero Trust Networks (ZTN) revolves around the principle of “never trust, always verify.” In a ZTN, every request, whether it originates inside or outside the network, must be authenticated and authorized. Cloud Service Meshes align perfectly with ZTN principles by providing robust security features:

– **Mutual TLS**: Ensures that all communication between services is encrypted and authenticated.

– **Fine-Grained Policy Control**: Allows administrators to define and enforce policies at a granular level, ensuring that only authorized services can communicate.

Google has been at the forefront of integrating Cloud Service Mesh technology with Zero Trust principles. Their Istio service mesh, for example, offers robust security features that align with Zero Trust guidelines, making it a preferred choice for organizations looking to enhance their security posture.

### Google’s Contribution to Cloud Service Mesh

Google has played a significant role in advancing Cloud Service Mesh technology. Their open-source service mesh, Istio, has become a cornerstone in the industry. Istio simplifies service management by providing a uniform way to secure, connect, and monitor microservices. It integrates seamlessly with Kubernetes, making it an ideal choice for cloud-native applications. Google’s emphasis on security, observability, and operational efficiency in Istio reflects their commitment to fostering innovation in cloud technologies.

Example Product: Cisco Secure Workload

### What is Cisco Secure Workload?

Cisco Secure Workload is a comprehensive security solution that provides visibility, micro-segmentation, and workload protection for applications across multi-cloud environments. It leverages advanced analytics and machine learning to identify and mitigate threats, ensuring that your workloads remain secure, whether they are on-premises, in the cloud, or in hybrid environments.

#### 1. Enhanced Visibility

One of the standout features of Cisco Secure Workload is its ability to provide unparalleled visibility into your network. It offers real-time insights into application dependencies, communications, and behaviors, allowing you to detect anomalies and potential threats swiftly.

#### 2. Micro-Segmentation

Micro-segmentation is a critical component of modern security strategies. Cisco Secure Workload enables fine-grained segmentation of workloads, reducing the attack surface and preventing lateral movement of threats within your network. This granular approach to segmentation ensures that even if a threat breaches one segment, it cannot easily spread to others.

#### 3. Automated Policy Enforcement

Maintaining consistent security policies across diverse environments can be challenging. Cisco Secure Workload simplifies this process through automated policy enforcement. By defining security policies centrally, you can ensure they are uniformly applied across all workloads, reducing the risk of misconfigurations and human errors.

### How Cisco Secure Workload Works

#### 1. Data Collection

Cisco Secure Workload starts by collecting data from various sources within your network. This includes telemetry data from workloads, network traffic, and existing security tools. This data is then analyzed to create a comprehensive map of your application environment.

#### 2. Behavior Analysis

Using machine learning and advanced analytics, Cisco Secure Workload analyzes the collected data to identify normal and abnormal behaviors. This analysis helps in detecting potential threats and vulnerabilities that traditional security tools might miss.

#### 3. Threat Detection and Response

Once potential threats are identified, Cisco Secure Workload provides actionable insights and automated responses to mitigate these threats. This proactive approach ensures that your workloads remain protected even as new threats emerge.

### Real-World Applications

#### 1. Financial Services

Financial institutions handle sensitive data and are prime targets for cyberattacks. Cisco Secure Workload helps these organizations secure their workloads, ensuring compliance with regulatory requirements and protecting customer data from breaches.

#### 2. Healthcare

In the healthcare sector, patient data security is of utmost importance. Cisco Secure Workload provides healthcare organizations with the tools they need to protect electronic health records (EHRs) and ensure HIPAA compliance.

#### 3. Retail

Retailers face unique challenges with high transaction volumes and diverse IT environments. Cisco Secure Workload helps retailers secure their transactional data, protect customer information, and prevent fraud.

Example Product: Cisco Secure Network Analytics

Cisco Secure Network Analytics offers a plethora of features that make it stand out in the crowded cybersecurity market. Here are some of the core functionalities:

– **Comprehensive Network Visibility**: Cisco SNA provides a complete view of all network traffic, allowing you to see what’s happening across your entire infrastructure. This visibility is crucial for identifying potential threats and understanding normal network behavior.

– **Advanced Threat Detection**: Utilizing machine learning and behavioral analytics, Cisco SNA can detect anomalies that may indicate a security breach. This proactive approach helps in identifying threats before they can cause significant damage.

– **Automated Response and Mitigation**: When a threat is detected, Cisco SNA can automatically respond by triggering predefined actions, such as isolating affected devices or blocking malicious traffic. This automation ensures a swift and efficient response to security incidents.

### Benefits of Implementing Cisco Secure Network Analytics

Implementing Cisco Secure Network Analytics offers numerous benefits to organizations of all sizes. Some of the key advantages include:

– **Reduced Mean Time to Detect (MTTD) and Respond (MTTR)**: With its advanced detection and automated response capabilities, Cisco SNA significantly reduces the time it takes to identify and mitigate threats. This rapid response is crucial for minimizing the impact of security incidents.

– **Enhanced Network Performance**: By providing detailed insights into network traffic, Cisco SNA helps organizations optimize their network performance. This optimization leads to improved efficiency and reduced downtime.

– **Regulatory Compliance**: Many industries are subject to strict regulatory requirements regarding data protection and network security. Cisco SNA helps organizations meet these compliance standards by providing detailed audit trails and reporting capabilities.

### Real-World Applications of Cisco Secure Network Analytics

Cisco Secure Network Analytics is versatile and can be applied across various industries and use cases. Here are a few examples:

– **Financial Services**: Banks and financial institutions can use Cisco SNA to protect sensitive customer information and prevent fraud. The tool’s advanced threat detection capabilities are particularly valuable in identifying and stopping sophisticated cyber-attacks.

– **Healthcare**: In the healthcare sector, protecting patient data is paramount. Cisco SNA helps healthcare providers secure their networks against breaches and ensure compliance with regulations such as HIPAA.

– **Education**: Educational institutions can benefit from Cisco SNA by safeguarding student and faculty data. The tool also helps in maintaining the integrity of online learning platforms and preventing disruptions.

 

Interactive Security Lab / Series 03

Microsegmentation & Lateral Movement Explorer

What happens after an attacker gains access to one workload? Change the segmentation policy, source zone, destination sensitivity and monitoring controls to see whether lateral movement is blocked, restricted or exposed.

01 / IDENTIFY Source workload
02 / SEGMENT Security boundary
03 / INSPECT Traffic and risk
04 / CONTAIN Enforcement action

Lateral Movement Simulator

Model an east-west connection attempt between workloads and inspect how segmentation policy changes the resulting security boundary.

Expected traffic High-risk behaviour

Segmentation Decision

The simulated enforcement engine explains whether the connection can cross the security boundary and what happens next.

CURRENT DECISION BLOCKED
Segmentation strength 92
Observed movement risk 20
SOURCE User workstation
→
POLICY Security boundary
→
DESTINATION Application server

Investigation signals

Enforcement response

Zero Trust Network Design

**Issue 1 – We Connect First and Then Authenticate**

  • Connect first, authenticate second.

TCP/IP is a fundamentally open network protocol facilitating easy connectivity and reliable communications between distributed computing nodes. It has served us well in enabling our hyper-connected world but—for various reasons—doesn’t include security as part of its core capabilities.

  • TCP has a weak security foundation

Transmission Control Protocol (TCP) has been around for decades and has a weak security foundation. When it was created, security was out of scope. TCP can detect and retransmit error packets but leave them to their default; communication packets are not encrypted, which poses security risks.

In addition, TCP operates with a Connect First, Authenticate, Second operation model, which is inherently insecure. It leaves the two connecting parties wide open for an attack. When clients want to communicate and access an application, they first set up a connection.

The authentication stage occurs only once the connect stage has been completed. Once the authentication stage has been completed, we can pass the data. 

zero trust network design
Diagram: Zero Trust security. The TCP model of connectivity.

From a security perspective, the most important thing to understand is that this connection occurs purely at a network layer with no identity, authentication, or authorization. The beauty of this model is that it enables anyone with a browser to easily connect to any public web server without requiring any upfront registration or permission. This is a perfect approach for a public web server but a lousy approach for a private application.

Zero Trust Connectivity: Service Networking APIs

**Understanding Zero Trust: A Paradigm Shift in Security**

In the context of service networking APIs, zero trust ensures that only authorized users and devices can interact with the APIs, reducing the risk of unauthorized access and data breaches. Implementing zero trust can significantly enhance the security posture of an organization, safeguarding sensitive data and maintaining user trust.

**Integrating Google Cloud and Zero Trust for Enhanced API Security**

Combining Google Cloud’s robust platform with zero trust principles creates a powerful synergy for securing service networking APIs. Google Cloud’s identity and access management tools, such as Cloud Identity and Access Management (IAM), work seamlessly within a zero trust framework to enforce strict authentication and authorization policies. By leveraging these tools, organizations can create a secure environment where APIs are protected from potential threats, and data is kept confidential and integral.

Service Networking API

**The potential for malicious activity**

With this process of Connect First and Authenticate Second, we are essentially opening up the door of the network and the application without knowing who is on the other side. Unfortunately, with this model, we have no idea who the client is until they have carried out the connect phase, and once they have connected, they are already in the network. Maybe the requesting client is not trustworthy and has bad intentions. If so, once they connect, they can carry out malicious activity and potentially perform data exfiltration. 

What is Network Monitoring?

Network monitoring is observing and analyzing network components and traffic to identify anomalies or performance issues. It uses specialized software and tools that provide real-time insights into network health, bandwidth utilization, device status, etc. By actively monitoring the network infrastructure, businesses can proactively detect and resolve issues before they escalate.

Network monitoring plays a pivotal role in safeguarding sensitive data from external threats. By monitoring network traffic for any suspicious activities or unauthorized access attempts, IT teams can quickly detect and respond to potential security breaches. Additionally, monitoring network devices for vulnerabilities and applying necessary patches and updates ensures a robust defense against cyber threats.

**Understanding Network Scanning**

Network scanning, at its core, involves systematically examining a network to identify its assets, configurations, and potential vulnerabilities. By employing various scanning techniques, security professionals can understand the network’s structure and potential risks.

Different methodologies for conducting network scanning exist, each catering to specific objectives. Passive scanning, for instance, focuses on observing network traffic without actively engaging with devices. On the other hand, active scanning involves sending requests to network devices to gather information about their configurations and potential vulnerabilities.

Numerous powerful tools are available to aid in network scanning endeavors. From widely used tools like Nmap and Wireshark to more specialized ones like Nessus and OpenVAS, the selection of tools depends on the desired scanning approach and the level of detail required. These tools provide many features, including port scanning, vulnerability assessment, and network mapping capabilities.

Additional Information on Network Mapping

Example: Identifying and Mapping Networks

To troubleshoot the network effectively, you can use a range of tools. Some are built into the operating system, while others must be downloaded and run. Depending on your experience, you may choose a top-down or a bottom-up approach.

**Developing a Zero Trust Architecture**

A zero-trust architecture requires endpoints to authenticate and be authorized before obtaining network access to protected servers. Then, real-time encrypted connections are created between requesting systems and application infrastructure. With a zero-trust architecture, we must establish trust between the client and the application before the client can set up the connection. Zero Trust is all about trust – never trust, always verify.

Trust is bidirectional between the client and the Zero Trust architecture (which can take forms ) and the application to the Zero Trust architecture. It’s not a one-time check; it’s a continuous mode of operation. Once sufficient trust has been established, we move into the next stage, authentication. Once authentication has been set, we can connect the user to the application. Zero Trust access events flip the entire security model and make it more robust. 

  • We have gone from connecting first and authenticating second to authenticating first and connecting second.
zero trust model
Diagram: The Zero Trust model of connectivity.

Example of a zero-trust network access

A. Single Pack Authorization ( SPA)

The user cannot see or know where the applications are located. SDP hides the application and creates a “dark” network by using Single Packet Authorization (SPA) for the authorization.

SPAs, also known as Single Packet Authentication, aim to overcome the open and insecure nature of TCP/IP, which follows a “connect then authenticate” model. SPA is a lightweight security protocol that validates a device or user’s identity before permitting network access to the SDP. The purpose of SPA is to allow a service to be darkened via a default-deny firewall.

The systems use a One-Time-Password (OTP) generated by algorithm 14 and embed the current password in the initial network packet sent from the client to the Server. The SDP specification mentions using the SPA packet after establishing a TCP connection. In contrast, the open-source implementation from the creators of SPA15 uses a UDP packet before the TCP connection.

B. Understanding Port Knocking

At its core, port knocking is an access control method that conceals open ports on a server. Instead of leaving ports visibly open and vulnerable to attackers, port knocking requires a sequence of connection attempts to predefined closed ports. Once the correct sequence is detected, the server dynamically opens the desired port and allows access. This covert approach adds an extra layer of protection, making it an intriguing choice for those seeking to fortify their network security.

Implementing port knocking within a zero-trust framework can significantly enhance your network security. By obscuring open ports and allowing access only to authorized users who possess the correct port-knocking sequence, potential attackers face an additional barrier to overcome. This technique effectively reduces the attack surface and minimizes the risk of unauthorized access, making it an invaluable tool for security-conscious individuals and organizations.

**Issue 2 – Fixed perimeter approach to networking and security**

Traditionally, security boundaries were placed at the edge of the enterprise network in a classic “castle wall and moat” approach. However, as technology evolved, remote workers and workloads became more common. As a result, security boundaries necessarily followed and expanded from just the corporate perimeter.

**The traditional world of static domains**

The traditional world of networking started with static domains. Networks were initially designed to create internal segments separated from the external world by a fixed perimeter. The classical network model divided clients and users into trusted and untrusted groups. The internal network was deemed trustworthy, whereas the external was considered hostile.

The perimeter approach to network and security has several zones. We have, for example, the Internet, DMZ, Trusted, and then Privileged. In addition, we have public and private address spaces that separate network access from here. Private addresses were deemed more secure than public ones as they were unreachable online. However, this trust assumption that all private addresses are safe is where our problems started. 

**The fixed perimeter** 

The digital threat landscape is concerning. We are getting hit by external threats to your applications and networks from all over the world. They also come internally within your network, and we have insider threats within a user group and internally as insider threats across user group boundaries. These types of threats need to be addressed one by one.

One issue with the fixed perimeter approach is that it assumes trusted internal and hostile external networks. However, we must assume that the internal network is as hostile as the external one.

Over 80% of threats are from internal malware or malicious employees. The fixed perimeter approach to networking and security is still the foundation for most network and security professionals, even though a lot has changed since the design’s inception. 

Zero Trust & VPC Service Controls

### Role of VPC Service Controls in Zero Trust Network Design

Zero Trust Network Design is rapidly gaining traction as an essential cybersecurity framework. Unlike traditional security models that assume trust within the network, Zero Trust operates on the principle of ‘never trust, always verify.’ This paradigm shift emphasizes the need for more granular controls and continuous verification of user and device identities. VPC Service Controls align perfectly with this approach by restricting access to critical resources and ensuring that only authenticated and authorized entities can interact with the data. This integration fortifies the network’s defenses, minimizes potential attack vectors, and ensures data integrity.

### Implementing VPC Service Controls in Google Cloud

Implementing VPC Service Controls within Google Cloud is a strategic move for organizations aiming to enhance their security posture. The process involves setting up security perimeters around sensitive resources, such as Cloud Storage buckets, BigQuery datasets, and Cloud Bigtable instances. By defining these perimeters, organizations can enforce policies that restrict access based on specific criteria, such as IP addresses, service accounts, or even user-defined attributes. This granular control not only prevents unauthorized access but also ensures compliance with industry regulations and standards.

VPC Security Controls

We get hacked daily!

We are now at a stage where 45% of US companies have experienced a data breach. The 2022 Thales Data Threat Report found that almost half (45%) of US companies suffered a data breach in the past year. However, this could be higher due to the potential for undetected breaches.

We are getting hacked daily, and major networks with skilled staff are crashing. Unfortunately, the perimeter approach to networking has failed to provide adequate security in today’s digital world. It works to an extent by delaying an attack. However, a bad actor will eventually penetrate your guarded walls with enough patience and skill.

If a large gate and walls guard your house, you would feel safe and fully protected inside. However, the perimeter protecting your home may be as large and thick as possible. There is still a chance that someone can climb the walls, access your front door, and enter your property. If a bad actor cannot even see your house, they cannot take the next step and try to breach your security.

Example: Security Scan Lynis

Lynis is an open-source security auditing tool designed to assess the security of Linux and Unix-based systems. Developed by CISOfy, Lynis performs comprehensive security scans by analyzing system configurations, checking for vulnerabilities, and recommending steps to improve overall security posture.

**Issue 3 – Dissolved perimeter caused by the changing environment**

The environment has changed with the introduction of the cloud, advanced BYOD, machine-to-machine connections, the rise in remote access, and phishing attacks. We have many internal devices and a variety of users, such as on-site contractors, that need to access network resources.

Corporate devices are also trending to move to the cloud, collocated facilities, and off-site to customer and partner locations. In addition, they are becoming more diversified with hybrid architectures.

These changes are causing major security problems with the fixed perimeter approach to networking and security. For example, with the cloud, the internal perimeter is stretched to the cloud, but traditional security mechanisms are still being used. But it is an entirely new paradigm. Also, some abundant remote workers work from various devices and places.

Again, traditional security mechanisms are still being used. As our environment evolves, security tools and architectures must evolve. Let’s face it: the network perimeter has dissolved as your remote users, things, services, applications, and data are everywhere. In addition, as the world moves to the cloud, mobile, and IoT, the ability to control and secure everything in the network is no longer available.

Phishing attacks are on the rise.

We have witnessed increased phishing attacks that can result in a bad actor landing on your local area network (LAN). Phishing is a type of social engineering where an attacker sends a fraudulent message designed to trick a person into revealing sensitive information to the attacker or to deploy malicious software on the victim’s infrastructure, like ransomware. The term “phishing” was first used in 1994 when a group of teens worked to obtain credit card numbers from unsuspecting users on AOL manually.

Phishing attacks
Diagram: Phishing attacks. Source is helpnetsecurity

Hackers are inventing new ways.

By 1995, they had created a program called AOHell to automate their work. Since then, hackers have continued to invent new ways to gather details from anyone connected to the internet. These actors have created several programs and types of malicious software that are still used today.

Recently, I was a victim of a phishing email. Clicking and downloading the file is very easy if you are not educated about phishing attacks. In my case, the particular file was a .wav file. It looked safe, but it was not.

**Issue 4 – Broad-level access**

So, you may have heard of broad-level access and lateral movements. Remember, with traditional network and security mechanisms, when a bad actor lands on a particular segment, i.e., a VLAN, known as zone-based networking, they can see everything on that segment. So, this gives them broad-level access. But, generally speaking, when you are on a VLAN, you can see everything in that VLAN and VLAN-to-VLAN communication is not the hardest thing to do, resulting in lateral movements.

The issue of lateral movements

Lateral movement is the technique attackers use to progress through the organizational network after gaining initial access. Adversaries use lateral movement to identify target assets and sensitive data for their attack. Lateral movement is the tenth step in the MITRE Att&ck framework. It is the set of techniques attackers use to move in the network while gaining access to credentials without being detected.

No intra-VLAN filtering

This is made possible as, traditionally, a security device does not filter this low down on the network, i.e., inside of the VLAN, known as intra-VLAN filtering. A phishing email can easily lead the bad actor to the LAN with broad-level access and the capability to move laterally throughout the network. 

For example, a bad actor can initially access an unpatched central file-sharing server; they move laterally between segments to the web developers’ machines and use a keylogger to get the credentials to access critical information on the all-important database servers.

They can then carry out data exfiltration with DNS or even a social media account like Twitter. However, firewalls generally do not check DNS as a file transfer mechanism, so data exfiltration using DNS will often go unnoticed. 

With a zero-trust network segmentation approach, networks are segmented into smaller islands with specific workloads. In addition, each segment has its own ingress and egress controls to minimize the “blast radius” of unauthorized access to data.

Example: Segmentation with Network Endpoint Groups (NEGs)

network endpoint groups

**Issue 5 – The challenges with traditional firewalls**

The limited world of 5-tuple

Traditional firewalls typically control access to network resources based on source IP addresses. This creates the fundamental challenge of securing admission. Namely, we need to solve the user access problem, but we only have the tools to control access based on IP addresses.

As a result, you have to group users, some of whom may work in different departments and roles, to access the same service and with the same IP addresses. The firewall rules are also static and don’t change dynamically based on levels of trust on a given device. They provide only network information.

Maybe the user moves to a more risky location, such as an Internet cafe, its local Firewall, or antivirus software that has been turned off by malware or even by accident. Unfortunately, a traditional firewall cannot detect this and live in the little world of the 5-tuple.  Traditional firewalls can only express static rule sets and not communicate or enforce rules based on identity information.

TCP 5 Tuple
Diagram: TCP 5 Tuple. Source is packet-foo.

**Issue 6 – A Cloud-focused environment**

Upon examining the cloud, let’s compare a public parking space. A public cloud is where you can put your car compared to your vehicle in your parking garage. We have multiple tenants who can take your area in a public parking space, but we don’t know what they can do to your car.

Today, we are very cloud-focused, but when moving applications to the cloud, we need to be very security-focused. However, the cloud environment is less mature in providing the traditional security control we use in our legacy environment. 

So, when putting applications in the cloud, you shouldn’t leave security to its default. Why? Firstly, we operate in a shared model where the tenant after you can steal your encryption keys or data. There have been many cloud breaches. We have firewalls with static rulesets, authentication, and key management issues in cloud protection.

**Control point change**

One of the biggest problems is that the perimeter has moved when you move to a cloud-based application. Servers are no longer under your control. Mobile and tablets exacerbate the problem as they can be located everywhere. So, trying to control the perimeter is very difficult. More importantly, firewalls only have access to and control network information and should have more content.

This perimeter is defined by ZTNA architecture and software-defined perimeter. Cloud users now manage firewalls by moving their applications to the cloud, not the I.T. teams within the cloud providers.

So when moving applications to the cloud, even though cloud providers provide security tools, the cloud consumer has to integrate security to have more visibility than they have today.

Before, we had clear network demarcation points set by a central physical firewall creating inside and outside trust zones. Anything outside was considered hostile, and anything on the inside was deemed trusted.

1. Connection-centric model

The Zero Trust model flips this around and considers everything untrusted. To do this, there are no longer pre-defined fixed network demarcation points. Instead, the network perimeter initially set in stone is now fluid and software-based.

Zero Trust is connection-centric, not network-centric. Each user on a specific device connected to the network gets an individualized connection to a particular service hidden by the perimeter.

Instead of having one perimeter every user uses, SDP creates many small perimeters purposely built for users and applications. These are known as micro perimeters. Clients are cryptographically signed into these microperimeters.

2. Micro perimeters: Zero trust network segmentation

The micro perimeter is based on user and device context and can dynamically adjust to environmental changes. So, as a user moves to different locations or devices, the Zero Trust architecture can detect this and set the appropriate security controls based on the new context.

The data center is no longer the center of the universe. Instead, the user on specific devices, along with their service requests, is the new center of the universe.

Zero Trust does this by decoupling the user and device from the network. The data plane is separated from the network to remove the user from the control plane, where the authentication happens first.

Then, the data plane, the client-to-application connection, transfers the data. Therefore, the users don’t need to be on the network to gain application access. As a result, they have the least privilege and no broad-level access.

3. Zero trust network segmentation

Zero-trust network segmentation is gaining traction in cybersecurity because it increases an organization’s network protection. This method of securing networks is based on the concept of “never trust, always verify,” meaning that all traffic must be authenticated and authorized before it can access the network.

This is accomplished by segmenting the network into multiple isolated zones accessible only through specific access points, which are carefully monitored and controlled.

Network segmentation is a critical component of a zero-trust network design. By dividing the network into smaller, isolated units, it is easier to monitor and control access to the network. Additionally, segmentation makes it harder for attackers to move laterally across the network, reducing the chance of a successful attack.

Zero-trust network design segmentation is essential to any organization’s cybersecurity strategy. By utilizing segmentation, authentication, and monitoring systems, organizations can ensure their networks are secure and their data is protected.

4. The I.P. address conundrum

Everything today relies on IP addresses for trust, but there is a problem: IP addresses lack user knowledge to assign and validate the device’s trust. There is no way for an IP address to do this. IP addresses provide connectivity but do not involve validating the trust of the endpoint or the user.

Also, I.P. addresses should not be used as an anchor for network locations as they are today because when a user moves from one place to another, the I.P. address changes. 

Can’t have security related to an I.P. address.

But what about the security policy assigned to the old IP addresses? What happens with your changed IPs? Anything tied to IP is ridiculous, as we don’t have a good hook to hang things on for security policy enforcement. There are several facets to policy. For example, the user access policy touches on authorization, the network access policy touches on what to connect to, and the user account policies touch on authentication.

With either one, there is no policy visibility with I.P. addresses. This is also a significant problem for traditional firewalling, which displays static configurations; for example, a stationary design may state that this particular source can reach this destination using this port number. 

**Security-related issues to I.P.**

  1. This has no meaning. There is no indication of why that rule exists or under what conditions a packet should be allowed to travel from one source to another.
  2. No contextual information is taken into consideration. When creating a robust security posture, we must consider more than ports and IP addresses.

For a robust security posture, you need complete visibility into the network to see who, what, when, and how they connect with the device. Unfortunately, today’s Firewall is static and only contains information about the network.

On the other hand, Zero Trust enables a dynamic firewall with the user and device context to open a firewall for a single secure connection. The Firewall remains closed at all other times, creating a ‘black cloud’ stance regardless of whether the connections are made to the cloud or on-premise. 

The rise of the next-generation firewall?

Next-generation firewalls are more advanced than traditional firewalls. They use the information in layers 5 through 7 (session, presentation, and application layers) to perform additional functions. They can provide advanced features such as intrusion detection, prevention, and virtual private networks.

Today, most enterprise firewalls are “next generation” and typically include IDS/IPS, traffic analysis and malware detection for threat detection, URL filtering, and some degree of application awareness/control.

Like the NAC market segment, vendors in this area began a journey to identity-centric security around the same time Zero Trust ideas began percolating through the industry. Today, many NGFW vendors offer Zero Trust capabilities, but many operate with the perimeter security model.

Still, IP-based security systems

NGFWs are still IP-based systems offering limited identity and application-centric capabilities. In addition, they are static firewalls. Most do not employ zero-trust segmentation, and they often mandate traditional perimeter-centric network architectures with site-to-site connections and don’t offer flexible network segmentation capabilities. Similar to conventional firewalls, their access policy models are typically coarse-grained, providing users with broader network access than what is strictly necessary.

Example: Tags and Controls with firewalling

Firewall tags

Interactive Security Lab / Series 03

Continuous Verification & Adaptive Access Lab

Trust is not permanent. Change the conditions of an active session and observe how continuous verification can trigger step-up authentication, restricted access or session revocation.

01 / ESTABLISH Initial trust
02 / MONITOR New telemetry
03 / REASSESS Dynamic risk
04 / ADAPT Enforcement

Active Session Simulator

Start with an established session, then introduce changes to identity, device posture, location and behaviour. The policy engine continuously reassesses whether the existing access level remains appropriate.

Normal behaviour Highly anomalous

Adaptive Policy Decision

The simulated policy compares the current session against its original trust assumptions and determines whether access should continue.

CURRENT SESSION STATE MAINTAIN
Current trust score 92
Current risk score 15
IDENTITY Verified
→
SESSION Active
→
RESOURCE Standard application

Continuous verification signals

Adaptive enforcement response

Ansible Variables

Ansible Variables | Ansible Automation

Ansible variables are one of the foundations of effective automation. They allow playbooks to separate automation logic from configuration data, making the same workflow reusable across different hosts, environments, applications, and deployment stages.

Instead of hard-coding values directly into tasks, variables can represent everything from IP addresses, ports, package versions, and service names to environment-specific configuration and credentials. This makes automation easier to maintain and allows a single playbook to adapt dynamically to the systems it manages.

Variables can be defined and consumed at several levels within Ansible, including inventory, playbooks, roles, host and group variables, and external variable files. Understanding variable scope and precedence is therefore essential. When the same variable is defined in multiple locations, Ansible follows a defined precedence model to determine which value ultimately takes effect.

Variables also become particularly powerful when combined with Jinja2 templating. Values can be inserted into configuration files, task parameters, conditions, loops, and templates, allowing playbooks to generate system configurations dynamically rather than relying on static files.

Not all variable values have to be defined in advance. Ansible can work with discovered system facts, registered task results, and dynamically evaluated expressions, allowing later tasks to react to information gathered during execution. This creates automation workflows that can make decisions based on the current state of the target infrastructure.

In larger environments, controlling sensitive variables becomes equally important. Ansible Vault provides encryption for secrets such as passwords, API keys, certificates, and other confidential configuration data, allowing sensitive values to remain protected while still being integrated into automated workflows.

The real value of Ansible variables is therefore not simply storing values. They provide the mechanism that connects inventory data, automation logic, system state, templates, and secure configuration into a reusable workflow. Understanding how variables are defined, resolved, overridden, templated, and protected is essential for building reliable Ansible automation at scale.

Ansible Variable

Interactive Ansible Lab / Variables 01

Ansible Variable Scope & Precedence

Variables separate automation logic from environment-specific data. Select a variable source and see how the simulated playbook resolves the final value when multiple definitions exist.

01 / DEFINE Variable
02 / STORE Variable source
03 / SCOPE Host / Play
04 / OVERRIDE Runtime
05 / RESOLVE Final value

Variable Resolver

Choose a variable and change the active source. The simulator highlights the value that wins in the current scenario.

ansible_host HOST VAR
10.10.10.11
Defined by: host_vars/router1.yml

Why this matters

A reusable playbook should avoid hard-coding values that change between systems or environments. Variables allow the same automation logic to operate against different hosts and groups.

Resolution Result

The simulated resolver compares several definitions of the same variable and identifies the value currently being used.

CURRENTLY RESOLVED VALUE
ansible_host 10.10.10.11

The host-specific variable is currently supplying the value used by the simulated playbook.

Variable layers

Inventory / host_vars 10.10.10.11
Group variables 10.10.10.10
Playbook vars 10.10.10.20
Extra vars (-e) 10.10.10.99

Engineering takeaway

Variables can be defined in multiple places. When values overlap, understanding precedence is essential for predictable automation.

Highlights: Ansible Variable

Managing & Configuring Systems

In the world of automation, Ansible has emerged as a popular choice for managing and configuring systems. One of the key features that sets Ansible apart is its ability to work with variables. Variables in Ansible enable users to define and store values that can be used throughout the playbook, making it a powerful tool for automation.

Variables in Ansible can be defined in various ways. They can be set globally, at the playbook level, or even at the task level. This flexibility allows users to customize their automation process based on their needs.

Variables: Values Specific to Different Environments

One everyday use case for variables is storing configuration values specific to different environments. For example, you have a playbook that deploys a web application. Using variables, you can define the database connection string, the server IP address, and other environment-specific values separately for development, staging, and production environments. This makes reusing the same playbook easy across different environments without modifying the code.

Variables: Dynamically Created

Another powerful feature of variables in Ansible is their ability to be dynamically generated. You can use calculated or fetched variables instead of hardcoding values at runtime. For example, the “lookup” plugin can read values from external sources like files or databases and assign them to variables. This makes your automation process more dynamic and adaptable.

Ansible Automation with Ansible Variables — Dynamic, Scalable, and Reusable Playbooks

Ansible variables are the backbone of flexible automation. They allow you to write one playbook that adapts to many environments, many hosts, and many configurations without rewriting tasks. Variables make automation dynamic, reusable, and scalable — essential for modern network engineering, DevOps, and infrastructure‑as‑code workflows.

Why Variables Matter — The Core of Dynamic Automation

Without variables, Ansible playbooks become static and repetitive. Variables allow you to:

  • customize configurations per host or group
  • store reusable values (IP addresses, VLANs, usernames, paths)
  • separate data from logic
  • build templates that adapt automatically
  • avoid hard‑coding values
  • support multi‑environment deployments (dev, test, prod)

Variables turn Ansible into a true automation engine rather than a simple scripting tool.

Where Variables Live — Multiple Scopes for Maximum Flexibility

Ansible supports variables at different levels, each with a specific purpose:

  • Inventory variables — host_vars and group_vars
  • Playbook variables — defined inside the play
  • Role variables — defaults and vars inside roles
  • Extra vars — passed at runtime for overrides
  • Facts — gathered automatically from hosts
  • Registered variables — created dynamically during tasks

This multi‑layer design allows you to build complex automation pipelines with clean separation of data and logic.

Host and Group Variables — Per‑Device Customization

Network automation relies heavily on host‑specific and group‑specific variables.

Examples:

host_vars/router1.yml
host_vars/router2.yml
group_vars/branch.yml
group_vars/datacenter.yml

These files store values such as:

  • interface names
  • IP addresses
  • BGP ASNs
  • VLAN lists
  • device credentials
  • site‑specific parameters

Playbooks remain generic while variables define the unique configuration for each device.

Registered Variables — Capturing Output for Logic Decisions

Registered variables store the output of a task so you can use it later in the playbook.

Example:

– name: Check interface status
ios_command:
commands: show ip interface brief
register: iface_status

You can then use iface_status.stdout to make decisions, validate state, or trigger conditional tasks.

Conditionals and Loops — Variables Drive Automation Logic

Variables allow Ansible to make decisions dynamically:

Conditionals -when: bgp_enabled == true

Loops -loop: “{{ vlans }}”

This makes automation adaptive — tasks run only when needed, and configurations scale automatically.

Templates — Jinja2 + Variables = Powerful Config Generation

Templates are where variables truly shine.

A Jinja2 template can generate full device configurations based on variables:router bgp {{ bgp_as }}
neighbor {{ peer_ip }} remote-as {{ peer_as }}

This allows you to build:

  • router configs
  • firewall policies
  • SD‑WAN templates
  • cloud infrastructure definitions
  • microservices configs

All driven by variables stored in host/group files.

Runtime Overrides — Extra Vars for CI/CD Pipelines

CI/CD systems often pass variables at runtime:

ansible-playbook deploy.yml -e “version=2.1.4”

This allows pipelines to:

  • deploy new versions
  • switch environments
  • trigger conditional logic
  • override defaults

Extra vars have the highest precedence, making them ideal for automation workflows.

Outcome — Clean, Scalable, Professional Automation

Using Ansible variables correctly results in:

  • reusable playbooks
  • clean separation of logic and data
  • scalable multi‑environment automation
  • dynamic configuration generation
  • reduced duplication
  • predictable, maintainable code

Variables are the foundation of professional‑grade automation — especially in networking, cloud, and DevOps.

**The Process of Decoupling**

For your automation journey, you want to be as flexible as possible. For this reason, within the Ansible architecture, we have a process known as decoupling. Here, we are separating site-specific code from static code. Anything specific to a server or managed device, such as an IP address, can be replaced with Ansible variables. As a best practice, always aim to have flexible playbooks, and if you want to share with someone else, all you need to change is the variables.

A) Variable Locations

As you know, variables are defined in several places. Each place you define the variables, such as the inventory with the ansible inventory variable or play header, will have an order of precedence. The most common place is for the Ansible set variables task. When you have Ansible set variables in the task, Ansible also allows setting variables directly in a task using the set_fact module. We will look at Ansible set variables in a task in a moment.

So, for an Ansible architecture with more extensive playbooks, remember the best place to hold your variables and not keep your playbooks site-specific. With Ansible, you can execute tasks and playbooks on multiple systems with a single command.

B) Ansible Tower

With Ansible Tower, you can have very complex automation requirements with the push of a button. Every site will have variations, and Ansible uses variables to manage system differences. To represent the variations among those systems, you can create variables with standard YAML syntax, including lists and dictionaries. 

 

Interactive Ansible Lab / Variables 02

Ansible Variables → Dynamic Configuration

Variables become especially powerful when combined with Jinja2 templates. Change the variable values below and watch the same template generate a different network configuration.

01 / VARIABLES Define data
02 / JINJA2 Apply template
03 / OUTPUT Generate config

Variable Inputs

Change the values used by the template. The generated configuration updates immediately.

# Jinja2 template
hostname {{ hostname }}
router bgp {{ bgp_as }}
  neighbor {{ peer_ip }} remote-as {{ peer_as }}

Generated Configuration

The template stays the same. Only the variable data changes.

VARIABLE → TEMPLATE → CONFIGURATION
hostname R1
→
{{ hostname }} Template placeholder
bgp_as 65001
→
{{ bgp_as }} BGP process value
peer_ip 10.0.0.2
→
{{ peer_ip }} Neighbor address
peer_as 65002
→
{{ peer_as }} Remote ASN
Template rendered successfully from the current variables.

Ansible Variable

Defining Ansible Variables 

Ansible is open-source automation and orchestration software that can automate most of your operations with IT infrastructure components, including servers, storage, networks, and application platforms. It is one of the most popular automation tools in the IT world and has strong community support, with more than 5,000 contributors worldwide. With Ansible, we use variables. 

Ansible uses variables to manage differences between systems. With Ansible, you can execute tasks and playbooks on multiple systems with a single command. To represent the variations among those systems, you can create variables with standard YAML syntax, including lists and dictionaries.

Ansible set variables in the task

Ansible is not a full-fledged programming language. However, it does have several programming language components. One of the most significant of these is variable substitution. The most straightforward way to define variables is to put a vars section in your playbook with the names and values of variables.

Here, we can have Ansible set variables in the task. The following will list the various ways you can set variables in Ansible. Keep in mind that we have an order of preference when doing so.

You can define your variables in several places: your playbooks, inventory, reusable files or roles, or at the command line. During a playbook run, you can create variables by registering a task’s return value or value as a new variable.

When defining variables in multiple places, they have variable precedence. After creating variables, you can use them in module arguments, such as conditional “when” clauses, templates, and loops. All of these are potent constructs to have in your automation toolbox.

Define variables: Vars: Section

If you are starting your automation journey, the simplest way to define variables is to put a vars section in your playbook with the names and values of variables. This allows you to define several configuration-related variables. So, to define variables in plays, include a vars: section in the header of the play where the variables are needed.

Variables defined in plays are only valid within that specific play and don’t have playbook scope. So, if you need a variable in a different play, you must define it again. This may be inconvenient and difficult to manage across extensive playbooks with multiple teams working on playbook development.

Define variables: Set_fact Module.

We also have the set_fact module. This module is used anywhere in a play to set variables. Any variable set this way applies as a fact to the host in which it is set. The set_fact relates the variable to the host used in the play.

Here, you can dynamically set variables based on the result of any task in the playbook. So, set_fact dynamically defines variables. Keep in mind that setting variables this way will have a playbook scope.

Define variables: Vars_files

You can also put variables into one or more files using the section called vars_files. This lets you put variables in a file instead of directly in the playbook. What I like most about setting variables this way is that it allows you to separate variables that contain sensitive information. When you define variables in reusable variable files, the sensitive variables are separated from playbooks.

This separation enables you to store your playbooks in, for example, source control software and even share them without the risk of exposing passwords or other sensitive personal data. So, when you put variables in files, they are referenced in the playbook using vars_files.

Use var_files to specify a list of files that include variables you want to include. This is convenient when you want to manage the variables independently of the place using them and is helpful for security purposes.

Define variables: Vars_Promt

So, here, we can use vars_promt in the play header to prompt users for a variable value. This has a playbook scope. By default, the variable is flagged as private, so the user does not see anything while entering it. We can if we have set private to no here. 

Define variables: Defining variables at runtime  

When you run your playbook, you can define variables by passing them at the command line using the—- extra-vars (or—e) argument. 

Define variables: Task Variables

Task variables are made from data discovered while executing tasks or in the fact-gathering phase of a play. These variables are host-specific and are added to the host’s host vars. Variables of this type can be discovered via gather_facts and fact modules, populated from task return data via the register task key, or defined directly by a task using the set_fact or add_host modules. 

**Facts / Variables**

Ansible Fact: System Variables

Ansible facts are a type of variable. You don’t define Ansible facts; they are discovered. Facts are system variables that contain information about the managed system. Each playbook starts with an implicit task to gather facts. This can also be disabled in the playhead. Gathering facts takes time, so if you are not going to use it, we can disable it.

We can also gather facts manually by using the setup modules. All of the facts are stored in one big variable called ansible_facts. However, within the variable, we have the second-tier variables. All of the facts are categorized into different variables. These facts are variables, and you can use the facts in conditionals and when statements. 

Speeding up Fact Gathering

Fact collection can be slow as you may work against many hosts you can use and set up a fact cache. If fact-caching is enabled, Ansible will store facts in a cache for the first time; it connects to the host. This is added to your Ansible.cfg with the “fact_caching_timeout” value. So if your playbook does not reference any ansible facts, you can turn off fact-gathering for that play. Here we use the “gather_facts” clause in the play and the Ansible.cfg.

**Ansible Inventory Variable**

Ansible Variables are a key component of Automation. They allow for dynamic play content and reusable plays across different sets of inventory. Variable data, such as specific details on how to connect to a particular host in your inventory, can be included along with an inventory in various ways.

While Ansible can discover data about a system during the setup phase, not all data can be found. We can define data with the inventory that will expand what Ansible has been to discover.

Ansible variables: The Ansible inventory variables

    • Host and group variables

In inventory, you can store variable values related to a specific host or group. This allows you to add variables directly to the hosts and groups in your main inventory file. Adding more managed nodes to your Ansible inventory will likely allow you to store variables in separate host and group variable files.

    • [host_var and group_var]

Ansible looks for host variable files in a directory called host_vars and group variable files in a directory called group_vars. Remember that Ansible expects these directories to be in either the directory that contains your playbooks or the directory adjacent to your inventory file. You can break things out even further if you want to go further. Ansible lets us define, for example, group_vars/production as a directory instead of a file. 

Behavior inventory variables

Behavioral inventory parameters allow you to describe your machines with additional parameters in your inventory file. Such as the ansible_connection parameter may be helpful. By default, Ansible supports multiple means of transport, which Ansible uses to connect to the managed host. Here is a list of some expected behavior inventory variables and the behaviors they intend to modify:

    1. ansible_host: This is the DNS name or the Docker container name that Ansible will initiate a connection to.
    2. ansible_port: This specifies the port number that Ansible will use to connect to the inventory host if it is not the default value 22.
    3. ansible_user: This specifies the username Ansible will use to communicate with the inventory host, regardless of the connection type.

**A key point: Ansible inventory scalability**

If you don’t have many hosts, you can use the inventory to store host and group variables. However, as your environment grows, managing variables in the inventory will become more challenging. In this case, you need to find a more scalable approach to keeping track of your host and group variables.

Even though Ansible variables can hold Booleans, strings, lists, and dictionaries, you can specify only Booleans and strings in an inventory file. Therefore, we have a more scalable approach to keeping track of host and group variables: you can create a separate variable file for each host and group. Ansible expects these variable files to be in YAML format, which allows you to break the inventory into multiple files.

Highlighting Ansible conditionals

– In a playbook, you may want to execute different tasks depending on the value of a fact, a variable, or the result of a previous task. You may wish to the value of some variables to depend on the value of other variables. You can do all of these things with conditionals. Ansible uses Jinja2 tests and filters in conditionals. Basic conditionals are used with the when clause.

– The most straightforward conditional statement applies to a single task. Create the Task, then add a when statement that applies a test. When running the task or playbook, Ansible evaluates the test for all hosts. For example, if you are installing MySQL on multiple machines, some of which have SELinux enabled, you might have a task to configure SELinux to allow MySQL to run.

– You would only want that Task to run on machines with SELinux enabled. Sometimes, you want to execute or skip a task based on facts. With conditionals based on facts, you can install a specific package only when the operating system is a particular version. You can skip configuring a firewall on hosts with internal IP addresses. You can perform cleanup tasks only when a filesystem is getting full.

**Ansible conditionals and When Clause**

You can also create conditionals based on variables defined in the playbooks or inventory. So, we have playbook variables, registered variables, and facts that can all be used in conditions and ensure that tasks only run if specific conditions are true. 

**Handlers and When Statement**

There are several ways Ansible can be configured for conditional task execution. We have, for example, Handlers for conditional task execution. It is used when a task has changed something. Then we have a very powerful When statement. The When statement allows you to run tasks when specific conditions are true. You can also use the Register in combination with When statements.

**Using Handlers for conditional task execution**

A handler is a task only executed when triggered by a task that has changed something. Handler is executed after all tasks in a play, so you need to organize the contents of your playbook accordingly. If any task fails after the task is called the handler, the handlers are not executed. We can use the “force-handler: to change this.

Keep in mind that handlers are operational when something has changed. We have a force handler that allows you to force the handler to be started even if subsequent tasks are failing. Simply put, a handler is a particular type of Task that is called only if something changes. 

**Handlers in Pre and Post tasks**

Each task section in a playbook is handled separately; any handler notified in pre_tasks, tasks, or post_tasks is executed at the end of each section. As a result, it is possible to execute one handler several times in one play.

  • Using Blocks

Blocks create logical groups of tasks. Blocks also offer ways to handle task errors, similar to exception handling in many programming languages. Blocks can also be used in error conditional handling. So you have to use a block to define the main Task to run and then rescue to define tasks that run if tasks defined in the block fail. You can use “Always to Define” tasks that will run regardless of the success or failure of the Block and Rescue.

  • Ansible loops

What happens, however, if you have a single task but need to run it against a list of data, for example, creating several user accounts, directories, or something more complex? Like any programming language, Ansible loops provide an easier way of executing repetitive tasks using fewer lines of code in a playbook.

Examples of commonly used loops include changing ownership of several files and directories with the file module, creating multiple users with the user module, and repeating a polling step until a particular result is reached.

**A final point: Managing failures with the Fail Module**

Ansible looks at a task’s exit status to determine whether it has failed. When any task fails, Ansible aborts the rest of the playbook on that host and continues with the next host. We can change this with a few solutions. For example, we can use ignore_errors in a task to ignore failure—force_handlers to force a handler that has been triggered to run even if another task fails.

But remember, there needs to be a change. We can also use these Failed_When, which allows you to specify what to look for in command output to recognize a failure. You may have a playbook used to clean up resources, and you want the playbook to ignore every error, keep going on till the end, and then fail if there are errors. In this case, when using the fail module, the failing Task must have Ignore Errors set to yes.

Interactive Ansible Lab / Variables 03

Ansible Conditional Automation Lab

Variables do more than provide configuration values. They can control whether tasks run, drive loops, and expose information returned by earlier tasks through registered variables.

01 / VARIABLES Define state
02 / WHEN Evaluate condition
03 / LOOP Repeat work
04 / RESULT Continue automation

Automation Inputs

Change the variables below. The task engine will show which simulated tasks execute and which are skipped.

BGP enabled true
Interface state up
Deployment mode production
VLAN set 3 items
# Conditional task
when: bgp_enabled == true

# Loop
loop: "{{ vlans }}"

# Registered result
register: iface_status

Task Execution

This simulation evaluates the variables and shows the resulting automation path.

Configure BGP
RUN
when: bgp_enabled == true
Condition evaluated to true.
Validate interface
RUN
registered: iface_status
The registered interface result is available.
Deploy production settings
RUN
when: environment == "production"
The environment matches production.
Configure VLANs
RUN
loop: "{{ vlans }}"
The task will iterate through the selected VLAN list.
AUTOMATION SUMMARY
4 task paths evaluated. BGP and production tasks are active.