Amazon Elastic Block Storage (EBS) is Amazon's block storage offering that allows you to create volumes, which is the base primitive of everything related to EBS. There are several EBS volume types, each with different capabilities and its own set of pricing. EBS costs are factored into the cost category of EC2-Other on your AWS bill, which can oftentimes complicate understanding where these costs are coming from.
It is important to note that you are charged for the amount of provisioned storage not utilized storage. So, for example, if you create a 20GB EBS Volume and only utilize 1GB of it, you are still charged for all 20GB.
|Volume Storage Hours
|When you create an EBS volume you allocate a certain amount of storage to it. Ultimately, the main cost of an EBS volume is the result of the amount of hours you're using an EBS Volume and the size you allocate.
|EBS has different types of volume types which are documented below. Each volume type has different rates.
|Certain EBS volume types (io1, io2) allow you to specify an amount of provisioned input/output operations per second (IOPS). When using these volume types you are charged for the amount of provisioned IOPS even if you don't fully utilize them.
|Amazon EBS Snapshots
|Amazon EBS Snapshots are a point-in-time copy of your block volume data. EBS Snapshots are stored incrementally, which means you are billed only for the changed blocks stored.
|EBS Snapshot API Requests
|EBS charges you for the amount of API calls you make for snapshots. These are charged in increments of thousands of API requests.
Amazon EBS offers different volume types that have different pricing rates and functionality. Each EBS volume type is described below:
|General Purpose SSD (gp2, gp3)
|General Purpose SSD (gp3) volumes offer cost-effective storage that is ideal for a broad range of workloads.
|Provisioned IOPS (io1, io2)
|Provisioned IOPS SSD (io1 and io2) volumes are designed to meet the needs of I/O-intensive workloads, particularly database workloads, that are sensitive to storage performance and consistency. Provisioned IOPS SSD volumes use a consistent IOPS rate, which you specify when you create the volume, and Amazon EBS delivers the provisioned performance 99.9% of the time.
|Throughput Optimized HDD (st1)
|Throughput Optimized HDD (st1) volumes offer magnetic storage for frequently accessed data. It is a good fit for large, sequential workloads.
|Cold HDD (sc1)
|Cold HDD (sc1) volumes are cheapest in comparison to other volume types. It is intended for infrequently accessed, large, sequential workloads.
Oftentimes, EBS volumes are created in conjunction with other AWS resources such as EC2 instances but are de-coupled from the lifecycle of those other resources. One common pattern we see is that developers will create EC2 instances with EBS volume attached but when they delete the EC2 instance, they assume that the EBS volume is destroyed accordingly. In larger-scale environments with Auto Scaling, this problem can grow significantly as a part of an AWS bill.
We recommend that you periodically profile for unattached or stranded EBS volume.
Last updated Sep 26, 2023