EBS Volume Cost Optimizations (gp2 to gp3)

Opportunity Name:

EBS gp2 to gp3 migration

AWS Resource Type:

AWS EBS (Elastic Block Store)

Opportunity Description:

A featured optimization in CloudFix is the migration of applicable Amazon Elastic Block Store (EBS) General Purpose gp2 volumes to gp3. EBS gp3 volumes offer cost-effective storage that is ideal for a broad range of workloads.

In 2020, AWS introduced the next-generation general purpose SSD volumes for EBS called gp3. EBS gp3 volumes provide a better value than gp2 – gp3 volumes are cheaper and offer higher maximum throughput rates while maintaining the same high levels of durability and availability. You can also provision IOPS and throughput separate from the storage capacity with gp3.

 

At CloudFix, we thoroughly tested this opportunity and strongly recommend migrating gp2 volumes with less than 3000 IOPS to gp3. This will save you approximately 20% in costs while maintaining at least the same performance as gp2.

Criteria for identifying the opportunity:

CloudFix monitors EBS volume usage and analyzes metrics to identify EBS gp2 volumes that are apt for migration to the gp3 volume type. Factors considered are:

  • Select only gp2 volumes
  • Select volumes that are NOT short-lived (<2 weeks of existence = short-lived) because short-lived volumes are not worth optimizing
  • Select volumes with an annual spend over $100.
  • Select volumes that do not belong to an EMR cluster
  • Select volumes for which peak IOPS is less than 3K and peak throughput is less than 125 MB/s
    • CloudFix does not exceed gp3 baseline rates to avoid any possible performance degradation.
    • CloudFix fetches peak metrics for Nitro-based instances and estimates peak metrics for other instances using the sum metric.
  • Select only elastic volumes, where no downtime is expected
    • All volumes attached since 4th November 2016 are elastic, meaning that they support migration to gp3 without requiring downtime and the majority of volumes are elastic.

Potential savings (range in % on annual basis):

For volumes with less than 3000 IOPS, gp3 volumes are 20% cheaper than gp2 with no loss of performance

Can CloudFix implement the fix automatically once I accept the recommendation?

Yes. EBS gp2 to gp3 migration is automatic – once you accept the recommendation and schedule the fix, execution is automatic. As an extra precaution, CloudFix takes a snapshot of the EBS gp2 volume before migrating it to gp3 and retains it for the duration of the fix.

Is it possible to rollback once CloudFix implements the fixer?

Manual rollback on your AWS account is possible. One-click rollback via CloudFix for this opportunity is currently not available.

Does this fix require downtime?

No. EBS gp2 to gp3 migration via CloudFix does not require any downtime. It is executed as a zero downtime fix.s

Do it yourself (DIY) Instructions:

If you have a CloudFix subscription, CloudFix will execute these automatic cost savings for you. However, if you'd like to do it yourself - please follow these instructions:

Finding cost-saving recommendations with CloudFix is FREE! You'll need a paid subscription only if you'd like CloudFix to execute those recommendations.

AWS Console

Navigate to the Recommendations page on CloudFix to find all EBS volumes that you can retype to gp3.

  • For each EBS volume that is identified as an opportunity in CloudFix:
    Grab the resource ID from CloudFix
    ResourceID.png
  • Navigate to the AWS EC2 Console and select Elastic Block Store Volumes.
    EBS.png

  • Enter Volume ID and the volume id to quickly find the volume.
    filter-by-volume-id.png
  • Select the volume and select Actions -> Modify volume.
    actions-modify-volume.png

  • Select the volume type gp2 and press Modify
    modify-volume-type.png

Repeat this process for each volume until you are done with all volumes.

AWS CLI

For each recommended volume id in the CloudFix Recommendation page

  • Grab the resource ID
    ResourceID.png

  • Run the following command. Replace [volume id] with the resource ID
aws ec2 modify-volume --volume-id [volume id] --volume-type gp3

Check this AWS Documentation -> Using AWS CLI section for more details.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request