AWS-Logo_White-Color
View My Workshops
1.
Introduction
2.
Preparation
3.
Setup S3
3.1.
Create S3 bucket
3.2.
Enable Static Web Hosting
4.
Setup Cloudfront
5.
Setup IAM
5.1
Create Identity Provider (OIDC)
5.2
Create IAM Role
6.
Setup Github
7.
Testing result
8.
Clean up resources
9.
IaC (Terraform)
More
AWS Study Group
Workshop Repository
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last Updated
02-09-2024
Team
Nam Nguyen
Deploy Static Site NextJS App to S3
>
Setup S3
> Enable Static Web Hosting
Enable Static Web Hosting
After created S3 bucket we choose our bucket
“my-nextjs-app-bucket-1”
Choose
“Properties”
tab
Scroll down and at the tab
Static Website Hosting
choose
“Edit”
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”
Final, click
“Save Changes”