Building Dedicated Connections with AWS Direct Connect - Redundancy Design and Traffic Control
Design redundant dedicated connections and connect to VPCs across multiple regions with Direct Connect Gateway. This article also covers bandwidth aggregation with LAG and MACsec encryption.
Overview of Direct Connect
Direct Connect is a service that connects your on-premises environment to AWS over a dedicated line. Compared to internet VPN, it provides stable bandwidth, lower latency, and reduced data transfer costs. It offers 1 Gbps and 10 Gbps dedicated connections, as well as hosted connections from 50 Mbps to 10 Gbps. With Direct Connect Gateway, you can access VPCs in multiple regions through a single connection.
Redundancy Design and Direct Connect Gateway
For production environments, a dual-location configuration with two connections placed at different locations (data centers) is recommended. If one location experiences a failure, communication continues through the other. Direct Connect Gateway enables access to VPCs in multiple regions from a single connection, eliminating the need for separate connections per region. When combined with Transit Gateway, you can connect to Transit Gateway via Direct Connect Gateway and access all VPCs under that Transit Gateway.
High Availability and Encryption with LAG and MACsec
Link Aggregation Group (LAG) bundles multiple Direct Connect connections into a single logical interface, providing bandwidth aggregation and failover when a link fails. All connections within a LAG must have the same bandwidth and be located at the same location. Enabling MACsec (IEEE 802.1AE) encrypts data on the Direct Connect connection at Layer 2, preventing eavesdropping on the physical line. MACsec is supported on 10 Gbps and 100 Gbps dedicated connections, and you configure CKN/CAK pairs for key association. Enabling SiteLink allows direct communication between different Direct Connect locations via the AWS backbone, letting you leverage the AWS network for connectivity between on-premises sites as well. For troubleshooting Direct Connect, related books (Amazon) can be a useful reference.
Direct Connect Cost Structure
Direct Connect costs consist of port-hour charges and data transfer charges. The port charge for a dedicated connection is a fixed monthly rate based on bandwidth; for example, 1 Gbps costs approximately $0.30/hour. Data transfer charges apply only to outbound traffic (AWS to on-premises); inbound is free. Hosted connections are available from 50 Mbps through partners and are cost-effective for smaller workloads. Using Direct Connect Gateway, you can access VPCs in multiple regions with a single connection, eliminating the need for per-region connections. When monthly traffic exceeds 1 TB, Direct Connect often becomes more cost-effective than VPN in terms of data transfer costs.
Summary
Direct Connect is a service that connects your on-premises environment to AWS over a dedicated line, providing a stable, low-latency network. LAG aggregates bandwidth, and MACsec provides Layer 2 encryption. Direct Connect Gateway enables access to VPCs in multiple regions from a single connection, and SiteLink lets you leverage the AWS backbone for communication between on-premises sites.