Configure DNS
Why an Elastic IP matters for DNS
A reverse proxy that terminates TLS (see Configure SSL) needs a hostname that reliably points at the instance. An Elastic IP is a static public address that stays with your AWS account. Allocate one before you create the DNS record. Without it, a stopped and restarted instance comes back with a new public address, and the record goes stale until someone repoints it.