[ec2-beta] Can I retrieve the current cost of a running instance?

Dustin Kirkland kirkland at ubuntu.com
Tue Feb 3 14:44:58 GMT 2009


Hi guys-

Is it possible from a command line within a currently running ec2
instance to call out to AWS and retrieve the current cost in dollars
of this instance?

I suppose it might be roughly calc-able by measuring uptime and
network traffic, multiplying by the cost basis, etc.  But that seems
really complicated.

Any pointers would be really appreciated.

Thanks,
-- 
:-Dustin




More information about the Ec2-beta mailing list