Deploy a React App to AWS

In this section we'll be looking at how to deploy your React app as a static website on AWS.

The basic setup we are going to be using will look something like this:

  1. Upload the assets of our app
  2. Use a CDN to serve out our assets
  3. Point our domain to the CDN distribution
  4. Switch to HTTPS with a SSL certificate

AWS provides quite a few services that can help us do the above. We are going to use S3 to host our assets, CloudFront to serve it, Route 53 to manage our domain, and Certificate Manager to handle our SSL certificate.

So let's get started by first configuring our S3 bucket to upload the assets of our app.