Lesson 24 of 36 · see all lessons
  1. Start here: cloud concepts (domain 1, 24%)

    1. 1. Start here: the exam, the plan and what you already know
    2. 2. What the cloud is: benefits, service models and deployment models
    3. 3. AWS global infrastructure: Regions, Availability Zones and edge locations
    4. 4. Cloud economics: what you pay for on-premises vs in the cloud
    5. 5. The AWS Well-Architected Framework: six pillars
    6. 6. Moving to AWS: the Cloud Adoption Framework and migration strategies
  2. Security and identity (domain 2, 30%)

    1. 7. The shared responsibility model: who secures what
    2. 8. IAM basics: users, groups, roles and policies
    3. 9. Protecting the root user, MFA and credentials
    4. 10. Identity at scale: IAM Identity Center, federation and cross-account access
    5. 11. Encryption and keys: protecting data at rest and in transit
    6. 12. Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub
  3. Governance, ways of working and compute (domains 2 and 3)

    1. 13. Logging, auditing and compliance: CloudWatch, CloudTrail, Config and Artifact
    2. 14. Governing many accounts: Organizations, Control Tower and Service Catalog
    3. 15. Ways to use AWS: console, CLI, SDKs and infrastructure as code
    4. 16. Amazon EC2: virtual servers and instance types
    5. 17. Elasticity: Auto Scaling and Elastic Load Balancing
    6. 18. Containers and serverless: ECS, EKS, Fargate, Lambda and more
  4. Storage, databases and networking (domain 3, 34%)

    1. 19. Block and file storage: EBS, instance store, EFS and FSx
    2. 20. Amazon S3: buckets, storage classes and lifecycle policies
    3. 21. Hybrid storage, backup and disaster recovery
    4. 22. Databases: RDS, Aurora, DynamoDB, ElastiCache and more
    5. 23. Networking: VPCs, subnets, gateways and security layers
    6. 24. Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect
  5. Analytics, AI, integration and more (domain 3)

    1. 25. Analytics services: Athena, Glue, Kinesis, Redshift and Quick
    2. 26. AI and machine learning services: SageMaker AI, Lex, Rekognition and Amazon Q
    3. 27. App integration and business apps: SQS, SNS, EventBridge, Connect and SES
    4. 28. Developer tools, end-user computing, Amplify and IoT
  6. Billing, pricing and support, then exam practice (domain 4, 12%)

    1. 29. Pricing models: On-Demand, Savings Plans, Reserved, Spot and Dedicated
    2. 30. Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags
    3. 31. AWS Support plans, Trusted Advisor and where to get help
    4. 32. Final review and exam day: every decision on one page
    5. 33. Mock exam 1
    6. 34. Mock exam 2 Exam Pack · $12
  7. Extra practice: mock exams 3 and 4

    1. 35. Mock exam 3 Exam Pack · $12
    2. 36. Mock exam 4 Exam Pack · $12
See the leaderboard

18 min

Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect

Route users with DNS, speed up delivery at the edge, and connect offices to AWS over a VPN or a private line.

By the end of this lesson you can

  • Explain what Route 53 does and recognize its routing policies
  • Choose between CloudFront and Global Accelerator
  • Choose between Site-to-Site VPN, Client VPN and Direct Connect
  • Recognize when API Gateway is the answer

From earlier lessons · 1 of 2

Instances in a private subnet need to download updates from the internet, with no inbound connections allowed. Which VPC component should a company use?

Pick one answer.

From earlier lessons · 2 of 2

A company runs its app across two Availability Zones in one Region. Why does this improve availability?

Pick one answer.

Cedar Lane Books' new VPC runs in Europe, and German shoppers love it. Shoppers in Canada say book covers load slowly. The 14 stores still connect to the old back-office room, not to AWS. And the domain name still points at a server under a desk. Four problems, four different services.

[4]

Amazon Route 53: DNS for your domain

Exam depth: know it cold for what it does. Recognize the routing policies.

DNS (Domain Name System) is the internet's phone book. It turns a name like cedarlanebooks.com into the address of the server behind it. Amazon Route 53 is AWS's highly available DNS service, and it does three jobs:

  1. Domain registration: buy and manage the domain name.
  2. DNS routing: send visitors to your website, load balancer or other resource.
  3. Health checks: test that a resource responds, and route traffic away when it doesn't.

A routing policy decides how Route 53 answers each lookup.

PolicyUse it when
Simple.One resource does the job.
Weighted.You split traffic in set proportions, like 90/10 to test a new version.
Latency.You run in several Regions and want each user sent to the fastest one.
Failover.You want a backup site used only when the main one fails its health check.
Geolocation.You route by where the user is, such as EU shoppers to the EU site.

Route 53 has a few more policies, such as geoproximity and multivalue answer. The five above are the ones to recognize.

[278][279]

Match

Match each Cedar Lane Books need to the Route 53 routing policy

Pick an item on the left, then its match on the right.

[279]

A company wants to register its domain name, and automatically send visitors to a standby website if its main website stops responding. Which AWS service meets these requirements?

Pick one answer.

[278][280]

Amazon CloudFront: content cached at the edge

Exam depth: know it cold.

Amazon CloudFront is AWS's CDN (content delivery network): a worldwide set of servers that keep copies of your content close to users. Those servers sit in edge locations.

A user's request goes to the edge location with the lowest latency. If that edge already has the file cached, it answers at once. If not, it fetches the file from your origin, keeps a copy, and sends it on. The origin can be an Amazon S3 bucket or a web server, such as EC2 instances behind a load balancer.

CloudFront works with security services. You can attach AWS WAF rules to block common web attacks. AWS Shield Standard protects CloudFront distributions against common DDoS attacks at no extra charge.

[29][112][281][282]

Watch it happen · 14 s

A book cover through CloudFront: miss, then hit

A shopper asks for a book cover. DNS sends the request to the nearest edge location.

Scene 1 of 5

[29]

Cedar Lane Books stores book cover images in an Amazon S3 bucket in Europe. Shoppers in North America and Asia complain the images load slowly. Which AWS service will reduce the delay MOST cost-effectively?

Pick one answer.

[281]

AWS Global Accelerator versus CloudFront

Exam depth: recognize it.

AWS Global Accelerator gives your app fixed, static IP addresses that are anycast from AWS edge locations. Anycast means the same address is announced everywhere, so users join the AWS network at the nearest edge. From there, traffic rides the AWS global network to the healthiest, closest endpoint in one or more Regions.

CloudFrontGlobal Accelerator
Caches content?Yes, at edge locations.No.
TrafficMainly HTTP and HTTPS web content.Any TCP or UDP traffic.
Entry pointA domain name.Static anycast IP addresses (two for IPv4).
Typical useWebsites, images, video.Gaming, IoT, voice calls, fast Regional failover.

Decision rule: "cache" or "static content" is CloudFront. "Static IP", "UDP" or "non-HTTP" is Global Accelerator.

[30][283]

[283]

An online gaming company runs game servers that use UDP in two AWS Regions. Players' firewalls must allow two fixed IP addresses. The company wants traffic carried over the AWS global network to the nearest healthy Region. Which AWS service meets these requirements?

Pick one answer.

[30][283]

VPN: ready this afternoon, rides the public internet, encrypted. Direct Connect: your own private line, but someone has to lay the cable. Picture: Three-panel comic strip, bright flat cartoon style.

Amazon API Gateway: the front door for APIs

Exam depth: recognize it.

An API (application programming interface) is a set of web addresses that one program calls to use another. An example is the mobile app asking "is this book in stock?"

Amazon API Gateway lets you create, publish, monitor and secure REST, HTTP and WebSocket APIs at any scale. It's the "front door" to your backend, which can be EC2, any web app or, very often, AWS Lambda functions. With Lambda, it forms the app-facing part of a serverless app.

Rule: "create, publish and secure APIs" or "front door for Lambda" means API Gateway.

[284]

Connecting offices: VPN and Direct Connect

Exam depth: know it cold.

AWS VPN comes in two forms. A VPN (virtual private network) is an encrypted tunnel through the public internet.

  • AWS Site-to-Site VPN connects a whole network, such as an office or data center, to your VPC. It uses encrypted IPsec tunnels over the internet. Each connection has two tunnels, for high availability.
  • AWS Client VPN connects individual people, like staff working from home, using a VPN app on their device.

AWS Direct Connect is a dedicated, private network connection. A fiber cable links your network to a Direct Connect location, bypassing the public internet. You get more consistent performance than an internet connection, and it can reduce network costs.

Site-to-Site VPNDirect Connect
PathPublic internet.Private, dedicated line.
Encrypted by default?Yes (IPsec).No.
Setup timeMinutes.Longer: a physical connection, often through a partner.
PerformanceVaries with the internet.Consistent.

[285][286][287][289][290][291]

Rendering diagram…
A whole site over the internet: Site-to-Site VPN. One person: Client VPN. A private line: Direct Connect.

[285][286][287]

[288]

A company moves large amounts of data between its data center and AWS every day. It needs consistent network performance and a connection that doesn't travel over the public internet. Which AWS service meets these requirements?

Pick one answer.

[287][291]

The decision table

The question saysPick
"DNS", "register a domain", "health checks", "routing policy".Amazon Route 53.
"cache", "CDN", "static content to global users".Amazon CloudFront.
"static IP", "TCP/UDP", "non-HTTP", "no caching".AWS Global Accelerator.
"create, publish and secure APIs", "in front of Lambda".Amazon API Gateway.
"office to VPC", "encrypted", "over the internet", "quick to set up".AWS Site-to-Site VPN.
"remote employees", "individual users".AWS Client VPN.
"dedicated", "private connection", "consistent performance".AWS Direct Connect.

Decision rule: ask who is connecting. Users on the internet need Route 53, CloudFront, Global Accelerator or API Gateway. Your own offices and staff need a VPN or Direct Connect.

[278][281][283][289]

Exam-style practice

Cedar Lane Books needs its stores' network connected to its VPC this week. Traffic must be encrypted, and the budget is small. Which option meets these requirements?

Pick one answer.

[285][289]

A developer has written AWS Lambda functions that look up book stock. The mobile app needs a secure, scalable web endpoint to call those functions. Which AWS service should the developer use?

Pick one answer.

[284]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 16

[30][278][279][281][284][285][287][288]

Worth keeping

  1. Route 53 is DNS: domains, routing policies and health checks.
  2. CloudFront caches content at edge locations. Global Accelerator gives static IPs for TCP and UDP, with no caching.
  3. API Gateway is the front door for APIs, often in front of Lambda.
  4. Site-to-Site VPN: encrypted, over the internet, fast to set up. Client VPN: individual users.
  5. Direct Connect: dedicated and consistent, but slower to set up and not encrypted by default.

On the job

Connectivity is a common budget line in cloud projects. A project manager planning a move often hears "we'll start on a VPN and order Direct Connect". Now you know why. The VPN works this week, and the private line arrives later for steady, heavy traffic.

Finance teams like CloudFront for another reason. Every file served from an edge cache is one less request to the origin.

Every click, order and barcode scan at Cedar Lane Books now flows through AWS. That's a mountain of data nobody is reading yet. Next lesson: the analytics services that turn it into answers.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (18)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [4]AWS: CLF-C02 Content Domain 3: Cloud Technology and Services
  2. [29]AWS: How CloudFront delivers content
  3. [30]AWS: What is AWS Global Accelerator?
  4. [112]AWS: AWS Shield Standard overview
  5. [278]AWS: What is Amazon Route 53?
  6. [279]AWS: Choosing a routing policy
  7. [280]AWS: Creating Amazon Route 53 health checks
  8. [281]AWS: What is Amazon CloudFront?
  9. [282]AWS: Use AWS WAF protections
  10. [283]AWS: AWS Global Accelerator FAQs
  11. [284]AWS: What is Amazon API Gateway?
  12. [285]AWS: What is AWS Site-to-Site VPN?
  13. [286]AWS: What is AWS Client VPN?
  14. [287]AWS: What is Direct Connect?
  15. [288]AWS: Encryption in AWS Direct Connect
  16. [289]AWS: AWS Direct Connect FAQs
  17. [290]AWS: AWS Site-to-Site VPN (Amazon Virtual Private Cloud Connectivity Options)
  18. [291]AWS: AWS Direct Connect (Amazon Virtual Private Cloud Connectivity Options)