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
Achieving Network Redundancy with an Active/Active AWS Direct Connect Connection

Achieving Network Redundancy with an Active/Active AWS Direct Connect Connection

By Henry Wagner, Chief Marketing Officer

When it comes to moving mission-critical workloads into the cloud, backup is your best friend.

Your enterprise business probably operates all day, every day, so continuity and constant uptime are crucial for keeping everything running smoothly. Risking your business on a single link design could mean losing data, customers, and even revenue if your connection goes down.

Implementing a redundancy design for cloud deployments involves setting up multiple links running into independent points of infrastructure. This way, if your primary network fails, your workloads are backed up by the second route and won’t experience any downtime. Using both ‘provider side redundancy’ and ‘customer side redundancy’ will enable you to achieve a full end-to-end back up strategy.

Let’s explore how to build redundancy into your AWS connectivity with Megaport, including diverse AWS Direct Connect connections and the managed redundancy built into AWS Interconnect.

Dual Direct Connect Virtual Circuits for Provider Side Redundancy

First and foremost, building out a redundant network means both considering the best practices of ‘customer side redundancy’ as well as following the recommendations of AWS for ‘provider side redundancy’. For their backup plan, many network architects decide to use dual Direct Connect Virtual Circuits that terminate in multiple data centre facilities to reduce any production workload risk that could be associated with a single link design. This is one way to look at redundancy on the provider side and could be a valuable option for your business.

Built-in redundancy with AWS Interconnect

AWS Interconnect with Megaport provides a managed AWS-facing connection with diverse paths built into the service. Its underlying infrastructure and routing are designed to maintain connectivity when a path becomes unavailable.

This simplifies provider-side redundancy, but end-to-end resilience still depends on the complete network design. Assess your routers, access circuits, Megaport services, and VXCs for shared dependencies, and ensure the remaining paths can carry the required traffic during a failure.

See the AWS Interconnect documentation for its resilience architecture and deployment requirements.

Megaport Connectivity for Customer Side Redundancy

If you’re using the above dual circuits within your network, to achieve full end-to-end redundancy of a given link, we recommend configuring connectivity from a pair of physical Megaport interfaces across two different data centres – and terminating to two separate physical routers that are configured independently. With a Virtual Cross Connect (VXC), you can directly and privately connect each Port to two separate AWS Direct Connect locations. This configuration offers you maximum resilience to failure. By default, our VXCs are already path diverse. This means that, if there’s some unforeseen impact to the primary network path, your traffic will continue to flow.

Active/Active AWS Direct Connect Configuration The default AWS configuration for redundant Direct Connect connections is ‘Active/Active’. BGP multipath is used for load-balancing to multiple Virtual Interfaces (VIF) within the same AWS regional location – traffic load-share between interfaces is based on flow. BGP multipath enables your router to have multiple internal and external BGP paths in their forwarding table, and to automatically load balance across them.

Within AWS, every time the same CIDR prefix is seen advertised via several identical paths in the same location, Equal Cost Multi-Path (ECMP) is performed, and individual traffic flows are, in turn, hashed to one particular connection/VIF.

If you want to have influence over the way traffic flows from AWS to your network, you can use AS_PATH prepending or announce more specific (longer) prefixes. Local Preference and similar options can be used for influencing the traffic flow from your on-premises network to AWS.

AS_PATH is a BGP attribute you can use to make a specific route less ‘attractive’ by adding your ASN (on a Private VIF, you aren’t required to use a Public ASN for AS_PATH prepending) multiple times to the path. AWS will always prefer the shortest path.

For Public Virtual Interfaces, each VIF will have unique peer IP addresses configured to announce the same prefixes from your router. If you need AWS to prefer a specific range of IPs over the other, you may want to influence your standard BGP configuration by either announcing more specific prefixes or by using AS_PATH prepending (if you’re using a public ASN number).

Some guidelines for an Active/Active configuration using Megaport:

  • Two physical routers, independently configured, to avoid Single Point of Failure (SPOF) from a device perspective;
  • BGP multipath enabled on those routers, with maximum-path set as 4;
  • Two physical 1 or 10G Megaport interfaces, preferably in two different data centre locations.
    • Whenever possible, leverage different AWS Direct Connect locations in the same metro to reduce the risk that a facility failure will interrupt your network connectivity to AWS.
    • For instance, for a redundant Direct Connect connection in the Singapore Region, you could deploy one VXC to AWS in Equinix SG2, and one VXC to AWS in Global Switch. diagram 1
  • If your connection is from a metro where there is only one Direct Connect location, for example, Melbourne, you can terminate the second VXC to another metro, as long as the two metros are associated to the same AWS Region. Megaport has 30+ Direct Connect Locations enabled across North America, Europe, and Asia Pacific.
  • For instance, the Primary VXC would terminate in Melbourne, the Secondary VXC would terminate in Sydney; the two VIFs would be deployed in the Asia Pacific (Sydney) Region.

For a solution with an additional level of resilience, you can configure a VPN connection over the public internet that can terminate to the inbuilt AWS IPSec VPN service (Virtual Private Gateway), allowing you to set up another layer of redundancy – a so-called ‘backup of backups’.

A VPN can be seen as a lower-cost backup connection but can also be used for more than a ‘standby’ type of backup. By influencing routing decisions and advertising more specific routes through the VPN, you could use your VPN not only as a backup, but also to carry a specific subset of your traffic.

diagram 2

Using Active/Active AWS Direct Connect Virtual Circuits to achieve network redundancy can be easily done with direct Megaport connectivity. With this level of backup, your enterprise business can reduce the risks of SPOF and increase continuity and uptime of your mission-critical workloads. With an effective redundancy strategy, you can ensure your business runs seamlessly no matter what.

For more info on building redundant network connections with us, reach out via Twitter or get in touch here.

Tags:

Related Posts

How You Can Simplify Your Provisioning With NaaS

How You Can Simplify Your Provisioning With NaaS

Quick and simple cloud provisioning is a must for businesses in 2021 – and the key to achieving it is by using Network as a Service.

Read More
How Quantum Computing Can Better Protect Your Data

How Quantum Computing Can Better Protect Your Data

Bringing the power of quantum encryption to the cloud, we take a look at the emerging technology that’s changing how we protect our data.

Read More
Getting Started with Megaport APIs

Getting Started with Megaport APIs

Streamline your network provisioning and management with Megaport APIs. Automate common tasks like VXC creation, optimize data rates, and integrate seamlessly with other platforms. Learn how to get started with step-by-step guides, Postman collections, and a no-charge staging API for testing. Future-proof your cloud strategy with efficient, scalable automation.

Read More