--- type: video yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLjdkak1aNU9UR19F videoId: 7djMZ5OTG_E title: "Deploy React App to S3 with Custom Domain" date: "2022-06-27T14:00:07Z" slug: "deploy-react-app-to-s3-with-custom-domain" image: name: "deploy-react-app-to-s3-with-custom-domain.jpg" alt: "Deploy React App to S3 with Custom Domain" width: 1280 height: 720 status: 'published' description: "Learn how to deploy a react app, or any static website, to an s3 bucket with a custom domain name." tags: ['nodejs', 'react', 'react js', 'javascript', 'serverless'] --- Learn how to deploy a react app, or any static website, to an s3 bucket with a custom domain name. ## Chapters: * 0:00โ€‹ Intro * 0:46 Building the react app * 2:09 Create an S3 bucket * 3:54 Upload files to S3 * 4:28 S3 Static Website Hosting * 6:04 S3 Policy Permission * 8:18 Custom Domain Name * 10:15 Deploy Site Updates * 11:13 Deploy Updates with AWS CLI * 13:15 HTTPS ๐Ÿ”—Code Snippets: [https://gist.github.com/meech-ward/c0ee31fc2256c7fab6d494121071e53c](https://gist.github.com/meech-ward/c0ee31fc2256c7fab6d494121071e53c) ๐Ÿ”—Route 53 Domain Name [https://youtu.be/jDz4j_kkyLA](https://youtu.be/jDz4j_kkyLA) ๐Ÿ”— AWS CLI [https://youtu.be/_DIRSI07kxY](https://youtu.be/_DIRSI07kxY) ๐Ÿ”—S3 Static Website AWS CLI [https://sammeechward.com/aws-cli-s3-static-website/](https://sammeechward.com/aws-cli-s3-static-website/)