Volumes: what's attached, and what still bills
A DigitalOcean volume is network-attached block storage for droplets or Kubernetes clusters, and it is billed whether or not it is attached. Duskwatch is an independent iPhone app for DigitalOcean, in development; it lists every volume with its droplet, size and region, and flags the ones that sit unattached while they keep billing.
Updated
- Not attachedstill billed: the finding on idle volumes
- 1 hourold at least before a volume is flagged
- No pushan idle volume costs money but breaks nothing
- No deletecleanup happens in DigitalOcean, at a desk
01Volumes
Every volume, and the droplet it belongs to
Volumes have no running or stopped state in DigitalOcean's API. What matters is whether a droplet uses one, so the app shows Attached or Not attached, in words.
Attached to web-01 · Active
The droplet that depends on it, with its own state, one tap away.
100 GiB
The size you pay for, used or not.
Monthly estimate
What it costs to keep, estimated from the size.
Region
Where the data lives, next to the droplets that use it.
ext4, or "Not formatted"
Whether it was ever prepared for use.
Label, tags and created date
Clues to who made it and why, such as "scratch" or "batch".
From DigitalOcean's docs
Volumes are network-attached block storage that you can use with droplets or Kubernetes clusters, move or resize, and snapshot at any time.
A volume can be from 1 GiB to 16 TiB, attaches to one droplet at a time, and a droplet can have up to 15 volumes attached.
02Still billed
Not attached, still billed
A droplet is destroyed after a migration or a batch job ends, and its volume stays behind, charged every month. The app flags each one on its screen.
In the droplet list
- scratch-01 belongs to no droplet
- So it shows up nowhere you look
On its screen in Duskwatch
- Not attached, still billed
- scratch-01 · 100 GiB · an estimate of its monthly cost
- Attach it to a droplet, or snapshot and delete it in DigitalOcean
From DigitalOcean's docs
Volumes are billed per GiB per month, and you are charged for volumes whether or not they are attached to a droplet.
DigitalOcean docs: Volumes pricing (external link), verified
03Used space
How full is it? Ask the droplet
DigitalOcean's API reports a volume's size, not how much of it is used. Used space shows on the droplet's screen, when its metrics agent runs.
04Clean up
Cleaning up, in DigitalOcean
The app has no delete button, here or anywhere: deleting storage is final. The volume screen opens the volume in DigitalOcean when you are ready.
- 1
Find the candidates
Volumes marked Not attached, oldest first.
- 2
Check what is on one
Attach it to a droplet and mount it.
- 3
Snapshot it
If any of the data might matter later.
- 4
Delete it in DigitalOcean
Then confirm it is gone from the list.
What Duskwatch doesn't do here
- No deleting, detaching, attaching or resizing volumes
- No push for volumes: an unattached volume is a finding
- No used space per volume: DigitalOcean's API does not report it
- No browsing the files on a volume
Questions
Am I billed for a detached volume?
Yes. DigitalOcean charges for volumes whether or not they are attached to a droplet, per GiB per month.
How do I find unattached volumes?
Every volume shows Attached or Not attached in words, and the unattached ones carry the finding "Not attached, still billed". Volumes made in the last hour are left out.
Can I delete a volume in Duskwatch?
No. Open it in DigitalOcean from the volume screen, snapshot it if you need the data, and delete it there.
Will I get a push about an unattached volume?
No. It is a quiet finding on the volume's screen, because it costs money but does not take anything down.
Can I see how full a volume is?
Not on the volume itself, since DigitalOcean's API reports only its size. If the droplet it is mounted on runs the metrics agent, the droplet screen shows the filesystem filling.