Use the provided script to update your Route 53 domain name to point to the EC2 instance IP address that changes dynamically on reboot.
# configure crontab
sudo -i
chmod ug=rx,o= /root/update-dns.sh
systemctl enable cron.service
crontab -e
# crontab file
@reboot /root/update-dns.sh