Skip to content

Notes on Amazon S3

Anthony Fok edited this page Jun 17, 2021 · 4 revisions

Verify checksum

Get the ETag:

$ aws s3api list-objects-v2 --bucket opendrr-api-prebuilt-cache-1 --profile opendrr-api-s3-reader
{
    "Contents": [
        {
            "Key": "boundaries/opendrr-boundaries.sql",
            "LastModified": "2021-06-17T06:05:14+00:00",
            "ETag": "\"20b8d16a40cbe5daf6f4d5dfd051840b-131\"",
            "Size": 1098382563,
            "StorageClass": "STANDARD"
        }
    ]
}

Calculate MD5 checksum