02Chapter 2: Buckets: naming, scope and creationA bucket is the top-level container in S3. Every object lives in exactly one bucket, and nearly every setting in later chapters (access, encryption, versioning, lifecycle) is attached to a bucket. This chapter covers the rules for naming a bucket, what a bucket is scoped to, and how to create one co5 min read
03Chapter 3: Objects, keys and prefixesThis chapter assumes you can run basic AWS CLI commands, have created a bucket (see the previous chapter), and can read short Python snippets. It explains what an S3 object is, how its key works, and how to design key names so that listing and access stay predictable.6 min read
04Chapter 4: Working with S3 from the CLI and an SDKThis chapter assumes you have an AWS account, an IAM identity you can sign in as, and the AWS CLI v2 installed. It also assumes you can read basic Python. You will learn which CLI command family to use for which job, how credentials are found, and how to list, read and delete objects safely from bot5 min read
05Chapter 5: Regions, durability and availabilityThis chapter explains where S3 data physically lives, what "eleven nines of durability" means, and how durability differs from availability. It assumes you have read the earlier chapters on buckets and objects and know the basics of HTTP status codes. It also assumes you can read short Python script6 min read
06Chapter 6: Consistency: what you can rely on after a writeThis chapter assumes you can put, get, list and delete objects with the AWS CLI or boto3, as in the earlier chapters on keys and tooling. You also need to know that S3 is a distributed service that stores each object in multiple Availability Zones. The chapter explains which guarantees S3 gives afte6 min read
07Chapter 7: Controlling access with IAM, bucket policies and Block Public AccessThis chapter assumes you know what an AWS account, an IAM user and an IAM role are. You should also be comfortable reading JSON and running AWS CLI commands. By the end you will know which of three access controls applies to a request and how they combine. You will also know how to lock a bucket dow5 min read
08Chapter 8: Encrypting data at rest and in transitThis chapter assumes you can create a bucket, upload objects with the AWS CLI or boto3, and read an IAM or bucket policy. It covers two separate protections. Encryption at rest protects the stored bytes. Encryption in transit protects the bytes while they move between a client and S3.6 min read
09Chapter 9: Sharing private objects with presigned URLsA presigned URL lets someone download or upload one S3 object without having AWS credentials of their own. This chapter explains how the URL is built, what limits its lifetime, and which mistakes cause the most trouble. It assumes you can run the AWS CLI and read basic Python. It also assumes you kn6 min read
10Chapter 10: Choosing a storage classEvery S3 object has a storage class. The class sets what you pay to store the object, what you pay to read it, how quickly you can get it back, and how many Availability Zones hold it. This chapter assumes you can create buckets and upload objects with the CLI or boto3, and that you know what a life6 min read
11Chapter 11: Versioning and recovering from mistakesThis chapter assumes you can create a bucket, upload objects with the AWS CLI or boto3, and read a basic IAM or bucket policy. You should also know that an object is identified by a bucket and a key.6 min read
12Chapter 12: Automating transitions and expiration with lifecycle rulesA lifecycle configuration tells S3 to move objects to cheaper storage classes or delete them as they age, so you don't have to script that work. This chapter assumes you know what a storage class is, how keys and prefixes work, and what versioning does. It also assumes you can run aws s3api comman5 min read
13Chapter 13: Uploading large objects with multipart uploadThis chapter assumes you can create a bucket, upload objects with the AWS CLI or boto3, and read basic Python. You should also know what an S3 key is and have a rough idea of IAM permissions. Earlier chapters cover those.6 min read
14Chapter 14: Reacting to changes with event notificationsS3 can tell other services when something happens to a bucket. A new object arrives, an object is deleted, or a lifecycle rule expires one, and S3 sends a message. You can use this to start a thumbnail job on each upload, queue files for processing, or alert a team when a file disappears.5 min read
15Chapter 15: Replicating objects across buckets and RegionsThis chapter explains how S3 replication copies objects from one bucket to another, and where its behavior differs from what people expect. It assumes you know how to create buckets and enable versioning, can read IAM policy JSON, and are comfortable with the AWS CLI.5 min read
16Chapter 16: Cost and performance considerationsThis chapter assumes you know buckets, keys, storage classes, versioning, lifecycle rules, and multipart upload from earlier chapters. It also assumes you can read basic boto3 code. Here you will see where S3 charges come from, which design choices drive them, and how request patterns affect through6 min read