Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.03 KB

s3.md

File metadata and controls

32 lines (23 loc) · 1.03 KB

s3

Today I learnt ...

... how to upload a file to an existing publicly available S3 bucket

2023-12-20T11:38:34+00:00

Use existing aws-cli to quickly put a file in the cloud and allow it to be downloaded without auth

Resources

Prerequisites

Recipe

  1. Get name of S3 bucket

  2. Read into a bash variable

  3. Use aws-cli cp to upload

    aws s3 cp test.txt s3://howapped-storage-bucket-howappedstoragebucket-5rdjdikttg7h/test.txt