Quantcast
Image

Search Results for: create-public-bucket

How to host static website on AWS S3

By  •  November 28, 2023

AWS S3 is great for hosting highly available and reliable files. Users can use a web browser to access the files as if browsing a website if public access …
Read More

How to distribute AWS S3 objects using BitTorrent

By  •  November 28, 2023

S3 provides highly available and reliable file hosting, but it could become very costly to distribute large files such ISO images as AWS charges for bandwidth usage. You can …
Read More

How to allow public access to private AWS S3 bucket objects

By  •  November 28, 2023

Access to AWS S3 buckets is by default set to private. This denies access to the objects within the bucket from everyone.

One way to allow access …
Read More

How to log access to AWS S3 bucket and website

By  •  November 28, 2023

AWS S3 can distribute files to the public by configuring a public bucket or configuring public access to specific objects from within the bucket. S3 can also be used …
Read More

How to create public S3 bucket in AWS

By  •  May 28, 2023

S3 buckets are by default private. You can configure your S3 buckets to be publicly accessible by applying appropriate bucket policy with the following steps. Be warned that his method will make the whole content of the bucket public.

  1. Create a private S3 bucket if you don’t already have one.

  2. In the AWS S3 console, select the bucket that you want to make public.
  3. Click on the Properties tab to the top right of the page and click on the Permissions card.
  4. Click on Add bucket policy link.
  5. Here you can use the AWS Policy Generator via the link at the bottom left, or just paste the following code at the editor.

    {
      "Version":"2012-10-17",
      "Statement":[
        {
          "Sid":"AddPerm",
          "Effect":"Allow",
          "Principal": "*",
          "Action":["s3:GetObject"],
          "Resource":["arn:aws:s3:::osdocs-testbucket/*"]
        }
      ]
    }

    Make sure you replace osdocs-testbucket with your own bucket name.


  6. Click on the Save button.
  7. And click on the Save button again here.
  8. Within your bucket, select any of your object and click on the Properties tab.
  9. Click on the link for your object.
  10. You should be able to view your content now.
Top