Is it possible to autoscale an azure server that is not a part of an availability set?

Copper Contributor

Good day, 

 

I created a server for a client but would need the RAM to be increased from 8GB to 16GB for 2 weeks out of the month then revert to 8GB automatically. Is it possible to do so if the server is not a part of an availability set? A shutdown to do the increase would be fine. We would just schedule it.

2 Replies

pretty easy to do just create a runbook and throw a schedule on the runbook 

 

$vm = Get-AzureRmVM -ResourceGroupName <resourceGroup> -VMName <vmName> $vm.HardwareProfile.VmSize = "<newVMsize>"

Update-AzureRmVM -VM $vm -ResourceGroupName <resourceGroup>

 

 

Hi Dwayne,

 

If you want to use auto scale feature I recommend to use Azure Scale Set. From Scale set we can configure scale out or in according to the metrics provided.

 

for more about scale set 

https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-overvie...