Elasticity is one of the big benefits of cloud computing. We have the ability to scale up and down based on our workloads and demand. If we have increased workload, we scale up. If workload decreases, we scale back down. With a pricing model of paying for what you use and billing by the minute, this allow us to save money.
We have already explained how to set up scale up and scale down VMs in Microsoft Azure. Scaling up and down means to change the size of the VM to a bigger or smaller instance. This is called vertical scaling. This can be very useful, but this approach has one consequence—every time a VM size is changed, reboot occurs. So, vertical scaling can be helpful as it can increase the size of the VM to handle more workload, but it will always cause downtime in the period when the VM is rebooting.
The solution for this is horizontal...