IP addresses are somewhat hard to remember. Names are much easier. google.com is much easier to remember than 16.42.0.9 but there must be some mechanism to convert the network names into an IP address.
Amazon Route 53 is a scalable and highly available DNS web service that offers domain registration services and allows you to manage your domain by configuring DNS settings such as routing traffic to different endpoints.
Note
Read here about how the DNS protocol works
Throughout the bootcamp, you'll be using a real registered domain to manage and access the services that you'll deploy in the cloud.
We've already registered a domain that will be shared by all students: devops-days-upes.com
.
When registered your domain, Route 53 created a Hosted Zone.
A hosted zone in Amazon Route 53 is a container for DNS records associated with a domain, effectively acting as the authoritative server for that domain. It enables you to manage how traffic is routed to your resources by defining various record types, such as A and CNAME records.
-
In the navigation pane, choose Hosted zones.
-
Choose the hosted zone associated our domain:
devops-days-upes.com
. -
Choose Create record.
-
Define an
A record
for a custom sub-domain of yours (e.g.my-name.devops-days-upes.com
), the record value is an IP address of your EC2 instance created in a previous tutorial1. -
Choose Create records.
Note
Your new records take time to propagate to the Route 53 DNS servers.
Try to connect to your instance via:
ssh -i ... ubuntu@my-name.devops-days-upes.com
While changing ...
to the path of your private key .pem
file.
Footnotes
-
EC2 instance deployed in Intro to cloud computing. ↩