DEV Community

Brundha Rajendran
Brundha Rajendran

Posted on

AWS Documentation

** Deploying a React app to an Amazon S3 bucket and use Amazon CloudFront for global distribution.**
Steps:
Requirements:

  • A React app built with npm run build or yarn build.
  • An AWS account with access to S3, CloudFront, and IAM services. 1.Build the react application using "npm run build" command.

2.Build s3 Bucket

3.upload files and folders to s3

4.Enable static web hosting

5.Build cloudFront for global distribution

6.Run the URL in s3 and cloudFront

Image description

Image description
Image description
Image description

Image description

Image description

Image description

Image description

Documentation for deploying and running a React app on an Amazon S3 bucket and using CloudFront for distribution is successfully completed

Top comments (0)