All Projects → trackit → aws-cost-report

trackit / aws-cost-report

Licence: MIT license
Generate Sheets (Google, Excel and CSV) with useful information about your AWS spendings.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to aws-cost-report

poa-network-consensus-contracts
Main repository for POADAO consensus. Includes contracts for Initial Ceremony, Governance, Management of Validators
Stars: ✭ 68 (-13.92%)
Mutual labels:  governance
trackit2-home
TrackIt helps you to optimize your AWS cloud
Stars: ✭ 46 (-41.77%)
Mutual labels:  cost-optimization
productivity-tools
List of popular productivity tools for SharePoint
Stars: ✭ 26 (-67.09%)
Mutual labels:  governance
Meta
Discussions around the processes and coordination of the Bitcoin Design Community
Stars: ✭ 120 (+51.9%)
Mutual labels:  governance
Jupiter
Jupiter是斗鱼开源的面向服务治理的Golang微服务框架
Stars: ✭ 3,455 (+4273.42%)
Mutual labels:  governance
awesome-aws-research
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources for Academic Researchers new to AWS
Stars: ✭ 41 (-48.1%)
Mutual labels:  cost-optimization
Community-Governance
The IOTA community creates a governance structure for the community treasury.
Stars: ✭ 36 (-54.43%)
Mutual labels:  governance
About moja global
About moja global and How We Work
Stars: ✭ 33 (-58.23%)
Mutual labels:  governance
Community
Istio governance material.
Stars: ✭ 2,228 (+2720.25%)
Mutual labels:  governance
collective
How the unified collective is governed
Stars: ✭ 41 (-48.1%)
Mutual labels:  governance
about
Home to all of our staff information, decision-making rules and processes. It is our staff manual that can be developed collaboratively with the community and reused by everyone.
Stars: ✭ 26 (-67.09%)
Mutual labels:  governance
devops-governance
Example end-to-end Governance Model from CI/CD to Azure Resource Manager. Use this project to deploy example AAD, ARM and Azure DevOps resources to learn about e2e RBAC.
Stars: ✭ 79 (+0%)
Mutual labels:  governance
unishox js
JS Library for Guaranteed compression of Unicode short strings
Stars: ✭ 27 (-65.82%)
Mutual labels:  cost-optimization
poa-dapps-voting
POA Network Governance Dapp
Stars: ✭ 24 (-69.62%)
Mutual labels:  governance
ssb-js
Governance repository for the SSB-JS organization.
Stars: ✭ 15 (-81.01%)
Mutual labels:  governance
foundation
Interactions with the CDF Staff and Board
Stars: ✭ 20 (-74.68%)
Mutual labels:  governance
Unishox2
Compression for Unicode short strings
Stars: ✭ 124 (+56.96%)
Mutual labels:  cost-optimization
awesome-azure-policy
A curated list of blogs, videos, tutorials, code, tools, scripts, and anything useful to help you learn Azure Policy - by @jesseloudon
Stars: ✭ 313 (+296.2%)
Mutual labels:  governance
awsdtc
AWS Data Transfer Cost Explorer
Stars: ✭ 90 (+13.92%)
Mutual labels:  cost-optimization
governance-crosschain-bridges
This repo contains the crosschain governance bridges used for the aave markets deployed across different networks
Stars: ✭ 116 (+46.84%)
Mutual labels:  governance

Cost report generator

Requirements

  • Install jq
  • Install the python3 dependencies: sudo pip3 install -r requirements.txt

Google Sheets API access

Follow the instructions at https://developers.google.com/sheets/api/quickstart/python to setup credentials and API access.

How to run the tool on your machine

# Print help and usage informations
$> ./run.py --help

# Run with one billing bucket and one EC2 profile
$> ./run.py --billing profile_name billing-bucket-name prefix --ec2 profile_name --xlsx-name filename

# Run with multiple billing buckets and EC2 profiles
$> ./run.py --billing profile_name billing-bucket-name prefix --billing profile_name2 billing-bucket-name2 prefix2 --ec2 profile_name --ec2 profile_name2 --xlsx-name filename

The tool is built to use AWS credentials stored in ~/.aws/credentials. If you set the profile to env, the tool will use environment variables you must supply instead.

How to run the tool with docker

The docker container do not export any data to google sheets. However it generates CSVs in the out directory, and a local spreadsheet generation will be added soon.

Use our prebuilt image

# Pull the msolution/aws-cost-report image
$> docker pull msolution/aws-cost-report

Build your own image

# Build your own msolution/aws-cost-report image
$> docker build -t msolution/aws-cost-report .

Use the docker container

# Run with one billing bucket and one EC2 profile, using env credentials
$> docker run -v /local/path/out:/root/aws-cost-report/out -e AWS_ACCESS_KEY_ID=accesskeyid -e AWS_SECRET_ACCESS_KEY=secretaccesskey -e AWS_DEFAULT_REGION=default-region -e AWS_SESSION_TOKEN=sessiontoken(optional) msolution/aws-cost-report --no-generate-sheet --billing env billing-bucket-name prefix --ec2 env --xlsx-name filename

# Run with multiple billing buckets and EC2 profiles, using your local aws credentials
$> docker run -v /path/to/credentials:/root/.aws:ro -v /local/path/out:/root/aws-cost-report/out msolution/aws-cost-report --no-generate-sheet --billing profile_name billing-bucket-name prefix --billing profile_name2 billing-bucket-name2 prefix2 --ec2 profile_name --ec2 profile_name2 --xlsx-name filename

Screenshots

Download the report example here.

Cost and variations tab

Reserved instance summary

Instance size recommendations

EC2 instances last month

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].