โ˜๏ธAWSDVA Prep
← All cheat sheets
๐Ÿชฃ

Amazon S3

Development with AWS Services

Object storage built for durability, scale, and a wide range of storage tiers.

Storage classes

  • โ–ธS3 Standard: frequent access, high durability/availability.
  • โ–ธS3 Standard-IA / One Zone-IA: infrequent access, cheaper storage, retrieval fee.
  • โ–ธS3 Intelligent-Tiering: automatically moves objects between tiers based on access patterns.
  • โ–ธS3 Glacier Instant/Flexible/Deep Archive: archival tiers with retrieval times from milliseconds to 12+ hours.

Uploads & access

  • โ–ธMultipart upload: recommended for objects > 100 MB; upload parts independently and in parallel.
  • โ–ธTransfer Acceleration: uses CloudFront edge locations to speed up uploads over long distances.
  • โ–ธPresigned URLs: grant temporary, time-limited access to a private object without changing permissions.

Security & consistency

  • โ–ธBucket policies (resource-based) vs IAM policies (identity-based) vs ACLs (legacy, object/bucket level).
  • โ–ธSSE-S3 (AWS-owned key), SSE-KMS (customer-managed CMK, auditable), SSE-C (customer-supplied key).
  • โ–ธS3 now provides strong read-after-write consistency for all operations by default.

Other features

  • โ–ธVersioning: keeps multiple variants of an object, protects against accidental overwrite/delete.
  • โ–ธEvent notifications: trigger Lambda, SQS, or SNS on object create/delete/restore events.
  • โ–ธLifecycle rules: automatically transition or expire objects based on age.
Test yourself on this โ†’