Easy ReviewDOP-C02
Security and Compliance7

Direct Connect

Connect networks to AWS and choose encryption and backup paths.

Direct Connect provides a network path to AWS; encryption and resilience require separate design choices.

Private connectivity and encryption

AWS Direct Connect links an internal network to AWS without using internet service providers in the connection path. A private path is not automatically an encrypted path.

How it works

  1. Connect your network to a Direct Connect location. A virtual interfaceA virtual interface is a logical connection that provides access to an AWS destination over Direct Connect. is a logical connection to an AWS destination.
  2. If encryption is required, use Site-to-Site VPN tunnels, encrypted links using IPsec, over a public interface, or MACsecMACsec protects traffic on a point-to-point Ethernet link with encryption and integrity checks., link-level encryption, on a supported connection. IPsec encrypts between VPN endpoints; MACsec encrypts the link between the customer device and the Direct Connect device.
  3. To encrypt traffic without public IP addresses, use private IP Site-to-Site VPN over Direct Connect. For active and passive private virtual interfaces, use local preference Border Gateway ProtocolBGP exchanges routing information between AWS and remote network endpoints. (BGP) communities to influence route selection. Private IP VPN and routing

Exam cues

  • If the question says traffic must remain encrypted when MACsec negotiation fails, think must_encrypt, because should_encrypt can fall back to cleartext.
  • If the question says IPsec without public IP addresses, think private IP Site-to-Site VPN over Direct Connect, because it encrypts traffic without public tunnel addresses.
  • If the question says prefer one private interface as active and another as passive, think local preference BGP communities, because AWS recommends them for active and passive paths.

Remember

  • Direct Connect does not encrypt traffic by default.
  • MACsec supports dedicated 10, 100 and 400 Gbps connections at selected locations, not hosted connections.
  • New MACsec-enabled connections default to should_encrypt.

Trap: MACsec does not provide end-to-end encryption across multiple network segments. Use IPsec when protection between VPN endpoints is required.

IPsec VPN over Direct Connect
12Customer routerDirect ConnectVPN endpoint
  1. The customer connects to a Direct Connect location.

  2. A public virtual interface reaches the VPN endpoint for IPsec tunnels.

From the AWS docs (13)
  • Direct Connect links an internal network to a Direct Connect location and bypasses internet service providers in the path to AWS.
  • A VPC is a logically isolated virtual network in AWS.
  • Direct Connect does not encrypt traffic in transit by default.
  • A Site-to-Site VPN can use a Direct Connect public virtual interface to reach its public endpoint and establish IPsec tunnels to a virtual private gateway.
  • MACsec encrypts the point-to-point connection between the customer edge device and the Direct Connect device, not all network segments end to end.
  • MACsec is supported on dedicated 10, 100 and 400 Gbps connections at selected locations, but not on hosted connections.
  • MACsec should_encrypt falls back to unencrypted traffic if negotiation fails; must_encrypt stops traffic if encryption cannot be established.
  • New MACsec-enabled connections default to should_encrypt.
  • BGP exchanges routing information between AWS and remote endpoints.
  • High resiliency uses separate Direct Connect connections at multiple locations to protect against connectivity and location failures.
  • AWS Direct Connect links an internal network to AWS over a dedicated Ethernet fiber connection at a Direct Connect location, bypassing internet service providers.
  • On private and transit virtual interfaces, Direct Connect selects routes by longest prefix first, then local preference BGP communities, then AS_PATH length, then MED; local preference communities are recommended for active/passive paths.
  • Private IP Site-to-Site VPN runs IPsec over Direct Connect without public IP addresses, encrypting traffic between on premises and AWS.

Flashcards

tap to flip
Answer

·

All 7 cards as a list

A company uses AWS Direct Connect and requires encryption in transit. What options should it consider?

Use an IPsec VPN over Direct Connect, or MACsec on a supported connection. MACsec protects the point-to-point link, not every network segment.

A company wants an encrypted connection to its VPC over AWS Direct Connect using a public VPN endpoint. What should it configure?

Establish Site-to-Site VPN IPsec tunnels over a Direct Connect public virtual interface.

A company needs its AWS Direct Connect link to stop passing traffic if MACsec negotiation fails. Which mode should it use?

Use must_encrypt. The default should_encrypt mode can fall back to unencrypted traffic.

Can a hosted AWS Direct Connect connection use MACsec?

No. MACsec is not supported on hosted connections.

A company needs a dedicated private network connection from its data center to AWS that does not use the public internet. Which service fits?

AWS Direct Connect.

Does AWS Direct Connect encrypt traffic in transit by default?

No. Add encryption in transit, such as an IPsec VPN over the connection or MACsec on a supported connection.

A regulated company needs IPsec encryption over its Direct Connect link without exposing any public IP addresses. Which option fits?

Private IP Site-to-Site VPN over Direct Connect. It encrypts the traffic without public tunnel addresses.

You finished every topic of DOP-C02!

Your badge turned gold. Next step: book the exam on AWS. Once you pass, add yourself to Who passed.

Share

Share that you finished this certification

I finished every topic of AWS Certified DevOps Engineer - Professional (DOP-C02) on Easy Review. Come study too!