Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.11 KB

deploying-a-react-app-to-aws.md

File metadata and controls

25 lines (20 loc) · 1.11 KB
layout title date lang description comments_id ref redirect_from
post
Deploy a React App to AWS
2017-02-04 16:00:00 -0800
en
Tutorial on how to host a React.js single page application on AWS S3 and CloudFront.
deploy-the-frontend/39
deploy-the-frontend
/chapters/deploying-a-react-app-to-aws.html
/chapters/deploy-the-frontend.html

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.