Step By Step solution
Step 1 -> Login to your S3 Management Console.
Step 2 -> Select the bucket from the left. At right, click the Properties button if it’s not already expanded.
Step 3-> Go to the Permissions tab and hit the Add Bucket Policy link. (If you’ve previously added a policy, the button will say Edit Bucket Policy instead).
Step 4 -> Copy and paste the bellow code in the Bucket Policy Editor popup. You’ll need to replace “BUCKET-NAME” with your full bucket name.
{"Version": "2008-10-17", "Statement": [{"Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::YOUR-BUCKET-NAME/*" }]}
Lets Get Started your project with professional way