S3(Simple Storage Service)
You have bucket: picworld-photos.
User id=101 uploads profile picture:
users/101/profile.jpgContent-Type: image/jpeg, x-amz-meta-uploaded-by: kush, Cache-Control: max-age=86400Why this structure?
users/101/... group files for that user and make listing/cleanup easy.Content-Type ensures browsers render the picture, Cache-Control speeds repeat loads, custom metadata helps you identify objects later.Amazon S3 = Amazon Simple Storage Service
Think of it like a Google Drive or Dropbox provided by AWS, but much more powerful and used by companies, apps, and websites.
my-photos-bucket, you’ll upload images inside it.