Deploy static web applications to S3 and CloudFront and serve them over HTTPS.

Part — I

Deploy static web apps to S3 and serve them using CloudFront and HTTPS.

Part — II

A few more instructions for SPAs. (Please note if you’re using Gatsby.js, these instructions are not applicable)

Pro tip:

Side info:

The publish script that we use looks like this.
Don’t feel shy to clap if you liked the article! :)

--

--

--

I dream of falling down a rabbit hole where I’d slay dragons for a living.

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
Mustansir Zia

Mustansir Zia

I dream of falling down a rabbit hole where I’d slay dragons for a living.

More from Medium

How to deploy Fargate Service (Serverless) using AWS CDK

How to find API gateway URLs

Multitenant RDS Database Management

Deploying React app in AWS S3/Cloudfront using Docker & Jenkins or GitHub Actions