Search code examples
azureazure-web-roles

Scheduling Azure Instances


I'd like to run a single Azure instance on a predetermined schedule (e.g. 9-5 PM EST, Mon-Fri) to reduce billing and am wondering what the best way to go about it is.

Two parts to the question:

  • Can the Service Management API [1] be used to set the InstanceCount to 0 on a predetermined schedule?
  • If so, are you still billed for this service, as is the case with suspended deployments?

[1] - http://blogs.msdn.com/b/gonzalorc/archive/2010/02/07/auto-scaling-in-azure.aspx


Solution

  • You can't set the instance count to zero, but you can suspend and then delete the deployment and then redeploy all programmatically.