code for article pfeilbr/aws-cloudfront-playground
steps to create a cloudfront distribution from s3 bucket with static website hosting turned on
-
create bucket and turn static website hosting on
-
create cloudfront distribution and select orgin bucket
-
set CNAME in cloudfront distribution
-
create CNAME in registrar (hover in this case)for cloudfront distribution
-
view content via friendly CNAME URL and cloudfront dist URL
Twitter • Reddit