Video and Quiz in Static Web Page Hosting using S3 Bucket

Описание к видео Video and Quiz in Static Web Page Hosting using S3 Bucket

For code click on below link

https://github.com/vijayachandra3142/...

Log in to the AWS Management Console.
Go to the S3 service and select the bucket you want to make public.
Go to the Permissions Tab:

In the bucket details, click on the "Permissions" tab.
Add a Bucket Policy:

Scroll down to the "Bucket policy" section.
Click on "Edit" and paste the following JSON policy, replacing your-bucket-name with the actual name of your bucket.
json
Copy code
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}
This policy allows public read access to all objects in the bucket.
Save the Policy:

After pasting the policy, click "Save changes."
Verify Public Access:

Test your static website by accessing the URL associated with your S3 bucket. It should be publicly accessible.

Комментарии

Информация по комментариям в разработке