Cost Explorer with AWS ParallelCluster

Posted on Feb 11, 2022
tl;dr: Track cluster cost with AWS Cost Explorer

Cost Explorer with AWS ParallelCluster

Budgets allow you to track cost at the per-cluster basis, they do this by tracking tags applied automatically to EC2 Instances launched with pcluster.

This gives users a view of exactly how much a cluster costs overtime, it tracks:

  • EC2 Instances
  • EBS Volumes
  • ~FSx Lustre Volumes~
  • ~EFS Volumes~
  1. Activate the parallelcluster:cluster-name tag in the Billing Dashboard > Cost Allocation Tags

image

Wait 24 hours 📆 🥱

  1. Then go to Cost Explorer > Click on Tags on the right side and select parallelcluster:cluster-name and the cluster you wish to display the cost of. If you don’t see the tag, it’s most likely since it hasn’t been 24 hours since you activated it 🥱.

image

You can group by Instance Type to breakdown cost by instance type, you can group by Service to break down costs between EC2, EBS, ect.