liveBook · Manning

Vertical scaling

As explained in Microsoft Azure in Action

A scaling technique that changes the size of an individual virtual machine or database server to increase or decrease its computing resources.

Vertical scaling changes the size or type of one virtual machine or database server. Scaling up adds computing resources; scaling down removes them. It is the cloud equivalent of giving one hard-working machine a bigger backpack. section 3.5.1 section 10.7

Use vertical scaling when demand changes but one larger or smaller resource remains the simplest fit:

  • Start with a small VM and change its size when the application needs more or fewer resources. section 3.5.1
  • Increase an Azure SQL database's compute size or memory during traffic spikes, then choose a smaller configuration when demand falls. section 10.4.4
  • Choose horizontal scaling instead when distributing workload across multiple VMs or database replicas is more appropriate. section 3.5.1 section 10.4.4

Banning Books prepares for peak traffic

During Banned Books Week or Ultra Black Friday, Banning Books can scale its Azure SQL database from a Standard tier with 100 DTUs to a higher-performance tier. The larger configuration helps process heavier reads and writes from orders and browsing. Azure CLI can apply the change with `az sql db update --name BanningBooksDB --resource-group BanningRG --server BanningBooksServer --service-objective S3`. section 10.4.4

How Microsoft Azure in Action covers it

How deep it goes
Defines scaling up and down, contrasts scaling out, and demonstrates Azure SQL sizing without detailing internals.
Examples
Uses changing Azure VM sizes, seasonal Banning Books traffic, DTU tiers, and an Azure CLI database update.
What you can do after
Operate Azure VMs or SQL databases by selecting larger or smaller resource configurations for changing workloads.
How it connects
Connects VM sizes, VM scale sets, Azure SQL Database, DTUs, vCore-based instances, read replicas, and horizontal scaling.

Also explained in

Compare how 7 books explain vertical scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.