Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 445
Nariman Avatar asked Dec 28 '22 07:12

Nariman


1 Answers

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

like image 189
user94559 Avatar answered Jan 14 '23 17:01

user94559