Volume 2: S34/7
  1. 01Lessons 1-10
  2. 02Lessons 11-20
  3. 03Lessons 21-30
  4. 04Lessons 31-40
  5. 05Lessons 41-50
  6. 06Lessons 51-60
  7. 07Lessons 61-70

Chapter 04 of 07

Lessons 31-40

10 lessons20 min readingParts 41-50
  1. 01Count S3 objects and total their sizeUse an AWS CLI JMESPath query to count listed S3 objects and sum their bytes.2 min read
  2. 02Upload an S3 object with a SHA-256 checksumAsk S3 to calculate and store a SHA-256 checksum during an object upload.2 min read
  3. 03Verify stored S3 checksums without downloadingRetrieve checksum fields with head-object and checksum-mode ENABLED.2 min read
  4. 04Start an S3 multipart uploadInitiate a multipart upload and capture its upload ID for later part operations.2 min read
  5. 05Upload one S3 multipart partUpload a numbered multipart part and capture the ETag required for completion.2 min read
  6. 06Complete an S3 multipart uploadAssemble uploaded S3 parts in order and verify the completed object.2 min read
  7. 07Abort an incomplete S3 multipart uploadFind and abort an unfinished multipart upload so its stored parts stop accumulating cost.2 min read
  8. 08Expire old S3 objects with a lifecycle ruleCreate an S3 lifecycle rule that expires objects under one prefix after 30 days.2 min read
  9. 09Transition S3 objects to Standard-IA with lifecycleAdd a lifecycle transition for objects under a prefix after 30 days.2 min read
  10. 10Expire noncurrent S3 versions with lifecycleLimit version-storage growth by expiring noncurrent object versions after a retention period.2 min read