Skip to content
colinbjohnson edited this page Jul 16, 2012 · 1 revision

Summary

rds-cost-calculator will produce a report of all rds instances and the cost to run them over a given period of time.

Example of Usage

Executing the command below will provide a calculation of cost to run all currently running databases in the us-east-1 region for one month.

 $ ./rds-cost-calculate.sh -p month -r us-east-1

Example Output

 DBInstanceId Class Storage Status SecurityGroup EndpointAddress MultiAZ Region InstanceCost
 db01dev db.m1.small 15 available db01dev db01dev.cf2dydfxiush.us-east-1.rds.amazonaws.com n us-east-1 79.2
 db01prd db.m1.small 15 available db01prd db01prd.cf2dydfxiush.us-east-1.rds.amazonaws.com n us-east-1 79.2
 db01qa db.m1.small 15 available db01qa db01qa.cf2dydfxiush.us-east-1.rds.amazonaws.com n us-east-1 79.2
Clone this wiki locally