Open Bug 1601530 Opened 6 years ago Updated 6 years ago

Tag EBS volumes like we do for EC2 instances

Categories

(Taskcluster :: Workers, task)

task
Not set
normal

Tracking

(Not tracked)

People

(Reporter: coop, Unassigned)

References

Details

Trink's been heroically digging through our cost data. Today he let me know that our EBS storage accounts for up to 20% of our cost, yet it is hard to tie back to instances, projects, or anything (really) because we don't tag EBS volumes at all.

We should fix that.

We should also make this a general fix so that it applies equally in GCP, Azure, and wherever else we run things.

Where do we tag instances right now? Maybe monopacker is the right place for this?

Assignee: nobody → miles
Status: NEW → ASSIGNED

Bug 1627116 covers this work specifically for AWS, so I'll update that as well.

I've created a PR here [0] for this functionality in aws-provider, which will make all AWS provider workers tag their EBS volumes with the same tags as their EC2 instances.

[0] https://github.com/taskcluster/taskcluster/pull/2688

In response to the description, cloud instances are requested and tagged by the worker-manager cloud specific providers, so tagging at instance creation time makes sense.

Monopacker creates volumes / disks / images in each cloud, those images should also be tagged for accounting but make up considerably less spend. In AWS, AMIs are tagged with a name, but we do not currently tag the snapshot and volume in an easy to recognize fashion. I've created bug 1631119 to track this work for monopacker.

Depends on: 1627116
See Also: → 1627116
See Also: → 1631119
Depends on: 1633582
Blocks: 1634786
Assignee: miles → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.