Never touched AWS before. So when I got asked to upload a React build to S3, my first question was: what even is a bucket.
Turns out a bucket is just a storage container in S3, kind of like a folder, but with its own unique name and global scope. Every file you upload lands in this bucket, each with its own permissions and configuration.
The process itself isn’t complicated. Build React locally with npm run build, then sync the output to the bucket with aws s3 sync. The static files, HTML, JS, CSS, land straight in S3, ready to be served.