Host React App on AWS S3 with SSL (almost) for free

Why is it good idea?

Create S3 Bucket

  • myworktime.online ( production version )
  • dev.myworktime.online ( developer version )
Region selection doesn’t really matter — just select one that’s closest to you
Go to bucket -> Properties -> Static website hosting

Setup CloudFlare

  1. Name: @, Value: myworktime.online.s3-website-eu-west-1.amazonaws.com
  2. Name: dev, Value: dev.myworktime.online.s3-website-eu-west-1.amazonaws.com
If your SSL certificate isn’t ready yet go with non-ssl version
Go to Page Rules and create new rule like that

Override S3 Caching

The greater it will be more S3 requests you’ll save

Automatic deployment

Unlisted

--

--

IT enthusiast and practitioner. One of the founders of wfirma.pl — leading accounting SaaS in Poland.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jakub Wietrzyk

Jakub Wietrzyk

109 Followers

IT enthusiast and practitioner. One of the founders of wfirma.pl — leading accounting SaaS in Poland.