S3 - Create a static website
S3 - Create a static website
Creating static website with S3 bucket is very easy. This will make not only your website fast but also hassle-free and cheap alternative to traditional hosting.
- Please read this post before going further - https://www.learn-aws.com/2024/11/s3.html
- Create a bucket and set the permissions.
- Click on the bucket, and navigate to the "Properties" tab, scroll down you will see this option.
- Create a simple index.html file like the one below and upload it with the files you used in index file. In this case "aws.png" is also uploaded into the bucket as well.<html><title> Hello from AWS S3 </title><body><img src="aws.png" alt="AWS"></body></html>
Comments
Post a Comment