DEV Community

Discussion on: Using Cloudfront, S3, and Route 53 for hosting

Collapse
 
andrewbrown profile image
Andrew Brown πŸ‡¨πŸ‡¦

In the last 6 month, AWS has changed the Block Public Access three times.

Ashwin on the ExamPro team wrote an introduction to static website hosting

At ExamPro we have a full end-to-end paid tutorial including automation of S3 Static Website Hosting for production use:

Some of the things listed:

  • How to set up your ACM
  • How to restrict traffic only through CloudFront
  • How to update CORS
  • How to handle routing for single page web-applications
  • An automation script to upload and invalidate to cache
  • Setting up CodePipeline so it deploys a new version of the website on git push

It's also worth noting that the AWS Documentation allows contributions by anyone and is hosted on Github.

aws.amazon.com/blogs/aws/aws-docum...

Collapse
 
jillesvangurp profile image
Jilles van Gurp

Nice but it leaves out all the non trivial stuff like redirecting mydomain.com to mydomain.com, setting up certificates with amazon, setting up cloudformation, ensuring that all the http traffic is redirected to https, etc. All that is covered above; for free.

Collapse
 
andrewbrown profile image
Andrew Brown πŸ‡¨πŸ‡¦ • Edited

We cover all those in our paid content and more. Today is AWS Innovate online conference so I am a bit short to write a full list or copy the outline.

I believe Kyle's book is S3 heavy as well which might interest others:

kylegalbraith.com/learn-aws/

Thread Thread
 
jillesvangurp profile image
Jilles van Gurp

Yeah I get that. Either way, probably largely overlaps with what I outline above. IMHO this stuff is stupidly complicated on AWS and requires a lot of hoops to be jumped through. Great for your business probably.