How to deploy a static NextJS in AWS S3 | Host NextJS in S3 Bucket

Published: 26 November 2022
on channel: MrNick
9,148
70

This video will show you how to upload and deploy NextJS static in AWS. By following the instructions you can easily host a Nextjs in s3 quickly.

1. package.json: - in scripts object
"build": "next build && next export -o build",
2. To build `$npm run build`
3. Create a new S3 bucket and upload all files and folders in the bucket from the "**build**" folder
4. Make it a Static website
5. Enable ACL in the permissions

#nextjs #awss3 #next

----------------------- Thanks for watching --------------------------------------


Watch video How to deploy a static NextJS in AWS S3 | Host NextJS in S3 Bucket online, duration hours minute second in high quality that is uploaded to the channel MrNick 26 November 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,148 times and liked it 70 visitors.