A web to improve typing speed through focus the word.
Deploymenteploy a static website on Amazon S3 with a custom error page.
-
Create S3 Bucket:
- Create a new bucket in the AWS S3 console.
-
Upload Files:
- Upload HTML, CSS, JS files, including
error.html
.
- Upload HTML, CSS, JS files, including
-
Configure Hosting:
- Enable static website hosting in bucket properties.
- Set index document (e.g., index.html) and error document (e.g., error.html).
-
Set Public Access:
-
Configure bucket policy for public read access.
-
Go to the "Permissions" tab.
-
Click on "Bucket Policy."
-
Add a policy allowing public read access. Replace "your-bucket-name" with your bucket name.
-
{
"Version": "2012-10-17",
"Id": "Policy1705994504443",
"Statement": [
{
"Sid": "Stmt1705994503332",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::devops-training-yatharth/*"
}
]
}
- Access Website:
- Find the endpoint URL under static website hosting.
Now, static website is live on AWS S3. Replace "your-bucket-name" with your actual bucket name.