Lesson 071 · AWS Learning Path

AWS 071: EBS snapshots and snapshot lifecycle

· Published · 7 min read

An EC2 instance connects to persistent EBS volumes on one side and fast temporary host-local instance-store disks on the other

The problem

A team uses EBS snapshots and snapshot lifecycle as a label or Console setting without proving the identity, scope, behavior, failure boundary, cost, or operational result. The configuration appears complete but the real requirement remains untested.

Final outcome

The learner will inspect, explain, test, and document EBS snapshots and snapshot lifecycle. The submission must connect the Console and CLI view to the same AWS control, state what the evidence proves, diagnose one likely failure, and make a requirement-based architecture decision.

Learning outcomes

You will be able to:

  1. explain snapshots are incremental;
  2. explain asynchronous creation;
  3. explain crash consistency;
  4. explain restore behavior;
  5. explain initialization;
  1. distinguish successful configuration from successful workload behavior;
  2. preserve redacted evidence and complete the stated cleanup or retention decision.

Mental model

requirement
   -> identity and permission
   -> account, Region, and resource scope
   -> configuration or request
   -> observable state
   -> workload result
   -> failure evidence
   -> cleanup or controlled retention

Never begin with a create button or a copied command. Start with the result that must be proven and the boundary that must remain protected.

Core facts

ConceptWhat it means in practice
Snapshots are incrementalAfter the first snapshot, only changed blocks are stored, while each snapshot represents a point-in-time volume image through managed dependency data.
Asynchronous creationA snapshot enters pending before completed. A create response does not mean every block is immediately ready for restore performance.
Crash consistencyA snapshot captures blocks at the storage layer. Applications may require filesystem freeze, database-native backup, or coordinated multi-volume snapshots.
Restore behaviorA new EBS volume is created from a snapshot in a selected Availability Zone. Volumes are zonal even though snapshots are regional resources.
InitializationBlocks restored from standard snapshot storage can have first-read latency. Fast Snapshot Restore or explicit initialization addresses defined performance needs at additional cost.
LifecycleRecycle Bin, Data Lifecycle Manager, AWS Backup, archive tier, sharing, copy, encryption, and retention each have separate behavior and cost.

How to reason about it

A snapshot is not a complete recovery strategy. Record application consistency, encryption key access, cross-account and cross-Region requirements, retention, legal hold, restore testing, RTO, RPO, and deletion protection.

Deleting an incremental snapshot does not necessarily destroy blocks required by later snapshots because AWS manages shared data. It can still change retention and cost, so use lifecycle policy and protected ownership.

Use the following decision table as a starting point, then change the answer when the scenario changes.

RequirementPreferred directionWhy
Daily EBS protectionData Lifecycle Manager or AWS Backup planAutomate creation, retention, and policy evidence.
Low first-read latency after restoreInitialize or use Fast Snapshot RestoreMeet measured recovery performance.
Application spans volumesCoordinated multi-volume snapshot plus app quiescencePoint-in-time consistency must include the application.
Regional disaster recoveryEncrypted snapshot copy to approved Region/accountProtect recovery boundary and key access.

Prerequisites, permissions, Region, and cost

Run this lesson as the approved non-root course identity. Begin with aws sts get-caller-identity, confirm the private account record, and set the fixed project Region before any regional query. IAM resources are global within an account, while STS endpoints and the services reached by an identity can be regional.

Use only the read or change actions required for this lesson. An AccessDenied result is evidence to analyse, not permission to switch to root or attach AdministratorAccess. Record the action, resource, principal type, request context, and smallest justified correction.

The listed cost tier is T0 - no resource creation. Free Tier eligibility and credits are account-specific. Before a mutating lab, identify every resource that can charge, estimate its duration, start a timer, and write the reverse cleanup order. A budget reports cost after billing data arrives and is not a real-time stop control.

AWS Management Console method

  1. Open EC2, Snapshots, and inspect owner, state, progress, encryption, KMS key, size, start time, and tags.
  2. Open one snapshot permissions view without sharing it publicly.
  3. Open Data Lifecycle Manager and AWS Backup read-only to compare policy-driven lifecycle options.

For every step record the service page, selected account and Region, exact object, visible state, and why that state matters. A Console label or green status is not enough unless it is tied to the final workload outcome.

AWS CLI or API evidence

List project snapshot state and encryption.

aws ec2 describe-snapshots --region ap-south-1 --owner-ids self --filters Name=tag:Project,Values=NitWings-P04 --query 'Snapshots[].{Id:SnapshotId,Volume:VolumeId,State:State,Progress:Progress,Encrypted:Encrypted,Start:StartTime}' --output table

Completed state proves snapshot service completion. Only a tested restore proves usable recovery for the application.

Before running the command, replace every placeholder, explain each option, and decide whether the operation is read-only or mutating. Capture the exit code immediately. Redact account IDs, ARNs, public addresses, request identifiers, and personal data before sharing.

The CLI and Console are clients of AWS APIs. Matching state across them increases confidence, but neither substitutes for data-plane or application verification.

Practical work

Create p04-snapshot-plan.md. Define the marker file, application-consistency step, snapshot tags, completion waiter, encryption key, retention, restore Availability Zone, first-read initialization expectation, read-only verification, RTO/RPO measurement, and cleanup. Explain why snapshot completed is not application recovery. The actual snapshot is created in AWS 073.

The evidence package must include:

  • non-root principal type, account verified privately, and Region;
  • exact intended and observed state;
  • one Console observation and the matching CLI or API result;
  • one successful result and one denied, failed, or counterexample result;
  • what each result does not prove;
  • cost state and elapsed lab time;
  • cleanup evidence or a named retained-state owner and next lesson.

Verification standard

Use three levels of proof:

  1. Control plane: the object or policy exists with the intended configuration.
  2. Data plane or behavior: the request, packet, session, storage path, or application does what the requirement states.
  3. Operations: monitoring, failure diagnosis, cost, ownership, and cleanup are known.

A control-plane response can precede final readiness. Use waiters or state polling where supported, then test the actual behavior. If a request times out, do not assume it failed. Inspect state and use documented idempotency before retrying a mutation.

Troubleshooting method

SymptomEvidence firstSmallest safe response
command cannot authenticatecredential source, expiry, caller preflightrestore approved temporary login
access is deniedaction, resource, principal, all policy layerscorrect only the missing or conflicting control
object appears missingaccount, Region, filters, pagination, permissionalign scope before creating anything
configured state exists but behavior failsroute, identity, dependency, logs, service statetest the next boundary in the path
cleanup is blockeddependency inventory and owning serviceremove dependants in reviewed reverse order

Keep the original symptom and timestamp. State one hypothesis, make one reversible change, repeat the original test, and record rollback. Never open a management port to the world, expose credentials, disable TLS verification, format an unknown disk, or add broad permissions as a generic fix.

Architecture and certification decisions

Professional-level questions provide competing valid features. Identify the requirement that decides between them: human or workload identity, same-account or cross-account access, regional or zonal scope, stateful or stateless filtering, durable or ephemeral data, latency, RTO/RPO, cost, or operational ownership.

Explain why the selected option fits and why each plausible alternative fails one stated requirement. Do not rely on feature memorization or reproduce protected certification questions.

Knowledge check

  1. Are EBS snapshots full copies each time?

Expected direction: They are stored incrementally while each snapshot is a usable point-in-time reference.

  1. Does completed prove application recovery?

Expected direction: No. Restore and application validation are required.

  1. Where is a restored EBS volume created?

Expected direction: In the selected Availability Zone.

  1. What can cause first-read latency?

Expected direction: Lazy block initialization from standard snapshot storage.

Cost, cleanup, and retained state

Retain only the state explicitly required by the next P04 lesson and record it in the private resource ledger.

Cleanup evidence includes the final state query, not only a successful delete response. Search related resources, other Regions used by the lab, retained storage, public IPv4 addresses, logging destinations, and service-managed dependencies. Schedule a later billing review because cost data can lag.

Completion gate

Pass when the practical artifact explains the real problem, matches Console and CLI evidence, answers every knowledge check, diagnoses one failure without broadening access, records cost, and proves cleanup or approved retention. The learner must defend one decision orally and name the requirement that would change it.

Official sources

Advertisement