payleen / ecs-ec2-cost-split

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter Notebook for ECS EC2 Split Cost Allocation Analysis

AWS Cloud Financial Management team recently added feature to provide task level cost allocation both for used and unused resources. Check out the announcement blog for feature details.

Assuming you have done the following steps

This repository provides Jypter NoteBook for analyzing split cost per service. Check out docs to install jupyter. Download the CUR report as CSV file with the split cost allocation data.

git clone https://github.com/arvindsoni80/ecs-ec2-cost-split.git
cd ecs-ec2-cost-split
jupyter notebook &

Open the split-cost-allocation-ecs-ec2.ipynb notebook. Change the variables such as CUR CSV file name, account id, and region as per your ECS settings. Then simply run the whole notebook. You will see the analysis done using the new split cost allocation. For example:

vCPU and Memory used and unused cost by ECS Service Service level memory used and unused cost plot

About


Languages

Language:Jupyter Notebook 100.0%