Static Website AWS S3
Static Website AWS S3
Use Cases:
5. Leave the default settings for the rest of the options and
click “Create bucket.”
Bucket is created.
3. You can either drag and drop files or use the upload
interface.
File index.html Uploaded.
Step 5: Make Objects Public
region.amazonaws.com.
You can also Add tag to the bucket for easy identification.
{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"AddPerm",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::bucket-name/*"]
}
]
}
You need to specify the default page and error page for
your website.
Now, you can see the distribution you created from the
CloudFront dashboard. It might take a few minutes for it to
be deployed.
After the CloudFront distribution has been deployed, copy
the URL from the Domain Name column and paste it into
your browser. Yay!🎉 That’s it!