Designing Private Connectivity with AWS Direct Connect
This lesson explains how Direct Connect provides private, dedicated network connections between your premises and AWS with consistent performance.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish dedicated and hosted connections.
- Choose private, public and transit virtual interfaces.
- Explain how encryption and resilience are added to Direct Connect.
Connections
A Direct Connect connection is a physical link at a Direct Connect location, and it is obtained in one of two ways. A dedicated connection is a port of 1, 10, 100 or 400 Gbps ordered directly from AWS and used by one customer. A hosted connection is provided by an AWS Direct Connect Partner, who shares its own links among customers and offers capacities from 50 Mbps to 25 Gbps, which suits smaller needs. Either way, ordering and installing the circuit takes a long time. For resilience, AWS recommends connections at more than one Direct Connect location, so a failure at one location does not disconnect the network. The following table summarises the two types.
| Type | Speeds | From |
|---|---|---|
| Dedicated | 1, 10, 100 or 400 Gbps ports | AWS, at a Direct Connect location |
| Hosted | 50 Mbps to 25 Gbps | AWS Partners |
Provisioning takes weeks or more, so it does not help urgent needs.
400Gbps
Fastest dedicated connection port
25Gbps
Fastest hosted connection from a Partner
Virtual interfaces
A Direct Connect connection carries traffic in virtual interfaces (VIFs), each of which reaches a different kind of destination. A private VIF reaches a VPC through its virtual private gateway, or several VPCs through a Direct Connect gateway, using private addresses. A transit VIF reaches one or more transit gateways, through a Direct Connect gateway, so one connection serves every VPC attached to them. A public VIF reaches AWS public endpoints, such as S3 and DynamoDB, over the private link instead of the internet. The following table summarises the types.
| VIF | Reaches |
|---|---|
| Private VIF | A VPC via a virtual private gateway or Direct Connect gateway |
| Transit VIF | Transit gateways |
| Public VIF | AWS public endpoints such as S3 |
A Direct Connect gateway connects one link to VPCs in many Regions.
The following diagram shows one connection carrying the three types of VIF.

Virtual interfaces
Encryption and resilience
AWS Direct Connect provides a private, dedicated connection, but it does not encrypt traffic by default. When encryption is required, MACsec encrypts traffic on supported dedicated connections, or an IPsec VPN can run over the Direct Connect connection, through a public or transit virtual interface.
A single connection is a single point of failure, so critical workloads use connections at two or more Direct Connect locations; the maximum resiliency model uses separate devices at two locations. Link aggregation groups (LAGs) bundle several connections at one location to increase bandwidth, but do not protect against the loss of that location. A Site-to-Site VPN is a common low-cost backup: BGP prefers the Direct Connect routes, so traffic fails over to the VPN automatically if Direct Connect fails and returns when it recovers.
The following diagram shows connections at two locations with a VPN as backup.

Resilient Direct Connect
Cost
Charged per port hour plus data out, at lower rates than internet egress: cost-effective for large, steady volumes.
Resilient, encrypted hybrid connectivity
A bank moves terabytes a day between its data centre and AWS and needs consistent performance, encryption, and no single point of failure.
| Requirement | Design |
|---|---|
| Consistent bandwidth and latency | Dedicated Direct Connect connections |
| Survive the loss of a connection or location | Connections at two Direct Connect locations |
| Encryption | MACsec on supported dedicated connections, or an IPsec VPN over Direct Connect |
| Low-cost backup | Site-to-Site VPN over the internet |
| Reach VPCs in several Regions | Direct Connect gateway |
Direct Connect alone is private but not encrypted, a frequent exam point. Data transfer out over Direct Connect is also cheaper than over the internet, which helps justify it for large volumes.
A new office needs a connection to AWS next week. Can a new dedicated Direct Connect connection meet this?
Show answer
No. Provisioning a dedicated connection takes weeks or more. A Site-to-Site VPN can be set up in hours and used until Direct Connect is ready.
Exam Tips
Remember for the exam
- For consistent low latency and high bandwidth to on premises, use Direct Connect.
- When connectivity is needed this week, use a VPN, because Direct Connect takes weeks.
- To encrypt Direct Connect traffic, use MACsec or an IPsec VPN over Direct Connect.
- To reach VPCs in several Regions over one connection, use a Direct Connect gateway.
- For automatic failover from Direct Connect to VPN, use BGP with both connections advertising routes.
- For large, steady outbound data volumes at lower transfer rates, use Direct Connect.