Jesse Skinner :javascript: on Nostr: TIL: to get the location of any S3 bucket, you can just do: curl -sI https:// ...
TIL: to get the location of any S3 bucket, you can just do:
curl -sI https:// bucketname.s3.amazonaws.com
(remove the space after https://)
and the answer is in the header:
x-amz-bucket-region: us-east-1
#aws #webdev
Published at
2025-01-13 15:27:46Event JSON
{
"id": "a184c8560958a3b75eafdca8e9f4fc9cf45d3fd7912b32f5ae9c38bf1d11c460",
"pubkey": "ec950969771e5eb6e15d6bc17a97111aeaeb1088823b745be222344f1825f630",
"created_at": 1736782066,
"kind": 1,
"tags": [
[
"t",
"aws"
],
[
"t",
"webdev"
],
[
"proxy",
"https://toot.cafe/users/JesseSkinner/statuses/113821749540075918",
"activitypub"
]
],
"content": "TIL: to get the location of any S3 bucket, you can just do:\n\ncurl -sI https:// bucketname.s3.amazonaws.com\n\n(remove the space after https://)\n\nand the answer is in the header:\n\nx-amz-bucket-region: us-east-1\n\n#aws #webdev",
"sig": "7d831b90492ebae3b65576ed1ce527dfc85bd1d0f0993929eac197587098400d2f93100173b3adc94de6d7acfcb01966306dffbb203dff2976bc471f02b3e34a"
}