Reputation: 9610
Is it possible to trigger a resize of an Azure VM automatically based on a set condition?
For example, increase from a 'Medium' machine to 'Large' if the processor/RAM is over 90% usage out for 5 minutes? Then, obviously scale back down when usage reduces?
Or... is it possible to schedule a resize between (peak) UK office hours then downscale off-peak?
Just a thought...
Upvotes: 1
Views: 1511
Reputation: 15860
If you want a hands-free approach and do not mind using a third-party service checkout AzureWatch There is a lot of coding, maintaining, monitoring and worrying about the nuance of auto-scaling if you end up implementing whatever auto-scaling solution by yourself with or without open-source blocks - and the cost that is perceived to be saved is still incurred when the auto-scaling solutions need to be hosted somewhere, sometimes at a greater scale.
Upvotes: 2
Reputation: 5377
Worth checking out the Auto Scaling Building Block from the patterns and practices team, part of the Enterprise Library 5.0 for Windows Azure
The Microsoft Enterprise Library Autoscaling Application Block (WASABi) lets you add automatic scaling behavior to your Windows Azure applications. You can choose to host the block in Windows Azure or in an on-premises application. The Autoscaling Application Block can be used without modification; it provides all of the functionality needed to define and monitor autoscaling behavior in a Windows Azure application.
The Enterprise Library Autoscaling Application Block includes the following features:
- It allows you to use the graphical Enterprise Library configuration tool to manage configuration settings.
- It allows you to configure the storage locations and logging mechanisms used by the block.
- It allows you to extend the block by adding custom autoscaling rules and actions.
Upvotes: 3
Reputation: 30893
No, it is not possible. But you can fairly easy program that auto scale. Take e a look at the Azure Scale Me project. This uses calls to Cloud Services, but you can fairly easy add calls to the Virtual Machines REST API Calls instead of Hosted Services REST API calls.
Upvotes: 3