You can subscribe to the location instance data feed to receive payment for your running instances dumped into the S3 bucket. Install the ec2 toolkit and then run:
ec2-create-spot-datafeed-subscription -b bucket-to-dump-in
Note. You can have only one data feed subscription for your entire account.
After about an hour, you should see that the bucket displays gzipped delimited files that look something like this:
#Version: 1.0 #Fields: Timestamp UsageType Operation InstanceID MyBidID MyMaxPrice MarketPrice Charge Version 2013-05-20 14:21:07 UTC SpotUsage:m1.xlarge RunInstances:S0012 i-1870f27d sir-b398b235 0.219 USD 0.052 USD 0.052 USD 1
source share