Predictive Autoscale: Start Hosts Before the Sign-In Rush
Autoscale reacts to the sessions it can see. When a morning sign-in rush starts, it starts more session hosts, and the first users wait while those hosts boot. Many administrators avoid the wait by keeping extra hosts running all morning, which costs money all morning. Predictive Autoscale learns when each host pool gets busy from the pool's own session history, and starts hosts about 15 minutes before the sign-ins arrive. It only ever adds hosts on top of your autoscale settings, a ceiling you set limits how many, and it is off by default.
Prerequisites
- A plan that includes the autoscale engine
- A pooled host pool with autoscale turned on and at least one powered-off session host it can start
- At least four weeks of session history for the pool. Atlas records it as users sign in, so there is nothing to import
- An administrator who can change settings in the Configuration Matrix for the deployment, a tenant or a host pool
How the forecast works
Each time autoscale checks a host pool, which is every few minutes, Atlas looks at the 15-minute slot that starts about 15 minutes from now. It finds how many sessions the pool had in that same slot, on the same weekday, in each of the last six weeks, and expects the usual busy week, not an unusually quiet one. From that it works out how many hosts the users need at the pool's Max users per VM, plus the free-session buffer the pool keeps.
- Weeks are matched on local time in the pool's Schedule Timezone, so the Monday 08:45 pattern stays at 08:45 when the clocks change
- Your tenant's holidays are left out of the history, and nothing is predicted on a holiday
- Month-end peaks are predicted too. The last two business days of a month are also compared with the same business day at the end of each of the last three months, and when those month-ends were busier, that forecast is used. A busy month-end is left out of the ordinary weeks after it, so it doesn't make them look busier than they are
- Confidence shows how steady the pattern is. When the weeks differ too much (below 70%), Atlas does not act on the forecast
- A pool with less than four weeks of history for that weekday and time is autoscaled as it is today
What Atlas does
- When the forecast needs more hosts than your autoscale settings require at that moment, autoscale starts powered-off hosts to cover it
- The hosts it started stay running until the predicted demand has passed, even while they wait idle for the users. After that, autoscale stops idle hosts as usual
- Each start is recorded in the activity log with the pattern it followed, for example: pre-warm 3 hosts: Monday 08:45 pattern, 94% confidence, or pre-warm 2 hosts: month-end Friday 08:45 pattern, 90% confidence
- Autoscale still reacts to the users who actually arrive. If more sign in than predicted, it starts more hosts as it always has
Guardrails
- It only adds hosts. It never stops a host, and never runs fewer hosts than Hosts Running 24/7 or an active schedule's minimum
- Most Hosts Predictive Autoscale Adds (2 by default) caps how many hosts it keeps running above what your autoscale settings require. This is the most the forecast can add to your bill at any time
- It never starts more hosts than the pool has, and never builds a new session host
- Like the rest of autoscale, it waits during a maintenance window that pauses autoscale, for 10 minutes after autoscale stopped a host, and while the pool's session host data is out of date
- If Atlas cannot read the pool's session history, the pool is autoscaled as it is today
Preview it before you turn it on
Open the host pool, go to Settings → Scaling & Intelligence and scroll to the Predictive autoscale card at the bottom of the Autoscale tab. It shows what the forecast expects in the next slot and how many hosts it would start early. For the last seven days it shows how many sign-ins waited for a host, how many would still have waited, and the extra host-hours and estimated cost that pre-warming would have taken. On a month-end day, the card says when the forecast follows earlier month-ends. Use it to check that the pattern is steady and to choose a ceiling. The card's badge shows Preview while Predictive Autoscale is off for the pool, and On once it is turned on, with the ceiling it uses.
Turn it on
- 1Open Settings → Matrix and find Predictive Autoscale.
- 2Turn it on at Global for every host pool, for one tenant, or for a single host pool.
- 3Optionally set Most Hosts Predictive Autoscale Adds for the same scope. Start low, for example 1 or 2, and raise it once the activity log shows the starts are being used.
Turning the setting off stops any further early starts on the next autoscale check. Hosts it already started are stopped by autoscale when they are idle, as usual.