Have you already migrated the drives on your EC2 from gp2 to gp3? Did you know that thanks to this you can save up to 20% and gain better parameters?
EC2 and gp3
GP3 Volumes are not only cheaper, they also have better parameters. Here you will find a short comparison of these 2 types of drives and a description of how it can be easily done – Migrate your Amazon EBS volumes from gp2 to gp3 and save up to 20% on costs | AWS Storage Blog.
Changing EBS Volumes gp2 to gp3 is really simple. Just select your drive, click edit and select a new drive type.
When you have more volumes, it is better to use the CLI than to click each volume separately:
aws ec2 modify-volume --volume-type gp3 -volume-id <vlume_ID>
Of course, it’s best to have infrastructure as code, e.g. in Terraform, and then you only correct one parameter type
.
resource "aws_ebs_volume" "example" {
availability_zone = "us-west-2a"
size = 40
type = "gp3"
tags = {
Name = "example_name"
}
}
RDS and gp3
Recently, RDS also supports gp3 Amazon RDS now supports new General Purpose gp3 storage volumes. GP3 have better performance. Unfortunately, in this case there is no big savings. With RDS, the cost of gp3 is the same as gp2.