ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Networking and Content Delivery · 基于 CLF-C02

Amazon Route 53

Pick the routing policy that matches the clue, alias records, the three kinds of health check, and private DNS.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • Route 53 is the AWS DNS service: it registers domains and answers DNS queries.
  • A routing policy picks the answer for each user, and health checks avoid failed endpoints.
  • Latency routing and failover routing are the two policies you already met.
阅读云从业者课程
  • Simple

    One resource, or several values at once
  • Weighted

    Split traffic by percent: canary, migration
  • Latency

    Several Regions, fastest one for the user
  • Failover

    Active-passive, with a health check
  • Geolocation

    By user country or continent
  • Geoproximity

    By distance, with a bias
  • Multivalue answer

    Up to 8 healthy records
  • IP-based

    By the client’s IP range
Match the clue in the question to the policy.

1 / 2

  • Simple

    One resource, or several values at once
  • Weighted

    Split traffic by percent: canary, migration
  • Latency

    Several Regions, fastest one for the user
  • Failover

    Active-passive, with a health check

2 / 2

  • Geolocation

    By user country or continent
  • Geoproximity

    By distance, with a bias
  • Multivalue answer

    Up to 8 healthy records
  • IP-based

    By the client’s IP range
Match the clue in the question to the policy.
  • Endpoint

    Watches
    A URL, IP address or domain
    Use for
    Public web servers
  • Calculated

    Watches
    Other health checks
    Use for
    Combine with AND or OR
  • CloudWatch alarm

    Watches
    A metric alarm
    Use for
    Private resources, custom metrics
Three kinds of health check.

是什么

A routing policy tells Route 53 how to answer. Simple: one record, or several values returned together. Weighted: split traffic by percentage, for canary tests and migrations. Latency: the Region with the lowest latency for the user. Failover: a primary, and a secondary used when the primary’s health check fails. Geolocation: by the user’s country or continent. Geoproximity: by distance to your resources, with a bias to shift traffic. Multivalue answer: up to eight healthy records at random. IP-based: by the client’s IP range, using a CIDR collection you upload that maps address ranges to locations.

是什么

An alias record points a name to an AWS resource, such as an ALB, a CloudFront distribution or an S3 website. Unlike a CNAME, it works at the zone apex (example.com), and queries to it are free. A health check can watch an endpoint, combine other checks (calculated), or follow a CloudWatch alarm. The alarm type is how you check private resources that the internet health checkers cannot reach. A calculated check combines up to 255 other checks, for example healthy when at least 2 of 3 are healthy. Failover routing needs a health check on the primary record.

是什么

Traffic Flow is a visual editor for building a tree of records that mixes policies, such as latency records that lead to weighted ones. You save it as a versioned traffic policy.

TTL is how long resolvers cache an answer. Use a low TTL, such as 60 seconds, before a planned failover, because a high TTL keeps users on the old address. A private hosted zone answers names only inside the VPCs you attach to it. Route 53 Resolver links DNS between a VPC and your own network: inbound endpoints accept queries from on premises, and outbound endpoints forward queries out by rules.

要记住

  • Policies: simple, weighted, latency, failover, geolocation, geoproximity, multivalue, IP-based.
  • Alias: free queries, works at the apex, points to AWS resources. A CNAME cannot sit at the apex.
  • Health check types: endpoint, calculated, CloudWatch alarm.
  • Failover routing needs a health check on the primary.
  • A low TTL means faster changes and more queries.

要记住

  • Private hosted zone: names inside a VPC. Resolver endpoints link DNS to on premises.

考试中

  • “Send 10 percent of users to a new version” points to weighted routing.
  • “Users in Germany must see the German site” points to geolocation routing.
  • “Lowest latency for global users with endpoints in several Regions” points to latency routing.
  • “Resolve internal names from on premises” points to a Route 53 Resolver inbound endpoint.