Deploy a Create React App SPA on AWS

You can deploy a Create React App site on AWS in under a minute. Your site is served over a lightning-fast global CDN, comes with fully managed TLS certificates, and supports custom domains out of the box.

Terminal window
npx create-react-app my-app --use-npm
  1. Use your existing React repository.

  2. Create a new Application on Thunder, and give Thunder permission to access your new repo.

  3. Use the following values during creation:

ParameterValue
Install Commandnpm install
Build Commandnpm run build
Output Directorybuild

That’s it! Your app will be live on your CloudFront URL as soon as the build finishes.