AWS Route53 Exam Preparation

Route53 is Amazons’ Domain Name System(DNS) service.

  • Route 53 performs three main functions:
    • Domain registration,
    • DNS service
    • Health check.
  • It is available @ Global level like IAM.
  • Hosted Zone – A collection of resource record sets hosted by Amazon Route 53.
    • Private hosted zone
      • A container that holds information about how you want to route traffic for a domain and its subdomains within one or more VPC‘s.
    • Public hosted zone
      • A container that holds information about how you want to route traffic on the Internet.
  • Import Record Tyes
    • Start of Authority (SOA) record & Name Server(NS) – Created by default.
    • A / AAAA record – address record/IPv6 address record.
    • CNAME – canonical name record or alias, eg: we can say www to be appended if the user types just awsontop.com,it will route to www.awsontop.com
    • MX – Mail Exchange.
    • SPF(Sender Policy Framework) records – Used to verify authorized senders of mail from your domain.
    • TXT – Used to store arbitrary and unformatted text with a host.
  • Routing Policy
    • Simple
      •  Default
      • if there is only one resource performs the function – use this.
    • Weighted
      • Useful if there are more than 1 resource like when we are using ELB with a single DNS.
      • Distribute the traffic 25% to one site and other 75% to other site.
    • Latency Based
      • Route the traffic based on lowest latency for the end user.
    • Failover
      • To configure active-passive failover, so if the active site goes down the request will be automatically transferred to passive site.
      • Note that you can’t create failover resource record sets for private hosted zones.
    • Geolocation
      • Route 53 will send your traffic based on the geographic location of users, like user request from Europe will be transferred to Europe site.

Exam Tips:

  • Use an alias record, not a CNAME, for your hosted zone. CNAMEs are not allowed for hosted zones in Amazon Route 53.
  • Do not use A records for subdomains (for example, www.domain.com), as they refer to hardcoded IP addresses.
  • 2 Records are created by Default Start of Authority (SOA) record & NS(Name Server) when a Domain is created.
  • It is a must to have below records,
    • A
    • SOA
    • NS
    • CNAME
  • For For Blue Green deployments use Weighted Routing.
  • Mail eXchange (MX) records to define which inbound destination mail server should be used.
  • Health checks and DNS failover are major tools for highly available and resilient to failures.
  • Create Multivalue record to route traffic to multiple resources.

Practice:

Create Hosted Zone. Refer to Route53 Blog.

Leave a Reply

Your email address will not be published. Required fields are marked *