Grow Without Waiting
Grow Without Waiting
Our Load Balancer is doing its job. It distributes users across all available virtual machines. But one evening, your application suddenly goes viral. Within minutes, every virtual machine is running at full capacity. The Load Balancer has nowhere else to send new users. The engineering problem was now obvious. How do we increase computing capacity automatically when demand increases? The engineering concept that solved this problem is Auto Scaling. Instead of relying on engineers to manually launch new virtual machines, the cloud continuously monitors demand. When CPU usage, memory consumption or incoming traffic crosses a defined threshold, new virtual machines are created automatically. As demand falls, the extra machines are removed, ensuring resources are used efficiently. Amazon Web Services calls this Auto Scaling. Microsoft Azure calls it Virtual Machine Scale Sets (VMSS) with Autoscale. Google Cloud calls it Managed Instance Groups (MIG) with Autoscaling. Different names. One engineering concept. Applications can now expand and shrink automatically based on demand. But this revealed another question. Do we really need to create an entire virtual machine just to run a few lines of code?
