Autoscaling

Published

Updated

📈

Automatically scale on demand.

Autoscaling moves MySQL, storage and traffic to the plan that fits the usage of a fortrabbit environment, up and down. It is on by default. Without it, the price is fixed and a full component stops at its plan.

Turn autoscaling on or off per environment, when creating it or later on the components page.

Components that autoscale

ComponentAutoscalingMeasured by
MySQL✅ YesDatabase size
Storage✅ YesDisk usage
Traffic✅ YesVolume of the month
PHP❌ No-
Jobs❌ No-
Backups❌ No-

How it works

With autoscaling on, the booked plan is the smallest one. When usage outgrows it, the next larger plan is booked, and when usage drops, the plan goes back down. Storage and MySQL count by the day, see daily aggregation. Traffic grows over the month, and the plan that matches the total of the month applies to the whole month.

MySQL autoscales up to LG, the largest plan with shared memory. The plans from XL up, with dedicated memory, are booked by hand on the components page. A database that outgrows LG accepts no new rows, see missing INSERT privileges.

Autoscaling off

Without autoscaling, the price is fixed, and a component stops at the size of its plan:

ComponentWhen the plan is full
StorageThe app cannot write files.
MySQLThe database accepts no new rows, see missing INSERT privileges.
TrafficThe environment goes offline until the next month.

The technical contacts get an e-mail warning shortly before a limit is reached, at most once a month.

Recommendations

  • Keep autoscaling on, with XS plans, to pay for what is used.
  • Book a larger plan for a steadier bill.
  • Turn autoscaling off for a fixed price, and watch the metrics.

The plans grow in wide tiers, so most environments stay on the same plan from month to month.

Usage that grows

Growing usage can mean more visitors, or a problem such as unrotated logs or bots creating content. See why storage, MySQL and traffic grow.

PHP, jobs and backups do not autoscale: their usage gives no clear signal for when to switch plans. if that matters to you.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗