EC2 instance maintenance: validate storage before restarting services

After EC2 maintenance, an instance can pass its infrastructure checks while an application is still using the wrong storage path. Validate volumes and mounts before starting services that write data.
Record the expected layout
Before the change, list instance and EBS volume identifiers, availability zone, file system identifiers, mount points, and the services that use each volume. Record the recovery point and confirm that an appropriate backup exists. Do not assume a device name will remain identical after an instance change.
Check attachments and mounts
Confirm that the intended volumes are attached to the correct instance. In the operating system, compare lsblk and findmnt output with the recorded layout. Verify UUIDs and file system types before modifying mount configuration. If a mount is missing, do not start a service that could write to an empty directory on the system disk.
Start dependencies in order
Review the application service configuration and logs after storage is available. Check database and network dependencies, then start the application according to the approved runbook. Use the minimum permissions needed and keep credentials out of public logs or shared records.
Validate the actual workload
Run a safe representative read and, if authorized, an isolated write test. Confirm the result appears on the intended storage and survives a restart. Review application errors, disk capacity and monitoring rather than treating an open port as complete recovery.
Keep a rollback record
Record the time, volume mapping, observed results and unresolved issues. If a rollback is necessary after the new environment has accepted writes, agree how to preserve or reconcile those writes before restoring the old configuration.
Related EC2 operations resources and the contact channel provide further context.
Comments(0)
Be the first to comment.