AWS Solutions Architect Associate Certification
Services Networking
Demo Route 53
In this lesson, we demonstrate AWS Route 53, a managed DNS service that allows you to both register domain names and define DNS records—all within the AWS ecosystem. By leveraging Route 53, you can register domains directly without relying on third-party registrars like GoDaddy or Namecheap.
Domain Registration
First, search for "Route 53" in the AWS console and open the Route 53 service. In the Domains section, select "Registered domains." Since no domains are registered in your account yet, you can choose to either transfer an existing domain or register a new one. In this demonstration, we will register a new domain.
Check Domain Availability:
Enter a domain name to see if it is available. For demonstration purposes, we will use a dummy name such as "KodeKloudDemo123.com" (alternatively, "KodeKloudDemo123.link"). In this example, we select the .com option, priced at $13 per year. Click on the domain and then click "Proceed".Checkout Process:
At checkout, you'll see an option to enable auto renew, which automatically renews your domain after one year, ensuring uninterrupted ownership.Note
If auto renew is deselected, you must manually renew the domain—a process that can easily be overlooked.
Provide Contact Information:
Fill out the form with your details and be sure to enable privacy protection for all contacts associated with your domain.Review & Submit:
Click "Next" to review your registration details. On the recap page, you'll see the purchase summary along with a note on a small hosted zone management fee charged in addition to the registration fee.Scroll down, verify your contact information, agree to the terms and conditions, and click "Submit." Domain registration may take some time; you will receive an email with the registration status for each domain. Be sure to monitor your email and later check the "Registered domains" section in Route 53.
Post-Registration Details:
Once registered, your domain listing will display details such as the registration date, expiration date (typically one year out), and the auto renew setting. Clicking on your domain provides additional info including the four name servers assigned by AWS. These name servers identify the hosted zone where your DNS records are stored.
DNS Management
After domain registration, manage your DNS records by navigating to the "Hosted zones" section. Here you will find a hosted zone for your newly registered domain. Clicking on the hosted zone reveals details like the reserved DNS servers and the default DNS records configured by AWS. To add a new DNS record, click on "Create records."
For instance, if you have a public web server with an IPv4 address and you want your domain name to point to that server, you can create an A record. Follow these steps:
- In the "Create record" menu, select the A record type.
- Specify whether the record applies to the root domain (e.g., "kodeklouddemo123.com") or a subdomain (e.g., "www.kodeklouddemo123.com").
- Paste the server's IP address, set the desired TTL (Time To Live), and create the record.
Route 53 will propagate the new DNS record to all authoritative DNS servers within approximately 60 seconds. You can check the propagation status by using the "View Status" button.
Once propagation is complete, you can open your browser and enter your domain name (e.g., "kodeklouddemo123.com") to access your web server by its domain rather than its IP address.
Summary
This article demonstrated how AWS Route 53 allows you to register a domain and create DNS records to route traffic to a web server. Understanding these procedures is essential for the AWS Solutions Architect Associate Certification exam, as Route 53 is a fundamental part of managing domain names and DNS entries in the AWS cloud.
Watch Video
Watch video content