Amazon S3 00:00:01 A photo becomes an object A photographer uploads a portrait under one object key in an Amazon S3 Standard bucket. Distinguish the permission to write, the durable object and the name through which readers retrieve it. The front end checks the signature and every policy. A deny anywhere ends it. This example uses a multi-Availability-Zone storage class. The service stores data redundantly and verifies its integrity. Only now does the key point to the new data, and the app gets 200. A single-zone failure can be tolerated by the illustrated multi-zone design. The drawing does not specify S3's private data layout. S3 provides strong read-after-write consistency for object operations. Availability and durability still depend on the service and storage class; a regional object is not a separate cross-region backup. 00:00:53 Let the browser send the bytes Issue a short-lived presigned request for a designated object after the application authenticates the photographer and authorizes the action. Keep the large file off the application server's data path. The browser asks for a place. The app checks the user and chooses the key. The app returns a URL for one key and 15 minutes. The browser sends 5 MB straight to the bucket. An object-created event can start resizing or validation. A worker should recognize a repeated notification for the same object version. Readers come through the CDN, which fills itself from the bucket. The signed request's constraints and expiration determine its permitted use. Validate the completed media and design downstream processing to tolerate duplicate event notifications. 00:01:42 Retry one part of a large movie The photographer next uploads a movie. A multipart upload identifier scopes numbered parts to one future object. Independent requests can upload several parts concurrently. S3 returns an upload ID. Nothing is visible yet. Four parts travel at the same time. Part two fails. The accepted parts in this upload remain usable. In the example only the failed hundred-megabyte part needs retransmission. The object appears at once. Uploads never completed must be aborted, or their parts are billed. The completion request supplies the accepted part information in order. Abandoning a session leaves uploaded parts consuming storage until an abort or a configured cleanup rule removes them. 00:02:28 Make yesterday's portrait available again Turn on versioning in this separate example. A new upload under the same key creates a new current version, retaining the older version subject to lifecycle and retention settings. The second write does not remove the first. An ordinary unversioned delete request in this versioned bucket places a delete marker. The usual current-object read now appears missing. Removing the marker brings v2 back. Deleting a specified version can permanently remove that version unless a relevant retention protection prevents the operation. Versioning affects what can be recovered; access controls and lifecycle determine who may delete a specific version and how long it remains available. 00:03:11 Two editors change one settings object Two editors fetch the same settings object before either saves a change. Use a conditional write to stop a stale editor from silently replacing the first edit. A and B read the settings with ETag e1. The first editor's conditional write matches the observed ETag and succeeds. The representation now carries a different ETag. The second write still names the old ETag. Its precondition fails, preserving the first editor's change. The second editor must reread and reconcile. Object versioning protects historical copies, while a precondition protects this particular overwrite decision. Those solve different problems.