luke-h1 / lho-lambda

Supporting lambdas for lhowsam.com
0 stars 0 forks source link

investigate using AWS owned certificates to reduce costs #160

Open luke-h1 opened 1 hour ago

luke-h1 commented 1 hour ago

Instead of importing the domains for a cost, look at provisioning thru was and adding record into cloudflare

luke-h1 commented 1 hour ago

Will need to provision a test environment for this to avoid staging + prod down time

luke-h1 commented 1 hour ago

Create AWS Route53 Zone Create AWS ACM Certificate (must be in us-east-1) with validation method DNS Create Cloudflare DNS Record with the output of (2) Create AWS API Gateway Domain Name Create Cloudflare DNS CNAME Record pointing '@' (root domain) to the Cloudfront domain name from step (4) Create AWS API Gateway Base Path Mapping

Recreate the above in terraform and provision a test environment for doing this using branch deploys. Attempt to do two levels of subdomains too. i.e. nowplaying.test.lhowsam.com