liveBook · Manning

Durability

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

Durability is the likelihood that stored data remains intact and recoverable over a specified period despite failures.

Durability measures how likely stored data is to remain intact and recoverable over time despite failures. It differs from availability: a temporarily inaccessible EBS volume can return online with its data intact. section 13.2.3

A single EBS volume is confined to one Availability Zone. An outage can prevent a replacement instance in another zone from accessing it, even when the data has not been lost. section 13.2.3

Common ways to improve recovery and reduce data-loss risk include:

  • Move state to managed, multi-zone services such as RDS, DynamoDB, EFS, or S3. section 13.2.3
  • Create regular EBS snapshots; snapshots are stored on S3 and can be accessed across Availability Zones. section 13.2.3
  • Use AMIs when the EBS volume is an ECS instance's root volume. section 13.2.3
  • Use distributed storage such as GlusterFS, DRBD, or MongoDB when application requirements demand it. section 13.2.3

Recovering Jenkins state

Jenkins stores data directly on disk, so an object or database service is unsuitable for its file-level state. EFS provides the shared file storage needed across instances and Availability Zones. section 13.2.3

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Defines durability, contrasts it with availability, and explains EBS recovery strategies without detailing durability algorithms or guarantees beyond examples.
Examples
Uses EBS-hosted Jenkins, cross-zone instance replacement, EBS snapshots, S3, and EFS file storage as concrete examples.
What it assumes
Assumes basic familiarity with EC2 and Availability Zones while distinguishing availability from durability explicitly.
What you can do after
Evaluate storage choices and configure recovery using managed services, EBS snapshots, AMIs, or multi-zone file storage.
How it connects
Connects durability with availability, Availability Zones, EBS, snapshots, AMIs, EFS, S3, databases, and distributed storage.

Also explained in

Compare how 6 books explain durability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.