Vertical scaling, often called "scaling up", means upgrading the hardware of your existing server: more CPU, RAM, or storage. It is a straightforward and quick approach, especially with cloud-based database services.

Use cases

  • Monolithic applications that are not designed to be distributed.
  • Database servers, which need fast access to data that a single powerful machine can provide.
  • Temporary scaling to handle a short spike in traffic or load.

Advantages

  • Simplicity: no changes to application architecture and no distributed-systems complexity.
  • Performance: great for applications not built to run distributed.
  • Lower network latency: all resources live on one server.

Disadvantages

  • Limited capacity: a single server has a physical ceiling.
  • Downtime: upgrades often require downtime.
  • Cost: high-end servers get expensive quickly.
  • Single point of failure: if the server goes down, the whole application goes down.

Vertical scaling on AWS RDS

  1. Create a snapshot as a backup before changing anything.
  2. In the AWS Console, open RDS, go to Databases, and select your instance.
  3. Click Modify.
  4. Under DB instance class, pick a larger instance type.
  5. Optionally keep or change the DB instance identifier.
  6. Under Scheduling of modifications, apply immediately or during the next maintenance window.
  7. Click Modify DB Instance.

Changing the instance type causes some downtime, and its length depends on the size of your database.