Explore

Build

Join the Megaport Community
Join the Megaport Community
The community for network engineers, IT leaders, and partners to swap ideas and build what’s next.
Join Community

Get in touch

Corporate Info

Partners

It's official: Megaport x Latitude.sh
It's official: Megaport x Latitude.sh
Latitude.sh dedicated compute meets Megaport private connectivity so you can launch fast and run anywhere.
Press Start
How to Improve Network Resilience: Design, Test, and Measure

How to Improve Network Resilience: Design, Test, and Measure

By Raghav Kathuria, Solutions Architect

A guide for network teams to identify shared failure points, choose resilient architectures, test failover, and measure recovery across hybrid and multicloud networks.

Table of Contents

To improve network resilience, identify your critical services and the dependencies they share. Design diverse paths and redundant components around the failures that could interrupt those services. Choose routing and cloud connections that meet your recovery objectives, then run controlled failover tests and measure when traffic reroutes and when users can complete transactions again.

If a circuit goes down during your busiest hour, where will the traffic go? Will that path have enough capacity? And will the applications using it recover in time? Those are the questions to answer before you need the backup.

What is network resilience, and how is it different from redundancy?

Network resilience is the ability to keep services running or restore them when something fails. Redundancy gives you alternatives, such as an extra circuit, router, or power feed. Resilience depends on whether those alternatives survive the same failure and can carry traffic while the affected service recovers.

Take two circuits that enter a building through the same conduit. They can protect against some circuit faults, but a single cut to the conduit can take both offline. Even with separate building entrances, you still need to check where the paths go upstream and how your network switches to the surviving circuit.

How can you improve network resilience?

Start with the services that would cause the most disruption if they went offline. For each one, establish how quickly it needs to recover, what it depends on, and which failures your design needs to handle. Then work through the service path from the user to the application.

  1. Verify physical path diversity. Trace each circuit through its building entrance, conduit, carrier handoff, and termination point. Ask providers to confirm where the routes diverge and whether they share an access carrier or upstream segment. Separate contracts can still rely on the same infrastructure.
  2. Diversify your cloud on-ramps. Check where each connection terminates and which devices, facilities, or metros the paths share. Use your cloud provider’s guidance to match the design to the failure you need to withstand. An on-ramp is where your network connects to the provider. The availability zone or region where your workload runs is a separate design decision.
  3. Decide how traffic should move during a failure. Document which paths carry traffic normally, what should trigger a route change, and how traffic should return after recovery. Include the return path, especially where traffic passes through stateful firewalls.
  4. Size the surviving path for the traffic it needs to carry. Check projected failover load against link capacity and any limits on routers, firewalls, or cloud connections along the way. If you plan to deprioritize traffic during a failure, agree with application owners on which services take priority.
  5. Map shared dependencies. Follow a real transaction and check which DNS resolvers, identity services, firewalls, and cloud gateways it relies on. Include the management access your team needs to diagnose and restore service.
  6. Assign an owner and test the design. Give each critical service a failover runbook, a named test owner, and a provider escalation contact. Record the last test result and any fixes still open.

For example, say a data center hosts an order processing system that calls an API in the cloud. Your team can configure its routers, set traffic priorities, and check whether orders complete after a circuit failure. It needs the connectivity provider to confirm shared fiber or handoffs and the cloud provider’s documentation to verify where the connections terminate. If both paths enter through the same conduit, a routing change alone can’t resolve that exposure.

For more on redundant connections and workload recovery, explore cloud network redundancy. If you’re designing for Azure, compare ExpressRoute resilience options to see which configurations can withstand a peering site failure.

Which network topology is best for resilience?

Choose a topology based on the failures your services need to withstand and the cost and operational effort your team can support. Dual-homed, hub-and-spoke, full-mesh, and partial-mesh designs can all provide alternate paths. What those paths protect against depends on where they run and what they share.

TopologyHow it worksMain resilience benefitPotential shared failure pointTrade-off and typical fit
Dual-homedA site or device has two upstream connections.A second path can carry traffic if one upstream connection fails.Both links can share a router, conduit, or carrier handoff.Relatively simple to operate. A good starting point for sites that need an alternate upstream path.
Hub-and-spokeSites connect through one or more central hubs.A second hub can give spokes an alternate route while preserving centralized policy.Both hubs can depend on the same facility or firewall cluster.Easier to manage policy centrally. Size hubs for aggregated failover traffic across branches.
Full meshEvery node has a direct logical connection to every other node.Nodes can communicate directly without depending on a central transit hub.Logical links can still traverse the same backbone, physical route, or facility.Connection count and routing overhead grow with each node. Can suit a small group of latency-sensitive sites or regions.
Partial meshSelected nodes have direct links, while other nodes use shared transit.Critical traffic gets alternate routes where they’re needed most.Sites outside the mesh can still depend on one hub or cloud gateway.Fewer links to manage than a full mesh. Useful when recovery requirements vary across a multicloud network.

Once you’ve picked a topology, compare high-availability architecture patterns for the parts of the network it needs to protect, from the customer edge to the cloud.

How should you choose between active-active and active-passive routing?

Active-active routing carries production traffic over multiple paths. Active-passive routing normally uses one path and keeps another available for failover. Base the choice on the service’s recovery target, the capacity you need during a failure, and the routing behavior your team can operate and test.

Active-active lets you observe both paths under normal traffic. The split may be uneven, and losing one path can still interrupt sessions or overload the surviving path. Active-passive can make normal traffic flow easier to predict. Confirm that the standby learns and advertises the routes it will need and can carry the required load.

Failure detection is how a device notices that a path has stopped working. A local interface can report a link down, while a failure farther upstream can leave that interface up. Depending on the design, a router may detect the loss when a Border Gateway Protocol (BGP) timer expires or through Bidirectional Forwarding Detection (BFD), where supported and configured. BGP convergence is the process of routers exchanging updates, choosing replacement routes, and settling on the new paths. Application recovery can take longer if sessions need to reconnect or requests need to retry.

For an active-passive design, local preference can make one exit preferred within your own routing domain. AS path prepending can make an advertised path less attractive to peers, depending on their policies. Test traffic in both directions and check that the surviving path has enough capacity under either design.

How do you test network failover?

Define the failure you want to simulate and what counts as a pass. Run the test in an approved window, then measure when the network detects the failure, when traffic moves, and when the application recovers. Repeat the test after you fix any gaps.

For a circuit failure test, take the primary customer-side circuit out of service during the approved window. Use synchronized timestamps to track the first network alert, when traffic begins flowing over the alternate path, and when a test transaction succeeds again. Watch the surviving circuit for congestion. Once you restore the primary, verify that traffic returns as intended and that applications stay available during the transition.

  • Approvals. Agree on the scope, maintenance window, and who can start or stop the test. Notify affected service owners and coordinate with providers where needed.
  • Monitoring. Capture a baseline, then watch route changes, interface utilization, and application transactions from an affected user location.
  • Rollback. Define when to stop, how to restore the primary path, and how to reach the equipment if normal management access drops.
  • Results and follow-up. Record the actual recovery times against the targets. Assign an owner and due date to each fix, then retest.

Set the test frequency according to service risk, how often the network changes, and the windows available. Changes to circuits, routing policy, or shared firewalls are good reasons to run the relevant scenario again.

What metrics show whether a network is resilient?

Track how quickly you detect a failure, how long traffic takes to move, and when users can complete transactions again. Compare the results with each workload’s recovery time objective (RTO). Link uptime gives you a baseline, but it can miss an interruption that users still experience.

MetricWhere and how to measure itWhat it tells you
Time to detectFrom the known start of a test failure to the first router event or monitoring alert.How long the failure went undetected.
BGP convergence timeFrom the first relevant routing update until the expected routes are stable on the routers you’re monitoring.How long the routing layer took to settle on the replacement paths.
Traffic failover timeFrom the start of the failure until probes consistently pass over the surviving path. Check both directions where relevant.How long it took for traffic to resume on the alternate path.
Time to restore serviceFrom the start of the service disruption until transactions meet the agreed success and response-time thresholds again.Whether the workload met its recovery time objective.
Application availability and transaction successFrom synthetic checks or application telemetry at representative user locations during the incident.Whether users could reach the application and complete the work they came to do.
Packet loss, latency, and utilizationFrom path probes and interface telemetry on the surviving path, compared with the baseline.Whether the application has enough capacity and acceptable performance while traffic is rerouted.

If routes converge quickly but transactions still time out, check what happens after forwarding resumes. The surviving path may be congested, or the application may still be retrying connections. Use those measurements to decide where to improve network performance.

What mistakes create hidden single points of failure?

Shared fiber, common cloud termination points, and simultaneous changes can take out paths that look independent on a network diagram. Trace the full service path and use a targeted check for each suspected dependency.

Common mistakeHow to verify itHow to fix it
Two circuits share the same physical route.Ask carriers where the routes diverge and confirm building entrances with the facility operator.Use separate entrances or upstream routes where the failure you’re planning for requires them.
Two cloud on-ramps share a facility or metro.Confirm each termination device, peering location, and metro with the providers involved.Use independently terminated connections. Add geographic separation if the design needs to survive a metro-wide event.
The standby path has never carried traffic under failover.Run an approved test and check routes, traffic load, and application transactions.Correct route policy or capacity gaps, then retest under representative load.
Both sides receive the same configuration change at once.Review change records and automation targets for redundant devices and paths.Stage changes, validate service on the first side, and then proceed to the second.
Multiple clouds rely on the same routing or security layer.Trace traffic to each cloud and see whether every path passes through one router, firewall, or gateway.Add an independent path through the routing or security layer and verify that it can carry the required traffic.

If that last check exposes a shared dependency, factor it into your next multicloud strategy review, alongside where workloads run and how they connect.

How can Megaport support a more resilient network design?

Megaport can provide private connections to cloud on-ramps and virtual routing through Megaport Cloud Router (MCR). You can use Virtual Cross Connects (VXCs) to connect MCR to supported destinations and BGP to exchange routes. How much resilience that provides depends on where each connection terminates, which infrastructure it shares, and how routing behaves during a failure.

Illustrative design. A team connecting a data center to AWS and Azure could use two MCR instances in separate metros, with an independently routed customer connection to each. Where the required services are available, each MCR would use VXCs to reach separate cloud on-ramps. The team could configure both paths to carry production traffic, with enough capacity on either path to handle critical traffic after a failure. Verify the termination points and redundancy requirements for the cloud services in your design, such as AWS Direct Connect or Azure ExpressRoute.

The design aims to keep a path available if one MCR instance or one cloud on-ramp goes offline. The customer still owns its access design, end-to-end routing policy, capacity planning, and application recovery. A common data center entrance, shared firewall, or application running in a single cloud region can still interrupt service. Test those scenarios against the recovery targets before relying on the design in production.

Talk to a Megaport solutions architect about designing diverse connectivity for your recovery requirements.

Contact Sales

Related Posts

Comparing Generative AI Offerings From Major Cloud Providers

Comparing Generative AI Offerings From Major Cloud Providers

Avoid AI overwhelm and weigh up your options easily with our roundup of the top generative AI offerings from AWS, Azure, and Google Cloud.

Read More
A Guide to DDoS Protection in Your Network

A Guide to DDoS Protection in Your Network

Learn how DDoS attacks work, how threats are evolving, and how modern network-integrated protection can help defend your infrastructure.

Read More
Evaluating and Understanding your Cloud Connectivity Options

Evaluating and Understanding your Cloud Connectivity Options

What are the options available for connecting to the cloud and what’s the best choice for your business?

Read More