Changing Volumes in Place and Initialising Restored Volumes
This lesson explains how Elastic Volumes change EBS volumes while in use, and how volumes restored from snapshots behave differently until their data has been loaded.
Learning outcomes
After completing this lesson, you will be able to:
- Modify size, type, IOPS and throughput with Elastic Volumes.
- Explain lazy loading of restored volumes.
- Use fast snapshot restore.
Elastic Volumes
Elastic Volumes let you increase size, change the volume type and adjust IOPS and throughput on an attached volume without detaching it or stopping the instance (aws ec2 modify-volume). The modification goes through the states modifying, optimizing and completed; the new performance becomes available progressively during optimisation. Volumes can only grow, never shrink; to reduce size, create a smaller volume and copy the data. Since January 2026 a volume can be modified up to four times in a rolling 24-hour period (previously a six-hour wait applied between modifications); each modification must reach the completed state before the next one starts, and a fifth request returns VolumeModificationRateExceeded. When size increases, extend the partition and file system inside the operating system, for example with growpart and xfs_growfs or resize2fs.
aws ec2 modify-volume --volume-id vol-0abc1234 --volume-type gp3 --iops 6000 --throughput 250 --size 600
aws ec2 describe-volumes-modifications --volume-ids vol-0abc1234 \
--query 'VolumesModifications[0].[ModificationState,Progress]'
# inside the instance after the size increase
sudo growpart /dev/nvme1n1 1 && sudo xfs_growfs -d /dataThe following diagram shows a modification moving through its states.

Growing a volume
Snapshot initialisation and fast snapshot restore
EBS snapshots are stored in S3 (managed by AWS). A volume created from a snapshot is available immediately, but its blocks are loaded lazily from S3 the first time each is read, which adds significant latency to first access. For a database restored from a snapshot this can mean minutes or hours of poor performance. Three options address this: initialise the volume by reading every block (for example with fio or dd) before putting it into service; specify a volume initialisation rate when creating the volume so that EBS loads it at a predictable rate; or enable fast snapshot restore (FSR) on the snapshot in specific AZs, which creates volumes that deliver full performance immediately, at an hourly charge per snapshot per AZ.
The following table compares the options for restored volumes.
| Option | Effect | Cost and effort |
|---|---|---|
| Lazy loading (default) | First read of each block is slow | None |
| Manual initialisation (fio/dd) | Full performance after the read completes | Time to read the whole volume |
| Volume initialisation rate | Predictable time until fully loaded | Charged per GiB at the chosen rate |
| Fast snapshot restore | Full performance immediately | Hourly charge per snapshot per AZ |
The following diagram compares a default restore with fast snapshot restore.

Restored volume performance
Fast restores for an Auto Scaling group
An Auto Scaling group launches instances from an AMI whose data volume holds a 300 GiB reference dataset. New instances are slow for the first 40 minutes while blocks load, so scale-out does not relieve load quickly. Enabling fast snapshot restore for the AMI's data snapshot in the group's three AZs gives new instances full performance at launch. The team accepts the hourly FSR charge because scale-out events are frequent; for a one-off database restore, initialising the volume would be cheaper.
Can an EBS volume be made smaller with Elastic Volumes?
Show answer
No. Volumes can grow or change type and performance, but cannot shrink.
Exam Tips
Remember for the exam
- Elastic Volumes change size, type, IOPS and throughput online; volumes cannot shrink.
- Up to four modifications per volume in a rolling 24 hours, each completing before the next.
- Extend the partition and file system after increasing size.
- Restored volumes load lazily; use initialisation or fast snapshot restore for full performance.