知識庫

How to make the S3 Bucket "Public".

  • how to make s3 bucket public, s3 bucket, s3 public, public access to s3 bucket, public access to s3
  • 0

How to make the S3 Bucket "Public".

  1. i.e. install linux s3cmd

  2. Create .s3cfg file with the following:

    [default]
    access_key = <Your S3 Key>
    secret_key = <Your S3 Secret>
    check_ssl_certificate = True
    guess_mime_type = True
    host_base = s3.<DC>.sharktech.net (Data Centre Abbreviations: Los Angeles: LAX, Las Vegas: LAS, Denver: DEN, Chicago: CHI, Amsterdam: AMS)
    host_bucket = s3.<DC>.sharktech.net
    use_https = True

  3. Useful command examples to adjust your permissions: s3cmd setacl s3://<BUCKET> --acl-public --recursive (will make all files in your S3 buckets publicly accessible)

  4. You're Done.

    If you still need any help, please feel free to Submit Ticket to our Object Storage (S3) Dept.


這篇文章有幫助嗎?