Skip to main content

Remediation

Before modifying the volume​

  1. Confirm the volume's current type, size, IOPS, and configured throughput in the EC2 console or with describe-volumes. Check target availability and in-place conversion eligibility in the volume's deployment location. Use the volume's OutpostArn to verify placement for unattached volumes or volumes with an unresolved instance lookup. AWS volume fields · Elastic Volumes requirements
  2. Review the cost estimate with the workload owner. Use the applicable rates and preserve the current performance settings. If cost savings or workload fit cannot be confirmed, keep the existing configuration. Amazon EBS pricing
  3. Create an application-consistent snapshot and wait for it to complete. Record the original settings for rollback and confirm that any previous volume modification has completed. Create Amazon EBS snapshots · Elastic Volumes

Using the AWS Console​

  1. Open Amazon EC2 in the volume's Region and choose Elastic Block Store > Volumes.
  2. Select the volume and choose Actions > Modify volume.
  3. Choose gp3a for a gp3 volume or io2a for an io2 volume. Keep the current size and enter the existing IOPS. For gp3a, also enter the existing throughput.
  4. Review the settings and submit the modification. Request Amazon EBS volume modifications

Using the AWS CLI​

Use the workload's AWS account and the volume's Region. Run the command for the current volume type. The volume retains its current size when --size is omitted. ModifyVolume API

For a gp3 volume, supply both current performance values.

aws ec2 modify-volume \
--region {{region}} \
--volume-id {{volume-id}} \
--volume-type gp3a \
--iops {{current-iops}} \
--throughput {{current-throughput-mibps}}

For an io2 volume, supply the current IOPS. Verify any required Multi-Attach and NVMe reservations. Elastic Volumes limits

aws ec2 modify-volume \
--region {{region}} \
--volume-id {{volume-id}} \
--volume-type io2a \
--iops {{current-iops}}

Verify the change​

  1. Track the modification in the Volumes console or with describe-volumes-modifications. After it completes, verify the volume type, size, IOPS, and applicable throughput. Monitor Amazon EBS volume modifications
  2. If the migration changes Trim on attach, the setting takes effect the next time the volume attaches. For a currently attached volume, schedule any required detach and reattach in a maintenance window. Verify that the operating system issues TRIM for deleted blocks. Amazon EBS TRIM support
  3. Check application performance and EBS charges. Update the configuration that manages the volume and refresh Cloudaware inventory to confirm the finding clears.

AWS does not support canceling a submitted modification. If rollback is required, wait for the modification to complete and check the volume modification limits before restoring the original type and performance settings. Retain the snapshot until the workload is validated. Elastic Volumes limits