Lesson 3 of 4 Networking and Content Delivery

Connecting On-Premises Networks with VPN and Direct Connect

This lesson explains how organisations connect their on-premises networks and remote users to AWS, and how speed, consistency, cost and setup time decide the right choice.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish AWS Site-to-Site VPN, AWS Client VPN and AWS Direct Connect.
  • Describe how Direct Connect and Site-to-Site VPN can be combined.

Connection options

There are three main ways to connect to AWS from outside. AWS Site-to-Site VPN creates encrypted tunnels over the public internet between an office or data centre and a VPC. It can be set up in minutes to hours and costs little, but its performance depends on the internet. AWS Client VPN is a managed VPN for individual remote users connecting from their own devices.

AWS Direct Connect is a dedicated, private connection to AWS through a Direct Connect location, which does not travel over the internet. It often takes weeks to set up and costs more, but it gives consistent bandwidth and latency and can lower data transfer costs for large volumes. The following table summarises the options.

OptionHow it worksSetupPerformanceCost
AWS Site-to-Site VPNEncrypted IPsec tunnels over the public internet between your network and a VPCMinutes to hoursDepends on the internetLow
AWS Client VPNManaged VPN for individual remote users on their devicesQuickDepends on the internetPer connection
AWS Direct ConnectA dedicated, private connection through a Direct Connect location, not over the internetOften weeksConsistent bandwidth and latencyHigher, but can lower data transfer costs
Sort into groups

Which connection?

Exam skills 3.5.4

Choose the connection option for each need.

Log in to try this activity Interactive activities are free with an account.

Combining them

Direct Connect and Site-to-Site VPN can be used together. The following list describes two common combinations.

  • Many companies use Direct Connect as the main link and a Site-to-Site VPN as a backup.
  • A VPN can run over Direct Connect to add encryption.
True or false

Combining connections

Exam skills 3.5.4

Check how Direct Connect and VPN are combined.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a connection

Several organisations require connections between their networks and AWS. The following table identifies the appropriate connection for each situation.

SituationChoice
A small office needs a secure connection to AWS this weekAWS Site-to-Site VPN
A bank moves terabytes daily between its data centre and AWS and needs steady performanceAWS Direct Connect
The same bank wants a backup if Direct Connect failsA Site-to-Site VPN as backup
Staff working from home need access to private applications in a VPCAWS Client VPN

The clues are speed of setup (VPN in minutes, Direct Connect often weeks), consistency of performance (Direct Connect), and whether the connection is for a whole office (Site-to-Site) or individual people (Client VPN).

Check yourself

Which option gives a private, dedicated network connection from a data centre to AWS?

Show answer

AWS Direct Connect. AWS Site-to-Site VPN uses an encrypted tunnel over the internet instead.

Exam Tips

Remember for the exam

  • An encrypted connection over the internet that is quick to set up is a Site-to-Site VPN.
  • A dedicated private connection with consistent performance is Direct Connect.
  • For remote workers connecting securely, use Client VPN.
  • A cheap backup for Direct Connect is a Site-to-Site VPN.