Overview
- Register a domain (or use an existing one)
- Create an SSL certificate in AWS ACM
- Configure your load balancer to use HTTPS
Step 1: Set Up Your Domain
Register your domain with Route 53 or use an existing domain. Create an A record pointing to your load balancer:Step 2: Create SSL Certificate
1
Request certificate
Go to AWS ACM and request a certificate for your domain (e.g.,
*.yourdomain.com or api.yourdomain.com).2
Validate the certificate
Choose DNS validation. ACM will provide CNAME records to add to Route 53.Click “Create records in Route 53” to add them automatically.
Certificate validation takes 5-30 minutes. Wait until status shows “Issued”.
3
Copy the certificate ARN
Once issued, copy the ARN. It looks like:
Step 3: Configure Load Balancer
1
Update prd_resources.py
Add the certificate ARN:
infra/prd_resources.py
2
Create HTTPS listener
3
Redirect HTTP to HTTPS