Skip to content
Forecast Lambda functions costs 💰
Branch: master
Clone or download
Latest commit 8e51e8b Aug 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Initial commit. Jul 30, 2018
.gitignore Initial commit. Jul 30, 2018
CONTRIBUTING.rst
LICENSE Update LICENSE Aug 25, 2018
README.rst
consts.py
lambda-cost-calculator.png
lambda_cost_calculator.py
requirements.txt Initial commit. Jul 30, 2018

README.rst

Lambda Functions Cost Calculator

https://github.com/epsagon/lambda-cost-calculator/blob/master/lambda-cost-calculator.png

(Based on photo by Valve Software / CC BY-SA 4.0)

Motivation

  • Understand the usage (invocations and avg. duration) of Lambda functions.
  • Understand and estimate the cost of Lambda functions (projected monthly based on last day).

Setup

git clone https://github.com/epsagon/lambda-cost-calculator
cd lambda-cost-calculator/
pip install -r requirements.txt
python lambda_cost_calculator.py

Example Outputs

CLI:

https://github.com/epsagon/lambda-cost-calculator/blob/master/examples/cli.png

CSV file:

https://github.com/epsagon/lambda-cost-calculator/blob/master/examples/csv.png

Usage

Output data to CSV (It will include more relevant data!):

python lambda_cost_calculator.py --csv lambda_cost.csv

Provide credentials:

python lambda_cost_calculator.py --token_key_id <access_key_id> --token_secret <secret_access_key>
You can’t perform that action at this time.