Chapter 13: Amazon EBS (Elastic Block Store)
13.8 EBS best practices
Friends, I use this checklist at the end of every project. Review the volume type, data mounts, encryption, automated snapshots and ownership before deciding what to keep.
मित्रांनो, ही लिस्ट मी प्रत्येक प्रोजेक्टच्या शेवटी चेकलिस्ट म्हणून वापरतो. काय ठेवायचं ते ठरवण्यापूर्वी volume type, data mounts, encryption, automatic snapshots आणि मालक तपासा.
दोस्तों, ये लिस्ट मैं हर प्रोजेक्ट के आख़िर में चेकलिस्ट की तरह इस्तेमाल करता हूँ. क्या रखना है यह तय करने से पहले volume type, data mounts, encryption, automatic snapshots और owner जाँचो.
- Consider gp3 for general-purpose storage. Compare workload needs, instance limits and cost before changing an existing volume.
- Consider separate data volumes when the workload needs a distinct lifecycle or capacity plan. For a persistent Linux mount, verify a stable filesystem identity and decide whether the application should wait for the mount.
- Encrypt volumes under your key policy. The Regional encryption-by-default setting applies to new volumes and snapshot copies. Inventory and plan any migration of older unencrypted resources separately.
- Automate snapshots with Data Lifecycle Manager / AWS Backup, and test restores.
- Monitor free space on the intended mount with
df -hor configured guest metrics. Review EBS performance metrics separately and plan changes before the filesystem runs out of room. - Review unattached volumes and older snapshots for cost, ownership, dependencies and retention before requesting deletion of explicitly approved IDs.
- Check Delete on termination on each actual attachment. Defaults depend on the launch image, the attachment timing and how it was configured.
Ravindra Bagale's Tip
After every lab, check Volumes for your own unattached volumes and Snapshots for your own recovery copies. Review charges, owner approval and retention or dependencies before cleanup.
Ravindra Bagale's Tip – मराठी
प्रत्येक lab नंतर Volumes मध्ये तुमचे unattached volumes आणि Snapshots मध्ये तुमच्या recovery copies बघा. Cleanup आधी charges, मालकाची मंजुरी, retention आणि dependencies तपासा.
Ravindra Bagale's Tip – हिंदी
हर lab के बाद Volumes में अपने unattached volumes और Snapshots में अपनी recovery copies देखो. Cleanup से पहले charges, owner की मंज़ूरी, retention और dependencies जाँचो.
Lab
Use the fictional inventory worksheet below. Identify which entries to keep, which need more evidence and which could be reviewed with the owner. The lab does not delete any resources.
Write an operating plan for the dairy’s storage
Mauli Dairy's small deployment started with one instance, its operating system disk and an orders database. It now has a reports volume, independent backups and test restores. The monthly bill has risen and the team is unsure which resources it still needs. The support person also receives complaints when reports run during the order peak. This service needs separate answers about data protection, capacity, performance and cost. A generic instruction to choose one volume type or delete every unattached disk will not address those problems safely.
Set the outcome first. Workshop learners should be able to read a known order at normal hours, continue routine processing when the application starts and recover an acceptable earlier point after a data issue. The team needs enough usable space at the real application path and sufficient I/O capacity under its expected same-host workload. The backup plan must preserve the resources and keys needed for an eventual restore. Use those requirements to choose provisioning, access, observations and retention. Keep a small inventory that says who owns each resource and why it exists.
This lesson builds checklists that lead to a concrete next decision. The local exercises model inventory and capacity evidence without altering EBS resources, mounting devices or calling AWS. An already assigned authorized inventory can supply read observations instead. Record what was observed versus what is planned. A check that works in a simulation can teach the decision but cannot prove an active resource, policy or application was deployed correctly.
Decide which data deserves independent capacity and recovery
Start with the application's dependency map. The root volume might hold the operating system, server packages and logs. The orders path might hold database files that have their own backup and migration requirements. A report cache might be safely generated again. Keeping area-specific data on separate volumes can help grow or restore each according to its needs. It also adds attachment, mount and monitoring requirements. A separate volume attached to the same server is still tied to that AZ and shares the instance's aggregate I/O limits. It does not automatically isolate failures or guarantee another application can share that filesystem.
Compare suitable storage types and effective limits for what the application actually sends. General-purpose SSD is a useful starting point for many application volumes. Evaluate whether the currently configured gp2 or gp3, io1 or io2, or an HDD type is a fit for the workload, instance and recovery objectives. A known slow job may need more IOPS or throughput. It may instead use the wrong storage path or an inefficient query. Measure the real request or batch, volume rates and the instance's limits before changing types or capacity. Keep performance decisions and lifecycle decisions separate in your review.
If an earlier project creates a new data mount, verify it by the intended volume ID, guest serial, filesystem and path. Use a stable selector chosen for the actual layout and check for duplicate identifiers when restoring a snapshot. Choose how the app behaves when its required mount is missing. A cache can sometimes be optional for boot. An authoritative order writer should wait or fail cleanly rather than creating its own default database on root. Documentation for startup should describe application dependencies as well as the entry in the mount configuration.
Check the per-volume delete-on-termination behavior before changing instance lifecycle. Default behavior can vary with its root or data role and how the volume was created or attached. The actual configuration should indicate what happens to each volume if the associated instance terminates. An extra volume marked for deletion might surprise a learner who assumed every data disk survives. A root volume marked to persist remains an independent resource after termination. Decide what still needs storage, encryption and the current recovery plan. An ordinary instance stop or restart is a different lifecycle change.
Protect encryption and the ability to restore
Use approved EBS encryption settings and keys for sensitive data according to the deployment's access requirements. Amazon EBS encryption uses AWS KMS and protects data at rest and the transfer between the instance and volume. Inside the guest, the application and file permissions still matter. An authorized process with access to the mounted data can read it under the operating system's controls. A browser TLS arrangement and the permissions to reach an API are independent. Encryption is one boundary in a wider protection design.
Encryption by default is an account setting scoped to a Region. It applies to new EBS volumes and eligible snapshot-copy operations described by AWS. It does not retroactively encrypt existing volumes and snapshots. Review existing resources separately and, if needed, plan an authorized migration or snapshot copy to the approved encrypted configuration. Record old and new resource IDs and test the intended application and recovery result. Check the service's key and policy requirements, including the possibility that a key change across snapshot copies affects incrementality and cost. Do not enable a region-wide setting as an ordinary classroom check.
A recovery role must be able to use both the needed snapshot or backup point and its applicable key permissions. An operator who sees the resource in the inventory cannot necessarily create or use a restored volume. For a cross-account or cross-region recovery, plan the correct destination, policy, supported key setup and completed snapshot copy. Verify that the intended scope has access before a real incident, without publishing or broadening an unassigned point. A swap of keys or permissions can affect historical backups. Check its recovery impact before making a policy change and verify an approved restoration after any relevant change.
Assign least privilege by operational job. A monitoring identity can read scoped evidence without being able to delete disks. A backup identity can perform its assigned operations without needing full control of application volumes. Data and key owners should know who is authorized to request and validate restores. Application code should have only the filesystem and database rights it needs after storage is mounted. These are separate role decisions. The inventory can record key and policy labels in an appropriate protected internal context without exposing secret values in a student worksheet.
Test a recovery point instead of counting completed snapshots
Routine automation helps produce consistent coverage only if it selects the right resources. Amazon Data Lifecycle Manager can manage EBS snapshots and EBS-backed AMIs produced under its policies. AWS Backup can centralize policies and recovery points for assigned resources. Choose the mechanism that fits the application and team. The critical question is which volumes and times actually form a useful backup. An app with its database and logs on different storage can need coordination. Confirm the backup procedure, source IDs and set of needed resources when someone adds or migrates a volume.
Define two measures with the service owner. The recovery point objective is how far back in time data might have to go without unacceptable loss. The recovery time objective is how long the service can be unavailable under its operating plan. Suppose the dairy records irreplaceable orders every hour and can re-enter at most one hour after a fault. A daily backup might fail the first objective regardless of its fast restore. A frequent backup with an inaccessible key may fail both. If initialization or archive retrieval is slow, restoration may exceed the acceptable service window even though the right time exists.
Run an authorized recovery rehearsal away from the live writer. Select the right completed point and destination scope, then verify the resource identity, guest mount, expected record, app behavior and measured availability. AWS Backup offers a restore-testing feature for supported resources including EBS. An automated restore-job success indicates that the resource operation completed. Plan any intended validation to prove the application can use the result. Keep the test's cleanup scope and costs in the plan, and verify the lifecycle completed as intended. Do not confuse restoration of a volume with returning all affected servers and clients to a usable state.
Review accidental-deletion protection separately. Recycle Bin retention rules can preserve qualifying resources for their specified period. An applicable rule can provide time to recover an accidental deletion. It does not replace a backup policy for incorrect writes, earlier desired points or other availability requirements. If no applicable rule kept the asset or the window expired, it may already be gone. Document the actual rule and verify its intended scope under the responsible owner. Keep an independently usable recovery point for important data and practice following the exact restore workflow.
Monitor the cloud volume, guest filesystem and user work separately
Volume state, volume status checks and filesystem space are distinct observations. in-use describes an attachment state. A volume status check can reveal an issue under AWS's documented checks, but a passing status gives no evidence about free inodes or a particular application's current disk. If AWS reports impaired status or disabled I/O, follow its supported recovery procedure with the data owner. Re-enabling I/O without considering consistency and replica state can create a different failure. An initialization phase on a restored volume can also change its performance signals.
Track IOPS, transferred bytes, queue, latency and applicable status metrics when investigating performance. The CloudWatch EBS metric namespace reports volume observations for supported scenarios. The guest can expose filesystem space separately, for example with configured CloudWatch agent metrics such as disk_used_percent and inode metrics where relevant. Installing and configuring that agent is a separate deployment choice. Use the current supported metrics and dimensions. An uncollected datapoint does not mean no pressure. An I/O chart should not be used as a substitute for verifying the mounted data path and free capacity.
Set thresholds from available evidence and how long the team needs to respond. If the order app has 12 GiB of usable free space, uses 2 GiB per day and the change window takes three days to schedule, waiting until only 2 GiB remain leaves too little notice. Factor in planned exports, staging and the minutes when jobs overlap. Choose a warning and action criterion that reflects actual business demands. Avoid one universal percentage on all filesystems. A tiny root disk and large archive can have very different headroom at the same percentage.
Measure user effects along with the metrics. A file cache may have a high use percentage and still be disposable. An authoritative database may be busy and users still get acceptable requests. Conversely a report can fail while its intended volume is healthy because the mount was never available. Correlate timestamp, data scope and actual service path before extending a volume or changing performance. You need enough detail to separate which part was slow from why it was slow. Baselines make it easier to tell the difference when workload shape or storage configuration changes.
Track storage cost and the retained business purpose
The provider bills eligible resources according to their provisioning and service configuration. A stopped instance can leave attached EBS volumes and snapshots with their own monthly or time-based charges. A volume that is detached and available can still incur storage charges. Cloud billing is an independent observation, as credits, time, type, size, snapshot tier and other features can affect the actual entries. Check current rates for the assigned Region and pricing model before estimating a real deployment. The exercise intentionally uses synthetic priority decisions rather than today's exact cost lines.
Tag volume and backup ownership consistently. The provider can use activated cost allocation tags to support cost reporting under the appropriate account settings. A tag such as Project: Dairy workshop identifies a purpose but doesn't show whether a resource has approved retention or depends on a specific backup plan. Add an owner and intended lifecycle. The next operator should see whether the volume belongs to a recovery rehearsal, a live dataset, an untested migration or a truly disposable copy. A cost report is not a storage deletion policy.
If inventory shows an available disk, check the documented purpose, owner, backup and precise attachment history. It could be a spare for a scheduled migration, a held original after recovery or a lab resource ready for cleanup. Old snapshots can also be needed by AMIs, backup governance or long retention plans. Identify which system owns each historical point. The approved removal must retain the earliest required point and verify its current usable alternative where policy calls for it. Do not delete a volume or snapshot you cannot identify. Record who approves and checks the final outcome, including any applicable Recycle Bin retention period.
Separate optimization goals. To reduce unused provisioned volume capacity, you may need a smaller replacement and data migration rather than an in-place shrink. To reduce idle snapshots, adjust an approved retention or archival policy based on actual recovery need. To tune cost of performance, compare throughput and IOPS settings with measured demand and instance limits. To remove abandoned fixtures, verify the lab owns them and that dependencies are gone. These actions can have different owners and risks. A monthly review should record the open questions rather than treat every possible saving as immediately authorized.
Lab one. Produce a review queue from a fictional inventory
Use Python 3 and an empty local folder. Create ebs-review.csv with the records shown. The resource names are fictional, and each row gives limited facts that a reviewer could record after authorized inspection. The model marks next actions. It does not delete, attach or audit anything in an AWS account. Treat a reported approval as a label in this fiction, and require actual operator confirmation and backup evidence for real changes.
resource,kind,state,owner,role,dependent,disposition
orders,volume,in-use,dairy,current-orders,yes,retain
restore-check,volume,available,trainer,restore-test,no,retain
forgotten-test,volume,available,,unknown,unknown,unknown
finished-fixture,volume,available,trainer,completed-lab,no,reviewed-expiry
weekly-boot,snapshot,completed,platform,ami-source,yes,retain
earlier-report,snapshot,completed,backup,retention,unknown,reviewed-expiry
Before running the script, predict which available volumes represent different purposes. The restore check is intended for a known future operation. The finished fixture has a documented owner and an approved review path, but the tool still cannot know a live account's current scope. The forgotten test needs an owner and retention investigation. The two snapshot rows are examples of known and unknown dependencies. A completed status by itself cannot resolve either. Ask what evidence you need before producing a change request.
python3 - <<'PY'
from csv import DictReader
from pathlib import Path
def next_step(row):
if not row["owner"]:
return "Identify owner and retention before any disposition."
if row["dependent"] == "unknown":
return "Resolve dependencies with the resource owner."
if row["state"] == "in-use" or row["dependent"] == "yes":
return "Keep; verify its continuing operating or recovery role."
if row["disposition"] == "retain":
return "Keep under its documented retention plan."
if row["disposition"] == "reviewed-expiry":
return "Review exact scope and backup with owner for separate action."
return "Collect current inventory details."
with Path("ebs-review.csv").open(newline="", encoding="utf-8") as source:
for row in DictReader(source):
print(f"{row['resource']}: {next_step(row)}")
PY
orders: Keep; verify its continuing operating or recovery role.
restore-check: Keep under its documented retention plan.
forgotten-test: Identify owner and retention before any disposition.
finished-fixture: Review exact scope and backup with owner for separate action.
weekly-boot: Keep; verify its continuing operating or recovery role.
earlier-report: Resolve dependencies with the resource owner.
Save the observed queue. For the finished fixture, list the exact facts you would check at the time of an authorized removal. For example, the ID still belongs to the exercise, it has no related users, the approved retention is complete and any necessary independent recovery exists. A tag can become stale between reviews. For the source snapshot used by a known AMI, the dependency is the reason for holding it. If someone wanted to retire that image, the owner would plan that separate action. The local script does not guess ownership from an idle state or the age of a name.
Try an input variant by editing a copied line for the forgotten test to add an owner but leave the dependency unknown. It should move to the dependency investigation result, not deletion. Change the finished fixture to in-use and confirm the output prioritizes the active role. These comparisons teach how an evidence queue should behave when new facts arrive. Cleanup removes only the local CSV and script copy. State which rows remain unresolved and what the next operator can inspect before an authorized action.
Lab two. Set a headroom threshold from growth and lead time
Use paper or a calculator. A chart shows the dairy's order filesystem has 12 GiB of available room. At its present steady growth of 2 GiB per day, dividing gives six days to consume that amount if nothing else changes. Staff need to maintain an independent reserve of 3 GiB, and an approved scheduled import expects another 4 GiB during the next change window. Subtract the reserve and planned work before estimating routine capacity. That leaves only 5 GiB of working margin before the thresholds in this model, or about two and a half days of routine growth.
The team's change lead time is three days. Under these assumptions a 12 GiB free observation triggers review now. The general worksheet threshold equals reserve plus expected upcoming one-time allocation plus usual growth during the lead time. Here that is 3 + 4 + 6 = 13 GiB. This is a planning example. Actual growth fluctuates, jobs may create temporary copies, and a quota or inode limit can remove capacity before the simple model predicts. Collect representative samples and safety margins under the service owner's conditions rather than applying this threshold to every filesystem.
| Scenario | Observed free space | Reserve and upcoming allocation | Remaining margin at 2 GiB/day |
|---|---|---|---|
| Regular growth with no planned export | 12 GiB | 3 GiB | 9 GiB gives 4.5 days. |
| Scheduled import during the window | 12 GiB | 3 GiB + 4 GiB | 5 GiB gives 2.5 days. |
| Wrong mount under the same app path | 12 GiB is shown for a different filesystem. | Unknown for the intended disk. | Resolve the source before estimating. |
| Monitoring record absent | Unavailable | Still planned in system requirements. | Recover measurement or gather scope-limited direct evidence. |
For a real approved check, compare the current mount and space in the proper Linux application context. If a node uses a monitoring agent, make sure its scoped metrics refer to that same path or device over the correct time. A read-only df -h at the path and mount verification can support the direct observation. Write your threshold and owner; there is no need to create or expand a disk to validate the arithmetic. If the plan raises an alert on every root and data disk at the same percentage, explain which actual workload would require a different strategy or reserved space.
Follow an incident from first observation to a durable change
Assume the application now returns a slow-order complaint. A report processing spike ran in the same period. The order filesystem has enough usable free space. Volume metrics show one overlapping time window but no clear measured reason yet. Compare the actual app timing with storage pressure, including the instance-level scope. A request could take longer because a query holds a lock, an application waits for a database connection, a large job uses more I/O, or the device has limited throughput. Reducing the query's scope, scheduling jobs apart or tuning the right configuration address different evidence.
Plan narrow next observations rather than a big migration. Identify the target volume and application mount. Verify the supported rates and requested settings. Look at the date and scope of the affected reader result and the specific report job. Ask whether the app's expected latency and throughput need to coexist. Compare representative affected and unaffected windows. Select a candidate change only when you can explain why it should improve the measured real operation. Validate the required backup and avoid broad performance experiments on unowned production storage.
Suppose you instead find that the orders path is accidentally placed on root. Review the app's deployed configuration, startup dependency and mount identity first. Making the intended EBS volume larger will not affect writes to a different filesystem. A corrected mount design will need its own safe transition and data review. The app may have written falling-back files that the previous plan didn't cover. Verify which data is authoritative before allowing the writer to resume. This case is why cloud monitoring, operating system mount evidence and application evidence need a common inventory.
After a fix, record a follow-up. Confirm resource and filesystem measurements match the intended interpretation, the application performs its real read, and backup policies still track the correct source. Record baseline behavior for the chosen configuration, and schedule a later review based on growth and workload evidence. If the fix involved a replacement volume, its new ID and retention policy must reach the next operator. The work is more sustainable when the verification describes how to identify the new system after an ordinary restart.
Check whether the policy survived a volume replacement
Return to the dairy on the day after a storage migration. The team created another data volume, restored the verified source recovery point and pointed the ordering process at the replacement. The previous volume still appears in inventory. Its name and owner tags described the same service yesterday, so a search for the service name can return two rows. Keep both IDs in the change record. Label which one is the current write target and which belongs to the earlier stage of the change. Name the final decision maker for the previously active disk. A new engineer reading the record should be able to explain why a recent available volume might still be deliberately retained.
Check how the scheduled protection selects volumes. Some plans select by tags, and other procedures may track known resource IDs. If a new disk misses the selection, the old disk could keep generating recovery points even while it receives no new orders. The dashboard would still show completed backup activity. Use the recovery point's actual source and timestamp to confirm it covers the new volume. If multiple volumes and a database must be recovered together, preserve the intended consistency procedure for that service. Testing the most recent genuine order in an isolated restore provides stronger evidence than a count of successful jobs across the account.
Write down the safe observation window for the old disk. After the system begins accepting new writes on the replacement, switching back to the original disk would omit all changes made in that interval unless the team has a plan to reconcile or recover them. Before the migration, operators should decide how to handle that interval and who compares both copies. An old disk held for investigation and a snapshot held for an established restore procedure serve different purposes. Describe each assumption and get its owner to confirm the expected end state. Avoid promising rollback from an artifact before you have established what it actually captures.
Consider a recovery copy in a second Region where the organization has approved an alternate service environment. An EBS volume attaches within its own Availability Zone, so operators cannot directly attach the original volume in their other Region. The recovery plan would need a usable recovery point in the intended Region, a compatible volume and an approved application environment to attach it to. Encrypted backup copies need an approved key and usable access in the recovery context. Give the alternate operator enough time to prove the necessary access before an incident. A completed regional copy and the target service reading a sample are separate checkpoints in the runbook.
Review the costs after the change. During a planned overlap the team may intentionally hold old and new volumes, maintain recovery points and briefly run test resources. Confirm when each temporary protection or test enters its next review period. Give that event a clear trigger, like completion of acceptance tests and the first demonstrable backup of the new source. Do not use a shared tag such as production as permission to alter every matching resource. In the inventory write the exact account and Region, the current owner, the reason it exists and what must be approved before any deletion. Conflicting ownership or missing backup evidence goes back for review.
A final handoff could say that test orders are readable on the replacement, the next protection run will be checked against its distinct volume ID, and the earlier disk is scheduled for an explicitly scoped retention review. Include who will perform the first restore test and what constitutes recovery success. Make clear which pieces of evidence are already observed and which are pending. The practical goal is for the incoming team to distinguish an active disk, a valid recovery copy and a retired resource without repeating the whole migration to find out.
Use a short scheduled review to find real drift
At the end of each workshop, compare observed resources with the approved design. An inventory and a picture of the expected data flow help you spot stale IDs and unplanned retention. Verify that the intended report volume is attached to the right instance, uses the expected path and belongs to the actual backup policy. Check the old dummy copy was retired through authorized cleanup rather than deleted from an inventory spreadsheet only. If an owner has not updated the retention decision, mark it for follow-up. Seeing a cost item twice is a reason to reconcile scope, not enough evidence to remove one.
Ask which exact setting you want to inspect before opening the tooling. For example, you can describe the approved EBS volume and read the account's encryption by default setting for its Region. These are different reads. The first checks that resource's applied encryption and placement. The second checks a setting affecting new resources, not the state of every disk. Populate the approved values and use the read role if inspecting an already assigned environment. If you have no assigned AWS access, answer using the worksheet and service documentation.
aws ec2 describe-volumes --region "$LAB_REGION" \
--volume-ids "$LAB_VOLUME_ID" \
--query 'Volumes[].{Id:VolumeId,State:State,Zone:AvailabilityZone,Type:VolumeType,SizeGiB:Size,Encrypted:Encrypted,Tags:Tags}' \
--output json
aws ec2 get-ebs-encryption-by-default --region "$LAB_REGION" --output json
Use the actual scopes of those observations. An older volume can still show unencrypted even when the Region's default is now enabled. That can indicate a separate planned migration or simply a change after the old disk was created. Confirm the business need and existing protection design. The CLI output doesn't tell you whether an app's data is sensitive or which retention still applies. Record who can decide the migration and how its recovery will be checked with the intended key. No need to change the default to make a training probe match the app's state.
A real issue can hide behind a stale label. Suppose tags identify a disk as a restore test, but the active app's latest attachment unexpectedly uses its data. That state must be resolved before retirement. Inspect the exact current guest and configuration evidence, then ask the owner which source is authoritative. Similarly, a policy label alone is no proof a backup job selected the expected data. Check both the resource associations and restore evidence. When ownership is unclear, mark the item as needing a decision instead of hiding it from the list.
Prepare a storage handover across responsible teams
Keep the actual operator roles visible. A platform owner checks that capacity, AZ and attachment design match the approved plan. The app owner confirms the configured path, access and known result. The backup owner reconciles retention, time and whether the restore proof covers all data. The person responsible for finances reads the provisioned settings and charges and asks owners to review unnecessary costs. One person may hold all four roles in a classroom, but describing separate evidence keeps the investigation organized.
| Responsibility | Review evidence | Common unanswered question |
|---|---|---|
| Application storage | Known mount source, service access and a representative order. | Will startup keep writes off an absent or wrong mount? |
| Backup and keys | Completed intended point, authorized recovery role and tested result. | Can the current recovery account use the relevant key and copy? |
| Capacity and performance | Usable headroom, growth trend, volume and instance workload evidence. | Does the real job meet its timing during competing activity? |
| Ownership and cost | Purpose tags, attachment state, dependencies and retention decision. | Is a supposedly idle resource still part of a recovery or migration? |
This table gives you a rehearsal close-out. Check each unresolved question in the appropriate scope. If the report mount was only tested on a local fixture, state that in the evidence row. If the data owner's retention plan is incomplete, do not guess by age. Before a cloud write, make the exact effect and reversible recovery point visible to the right owner. An operating plan should guide the next learner without copying unrequested permissions or whole-account mutation rules into every task.
Apply the storage review to two fictional dairy incidents
First, the orders disk currently has 12 GiB free, and a 4 GiB import is coming; the three-day lead time and 3 GiB reserve apply. State the role of each numeric input and calculate the alert threshold. Then check which result would change if the measured path turned out to be on root. Design one guest verification, one app read and one authorized change trigger. The class exercise can be finished without altering any filesystem. Your plan should say when to recheck growth, not simply double the volume.
Second, billing reports an always-detached restore-test disk and an old snapshot related to a boot image. Decide what inventory fields need confirmation for each. Explain why an approved scheduled restore can justify keeping a temporary volume. Explain why an image dependency can justify retaining a snapshot independent of age. Add a decision for incomplete evidence. Show a role and concrete test that can verify any alternative recovery point before approved disposal. The result is a reasoned disposition list rather than a deletion script.
Discuss the proposed choices with another learner. If their first step assumes a volume type, filesystem, user or Region, ask what establishes that assumption. A successful handover includes the report's purpose, current storage and exact recovery evidence. Show which resource settings need periodic review and which are decisions only the operating team should make. Include all local lab cleanup in a narrow note. Keep a repeatable written result, rather than claiming any cloud control was deployed by this worksheet.
Explain why these operating checks matter
Why put app data on a separate volume?
It can help manage capacity, recovery and ownership for data independently from the OS. The tradeoff is additional mount, permission, backup and attachment planning. The new volume remains subject to its AZ and instance limits. A verified application path and recoverable backup are more meaningful than a second disk appearing in EC2.
Does enabling encryption by default encrypt old volumes?
The Region setting applies to new volumes and eligible snapshot copies. It does not change old disks or snapshots. Inventory the actual resources, plan approved encrypted migration where needed and verify compatible restore with the intended key and role.
Why check app free space as well as EBS metrics?
The EBS resource exposes storage and I/O measures. The guest filesystem handles usable space and allocations, and a process can be on another mount or under a quota. Test actual space and data at the app path. Measure I/O and latency separately when the problem is performance.
What makes a backup plan suitable for the order service?
It captures the right data at sufficient frequency with consistent preparation and retained permissions. An isolated rehearsal must recover the expected order under the correct role within the intended time. Keep dependencies, retention and verified work as part of the plan.
Can we remove any volume that is available in EC2?
Available is an attachment state. The volume may still be a required restore, migration or audit copy and can still incur charges. Check exact ownership, current dependencies and protection, then request a separate scoped removal only if approved.
Test the storage review
Does an EBS volume with status OK prove there is enough filesystem capacity?
Show answer
Those checks observe service-defined status. Verify guest filesystem space in the actual app context and relevant allocation limits.
Why could a recent backup job pass yet recover the wrong dataset?
Show answer
It might select an old volume by stale tags or lack a coordinated application data set. Review actual source IDs and restore a representative result.
The Region default encryption is on, but an older volume remains unencrypted. Is that necessarily inconsistent?
Show answer
Default encryption does not retroactively change existing resources. Review the exact volume and authorized migration needs separately.
In the fixture, why keep a known AMI source snapshot?
Show answer
Its dependency still has a purpose. Review supported image and backup retirement with the owner before planning deletion.
At 12 GiB free, when does the headroom model trigger review?
Show answer
Immediately under the model, since the 3 GiB reserve, 4 GiB import and 6 GiB ordinary growth require 13 GiB together.
Revision cards
- Known storage path
- Match volume identity, guest device and app mount. A separate volume helps only when the application actually uses it.
- Encryption lifecycle
- Inspect applied encryption and key permissions separately from the Region's default. Verify an authorized usable restore.
- Recovery coverage
- Match policies to current volume IDs and data consistency. Test a meaningful result at an intended point and time.
- Capacity and speed
- Use guest free space for capacity and relevant I/O and app measures for performance. Account for growth, peaks and lead time.
- Ownership and retention
- Review the purpose, dependencies and rollback need for each volume or snapshot before approved retirement.
- Repeatable evidence
- Record what each check proved at the AWS, guest and service boundaries. Keep unresolved decisions scoped to their owners.
Official references
- EBS volume types, termination persistence and guest NVMe identity
- EBS encryption, Regional defaults and encryption and key requirements
- EBS lifecycle policies, AWS Backup restore testing and Recycle Bin
- EBS volume status checks, EBS CloudWatch metrics and CloudWatch agent guest metrics
- EBS pricing, cost allocation tags and snapshot deletion dependencies
- CLI volume inspection and CLI read of Regional default encryption