Associating a DNS name

It is not indispensable for the exercise, but if you have a public domain register, you can create an A DNS record

You need to have a Route 53 public domain registered like mine: devopstools.link. If you don't know how to register, go to https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-register-update.html and follow the instructions there. Based on my experience, you will need to wait from 30 minutes to two hours and the new domain will then be available. To create a record follow these steps:

  1. Go to Route53 | Hosted zones and select your zone
  2. Click on the Create Record Set button
  3. Insert a name and choose the bookapp name
  4. Insert the public IP of your EC2 machine 
  5. Click on the Create button as shown ...

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.