Lambda Functions Cost Calculator
(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:
CSV file:
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>