I have been trying to host a simple static webpage on s3. However, when I was clicking on the endpoint through the properties --> static website hosting section, the screen displayed a 403 error with the message: AccessDenied.
I later tried to make the bucket content public by changing the bucket policy's principal part to "Principal": { "AWS": "*" }, but the same error message AccessDenied popped up again.
Is there any way I can grant public access to view my webpage by getting the permission to change the bucket policy of my own bucket created by my own account, I tried to follow the official tutorial for hosting static website on s3 but I am denied of access while the tutorial does not have this issue at all.