Route 53


Background

This acts like a DNS (Domain Name System) Resolver, to redirect your domain name to the relevant IP address, other free open source software can be used like PowerDNS.

Steps

Assume that you have already got a domain under Route 53 → Sidebar Domains → Registered domains,

  1. Back to Route 53 Dashboard → Hosted Zone → Click your domain name.
  2. It should have two default records, one is Type NS (Namespace) and one is SOA (Start of Authority).
  3. Now Create Record (to forward to S3 record) → Simple routing → Next → Define simple record,
  4. 
    define subdomain: {???}.happy.com
    Record type: A
    Value/Route traffic to: Alias to S3 Website endpoint
    Region: {where your bucket}
    Bucket: {bucket name}
    Evaluate target health: No (if nothing behind the host)
        
  5. Define simple record → Create records.
  6. Go on ACM, it helps you to register SSL cerificate for your website. (It will have a button for 'Create record in Route 53'.)

References