Oct 24 2017 12:43 PM - last edited on Jul 23 2018 01:20 PM by Eric Starker
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.
Jan 02 2018 07:06 PM
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>
Jan 02 2018 07:12 PM
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