Table of contents
- First, go S3 bucket
- Then create a new bucket
- Upload the code file from upload button
- Then upload all files
- Then upload become successfull
- Now we need to enable the static website hosting
- Now we need to make this bucket publically accessible
- now go to permission
- Now select all files and make public using ACL
- Now click on index.html and copy the URL
- Check the URL is working fine.
- Conclusion
First, go S3 bucket
Then create a new bucket
Give bucket to a name.
Make sure the default setting.
Then create the bucket.
Upload the code file from upload button
Then upload all files
Then upload become successfull
Now we need to enable the static website hosting
For this, click on properties and scroll to the bottom.
Save these changes
Now we need to make this bucket publically accessible
Click on permission, uncheck the "block all permossion"
now go to permission
click on object ownership edit and enable ACLI, save the changes
Now select all files and make public using ACL
Now click on index.html and copy the URL
Check the URL is working fine.
Conclusion
Finally we learn all how to host static website in AWS s3 bucket.
For more information you can reach through linkedin :- https://www.linkedin.com/in/sidharth-shukla/