On Wed, May 06, 2015 at 12:56:04PM -0700, Arthur D. Edelstein wrote:
Maybe you could rig up something that shuts down the instance? Or does Amazon charge you even then?
That might work. I found some documentation on an API for CloudFront web distributions: https://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/Actions_Dis... https://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/PutConfig.h...
It looks like you can PUT an <enabled>true</enabled>.
It would be nice if this were a separate process apart from meek-server that counts requests and bytes and keeps track of estimated costs. It should be able to send a message to another process somewhere that controls the AWS API keys.