S3 (Simple Storage Service) keeps files. In S3, a file is an object, and objects live in a bucket.
monster-marketa bucket
index.htmlobject
img/logo.pngobject
menu.htmlobject
An object's name is its key. A key can have slashes, like a path: img/logo.png. You write a bucket and a key together like this:
text
s3://monster-market/img/logo.png
↑ the bucket ↑ the keyBucket names are unique in the whole world, across every AWS account. If someone else already has photos, you can't make it. So add something of your own to the name.
New command
aws s3 mb
Makes a bucket. mb is short for make bucket. The bucket is made in your region.
Usageaws s3 mb s3://bucket
Example
aws s3 mb s3://dragon-photos-2026
A new bucket is private: only people in your account can read it. Later in this chapter, you open one to the world.