Enable Static Web Hosting

  1. After created S3 bucket we choose our bucket “my-nextjs-app-bucket-1”
06-s3
  1. Choose “Properties” tab
07-s3
  1. Scroll down and at the tab Static Website Hosting choose “Edit”
08-s3
  1. Static website hosting
    • Choose “Enable”
    • At Index document we type “index.html” (Because after build, our app will have an index.html file)
    • (Optional) At Error document we type “404.html”
09-s3
  1. Final, click “Save Changes”
10-s3