-
Notifications
You must be signed in to change notification settings - Fork 405
ec2costcalculator
colinbjohnson edited this page Jul 16, 2012
·
1 revision
ec2-cost-calculate will produce a report of all ec2 instances and the cost to run them over a given period of time.
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.
$ ./ec2-cost-calculate.sh -p month -r us-east-1
InstanceID InstanceSize InstanceIP InstanceStatus InstanceName AutoScalingGroup Region InstanceCost i-15bb817b m1.large ec2-107-20-197-154.compute-1.amazonaws.com running ad.dev1 Null us-east-1 244.8 i-7da45d1c m1.large ec2-50-16-125-87.compute-1.amazonaws.com running corp.prd Null us-east-1 244.8 i-32711050 m1.small ec2-107-21-158-232.compute-1.amazonaws.com running Null webserver.prd1-ASG us-east-1 61.2