lwc:archive:s3_glacier

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:archive:s3_glacier [2024/08/19 14:30] John Harrisonlwc:archive:s3_glacier [2025/06/29 21:02] (current) John Harrison
Line 10: Line 10:
   * [[https://jmanteau.fr/posts/delete-a-vault-in-aws-glacier/|delete contents in vault]]   * [[https://jmanteau.fr/posts/delete-a-vault-in-aws-glacier/|delete contents in vault]]
     * [[https://gist.github.com/veuncent/ac21ae8131f24d3971a621fac0d95be5|similar information with comments]]     * [[https://gist.github.com/veuncent/ac21ae8131f24d3971a621fac0d95be5|similar information with comments]]
 +
 +==== S3 ====
 +=== making a bucket publicly accessible ===
 +// [[https://saturncloud.io/blog/how-to-make-an-s3-bucket-public/|source]]//
 +  * Navigate to ''Permissions''
 +  * If ''Block all public access'' under ''Block public access (bucket settings)'' is ''on'', edit and switch to ''off'' 
 +  * While still in the ''Permissions'' tab edit ''Bucket Policy''
 +  * add the following statement to the policy
 +<code>
 +{
 +    "Version": "2012-10-17",
 +    "Statement": [
 +        {
 +            "Sid": "PublicReadGetObject",
 +            "Effect": "Allow",
 +            "Principal": "*",
 +            "Action": [
 +                "s3:GetObject"
 +            ],
 +            "Resource": [
 +                "arn:aws:s3:::<PUT_BUCKET_NAME_HERE>/*"
 +            ]
 +        }
 +    ]
 +}
 +</code>
 +  * <del>enable static website hosting in the ''Properties'' tab</del> <- is this required?
  
 ==== S3 for Glacier ==== ==== S3 for Glacier ====
  • lwc/archive/s3_glacier.1724095812.txt.gz
  • Last modified: 2024/08/19 14:30
  • by John Harrison