Learning Python Networking - Second Edition
by José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington
S3 buckets and objects
S3 organizes the data that we store in it using two concepts: buckets and objects. An object is the equivalent of a file, that is, a blob of data with a name, and a bucket is equivalent to a directory. Every bucket has its own URL of the form http://s3.<region>.amazonaws.com/<bucketname>.
In the URL, <bucketname> is the name of the bucket and <region> is the AWS region where the bucket is present, for example eu-west-2. The bucket name and region are set when we create the bucket.
Bucket names are shared globally among all S3 users, and so they must be unique. If you own a domain, then a subdomain of that will make an appropriate bucket name.
Objects are named when we first upload them. We access objects by adding the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access