People remember names; computers connect to addresses. DNS (the Domain Name System) turns one into the other.
Route 53 is AWS's DNS. A domain's records live in a hosted zone:
| Record | Points a name at |
|---|---|
| A | an IP address |
| CNAME | another name |
| alias | an AWS resource, such as a load balancer (Route 53 only) |
Each answer has a TTL (time to live): how long resolvers may keep it. A change reaches everyone only after the old answer expires.
A CDN (content delivery network) keeps copies of your files in edge locations in hundreds of cities. AWS's is CloudFront: the first request for a file goes to the origin (a bucket or a load balancer), and the next ones are answered from a nearby copy. An invalidation clears copies early, after a file changes.
HTTPS encrypts the traffic and proves the site's name with a certificate. ACM (Certificate Manager) gives free certificates, once a DNS record proves you own the name, and you attach them to a load balancer or to CloudFront.