-3

Are there some Azure APIs that allow me to access the scaling functionalities from my C# code in Visual Studio? For example, I need to scale from 2 to 5 instances when some football matches end, and go back to 2 after 1 hour.

JJM01
  • 11
  • 1
  • Look at the Azure auto scale features. And no, it is not possible. – Camilo Terevinto Jun 17 '16 at 12:00
  • Powershell is full of functionality for this type of stuff. Not quite C#/VS, but not really all that far off either (and there's a lot that can be done in C# with the Azure SDK, but I'm pretty sure powershell offers a more robust API). – jleach Jun 17 '16 at 12:07
  • 1
    Scale instances of *what*? Web apps? Cloud services? – David Makogon Jun 17 '16 at 17:26
  • 1
    @cFrozenDeath Why do you say it's not possible? – David Makogon Jun 17 '16 at 17:28
  • Check into CloudMonix @ http://cloudmonix.com - its a 3rd party product, but allows to scale based on a ton of various very custom criteria. Disclaimer: I'm affiliated with the product – Igorek Jun 17 '16 at 22:50

1 Answers1

0

This indeed possible using The Autoscaling Application Block, that enables to auto-scale using custom metrics. Nevertheless, note that this library is no longer maintained.

You may want to also read the updated Autoscaling guidance, which also describes the Autoscaling Application Block mentioned above.

yonisha
  • 2,956
  • 2
  • 25
  • 32