Skip to content

Chapter 3 of 11

Storage: S3, EBS, and Archive

Match object, block, and archival storage to access, durability, recovery, and cost needs.

42 minutes 10 quick checksBy Subha Prasad
Lesson 3 of 11Course navigation

Lesson content

Read, practise, then check your understanding

Storage: S3, EBS, and Archive

Amazon S3 stores objects in buckets and supports versioning, lifecycle, replication, encryption, and multiple storage classes. Amazon EBS provides block volumes for EC2. S3 Glacier storage classes serve archival access patterns with lower storage cost and retrieval tradeoffs.

Core ideas

  • S3 objects are addressed by bucket and key; applications should not treat object storage as a traditional mounted filesystem.
  • EBS volumes are Availability Zone resources and commonly persist independently of an EC2 instance.
  • Snapshots provide incremental EBS backups and support restore into new volumes.
  • Lifecycle policies transition or expire S3 versions based on age and access requirements.

Design and operating model

Classify data by access frequency, retention, recovery point, recovery time, residency, and legal requirements. Enable S3 versioning where rollback matters, block public access by default, use lifecycle automation, and test restore. For EBS, select volume performance from measured IOPS and throughput requirements.

Example

{
  "Rules": [{
    "ID": "archive-logs",
    "Status": "Enabled",
    "Filter": { "Prefix": "logs/" },
    "Transitions": [
      { "Days": 30, "StorageClass": "GLACIER" },
      { "Days": 180, "StorageClass": "DEEP_ARCHIVE" }
    ],
    "Expiration": { "Days": 2555 }
  }]
}

Run examples in a disposable training account and replace Regions, identifiers, policies, resource sizes, and names with reviewed values. Verify commands with the current AWS CLI and service documentation before production use.

Production guidance

  • Avoid public buckets and broad bucket policies; use access points or scoped policies where useful.
  • Encrypt data, log access, and protect backup copies from the same failure or credential path.
  • Archive economics include retrieval requests, restore delay, minimum storage duration, and transfer—not storage price alone.

The chapter quiz follows the lesson and checks both service vocabulary and architecture decisions.

Knowledge check

Answer every question correctly to complete this chapter.

Which statement correctly describes Amazon S3?
Which term matches this explanation: Regional object storage organized into buckets and objects.
Which statement correctly describes Amazon EBS?
Which term matches this explanation: Block storage volumes designed primarily for EC2 instances.
Which statement correctly describes S3 Glacier storage classes?
Which term matches this explanation: Low-cost S3 archival tiers with retrieval-time and access tradeoffs.
Which statement correctly describes lifecycle rule?
Which term matches this explanation: Policy that transitions or expires S3 objects automatically.
Which statement correctly describes EBS snapshot?
Which term matches this explanation: An incremental point-in-time backup of an EBS volume stored by AWS.

0 of 10 checks passed

Your progress is saved on this device.