M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

2026-11-27

Just-in-Time Desktops in Nerdio – Simply Explained

Follow the showNew episodes on Microsoft 365, Copilot and more, free in your podcast app.Apple PodcastsSpotify
Cover: Just-in-Time Desktops in Nerdio – Simply Explained
The virtual desktops you switched off last night can still show up on your Azure bill, because the disk behind a stopped machine keeps costing money. This episode explains how just-in-time desktops in Nerdio Manager tackle that, and what your users feel. In this episode of Simply Explained you will…

Show notes

The virtual desktops you switched off last night can still show up on your Azure bill, because the disk behind a stopped machine keeps costing money. This episode explains how just-in-time desktops in Nerdio Manager tackle that, and what your users feel. In this episode of Simply Explained you will learn:

  • What a just-in-time desktop is, and how it differs from normal autoscale
  • Why compute and storage are billed separately in Azure
  • How base capacity and burst capacity work in Nerdio Manager
  • How Start VM on Connect differs from building a new desktop
  • How pre-staging, minimum active hosts and graceful scale-in protect the user experience
  • How personal desktops, the common mistakes and the cost reports fit in

Simply Explained by M365.FM breaks down Microsoft 365, Azure and modern IT topics in clear, jargon-free language. Hosted by Mirko Peters. Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-microsoft-365-azure-cloud-power-platform-ai--6704921/support. This episode includes AI-generated content.

Apple Podcasts · Deezer

Host: Mirko Peters

Guests

Guests in this episode:

Transcript

Transcript (TXT)

Read the full transcript

Speaker 1: The virtual desktops you switched off last night are still on your Azure bill. That's because Azure stops charging for compute when a machine is off, but it keeps charging for the disk behind it. Nerdio has a way around that, and it's called just-in-time provisioning. Instead of keeping every desktop sitting there, it builds one when a user needs it and removes it when they don't. Today I'll show you how just-in-time works in Nerdio, where it saves money and the mistakes that make it feel slow. Let's start with the basics because the name makes it sound more complicated than it is. A just-in-time desktop is a desktop that only exists or only runs at the moment somebody needs it. Picture a rental car lot. You wouldn't leave every car idling overnight just in case a customer walks in at three in the morning. You keep a few ready to go and you bring in more only when the line builds up. A virtual desktop works the same way and the reason this matters comes down to how Azure charges you Azure builds for a virtual machine in two separate ways. While the machine is running, you pay for compute, which is the CPU and memory it uses. Once you shut it down or deallocate it, that compute charge stops. The storage charge for the operating system disk keeps going, though, because the disk is still sitting there in your subscription. That second charge is the one that quietly runs all month long. Most admins who manage Azure Virtual Desktop already know about the first one, Here's where the two ideas split apart. Autoscale starts and stops the machines you already have, which solves the compute side of the bill. Just-in-time provisioning attacks the other side. Instead of stopping the machine and leaving its disk behind, it removes the machine entirely and builds a fresh one later. Nerdio calls this burst capacity, and it describes it as a second form of autoscale. So the plain version is this. Autoscale saves you money while a desktop is asleep, and just-in-time saves you money while it's gone. That's the whole idea. The rest of this video is about the two ways Nerdio pulls it off, and about the one thing that decides whether your users ever notice the difference. It helps to see the leak as a number, so let's put one on it. Most people only use their virtual desktop during their working hours, which is a small part of the week. A week holds 168 hours, so for most of that time your session hosts aren't doing anything for anyone. If those machines are only stopped and never removed, you're paying storage on every one of them for the hours nobody's logged in. Picture a host pool of 20 machines. Overnight and through the weekend, all 20 sit idle and the compute bill for them drops to nothing once they shut down. The disk bill doesn't drop, though, because every one of those 20 machines still owns an operating system disk. Multiply that across several host pools and a few dozen customers, which is normal for a managed service provider, and the idle storage stops being a rounding error. This is the part that surprises people, because autoscale already feels like the answer to overspending. It's a real answer, and it handles the biggest line on the bill, which is compute. What it doesn't do is delete the disk. That's why Nerdio added a second mechanism instead of asking you to script one yourself. How much you save depends entirely on your user's working patterns, so measure in your own environment with Nerdio's cost reports instead of relying on headline figures. Even with that caveat, the direction is clear because you can't bill a customer for a machine that no longer exists, so the question becomes how Nerdio decides which machines to keep and which ones to build. Nerdio splits a host pool into two parts and the names are worth learning before we go further. Base capacity is the set of machines that autoscale turns on and off for you, so they stay in the pool and keep their disks. Burst capacity is the extra set that doesn't exist until demand calls for it, and that's the part we're calling just in time. Here's how Nerdio describes the split with a simple example. Take a host pool of 12 machines and apply the strategy to half of them. Six of those 12 become base capacity, so they're started and stopped dynamically as the day moves along. The other 6 are built from scratch when the user load climbs, and every base machine is already in use. When the load drops again, those 6 are removed completely and Nerdio scales them back in. The saving comes from that removal because those 6 machines are gone rather than stopped, you aren't paying for their attached storage. That cost is exactly what Autoscale alone leaves behind. Six idle disks don't sound like much in a small lab, but in a production pool with dozens of hosts, the same math repeats at every scale you operate. A couple of things to note here. The base machines still carry their disks, so the strategy saves on the burst half rather than the whole pool. You decide how much of the pool becomes burst capacity, which means you also decide how much you save. There's a second benefit that has nothing to do with the bill, and it's the one I'd point out to any admin worried about drift. Nerdio rebuilds the burst machines from your image on a regular basis. Its own documentation notes that this deletes and recreates those machines each day from the latest image version. A machine that's rebuilt from a current image can't drift far from that image, so the hosts carrying your users stay closer to a known patched state. That's a security habit as much as a cost habit, because configuration drift is how a fleet slowly stops matching the standard you thought you had. Now, building a machine takes time, and that's the trade-off we have to talk about. It's also the part that decides whether anyone on your team ever notices this is happening at all. Before we get to the user side, there's one more nerdier feature you need to know about. Because it's easy to confuse with burst capacity, it's called Start VM on Connect, and it does something slightly different. Instead of building a new machine, it automatically starts a host pool VM the moment a user tries to connect. That means the pool can sit at zero running hosts when nobody's around. That last part is the important bit for cost. Nerdio's documentation describes Start VM on Connect as a major cost-saving feature. It explains why. Because it lets you reduce a host pool to zero active machines outside working hours and still let a user in at any time. When the connection request arrives, the machine powers on and the user gets their desktop. Nerdio sets the needed roles on the subscription and turns the feature on at the host pool so you aren't hand-editing permissions in the portal. A couple of things to note before you enable it. First, StartVM on Connect works for both pooled and personal desktops, which is unusual because most cost features lean one way or the other. Second, it isn't the same thing as just-in-time provisioning. StartVM on Connect wakes up a machine that already exists and burst capacity creates one that doesn't. They solve the same kind of problem from two directions and the right choice depends on whether you care more about the speed of the wakeup or the cost of the disk. There are two documented limits worth repeating here, and both are the kind of thing you only find out the hard way. Because this feature starts a machine outside Nerdio's own automation, any scripted action you configure to run on startup won't fire. The fix is to put a scheduled startup task directly in your image. The other limit is that a start VM on Connect doesn't change the OS disk type, so a machine that autoscaled downgraded to a cheaper disk will start on that cheaper disk, which can feel slow. So both approaches buy you money and cost you time, and that time is what your users actually feel. This is the section I'd slow down for, because a cheap environment that annoys your users isn't a win, it's a support ticket. The honest trade-off of just-in-time is that a desktop which has to start or build shows up later than a desktop that was already running. Your job isn't to pretend that away, it's to hide it behind a good schedule. Pre-staging is the main tool for that. Rather than waiting for the first login of the day, you power a share of your hosts on the head of time and the common guidance is to do it 15 to 30 minutes before your users start. Nerdio takes that further with intelligent pre-staging. It watches how your people actually work and, Once it has learned the pattern, pre-stages disks about 30 minutes before the logons it expects. The point of both is simple because the desktop is already warm when the user sits down. The other half of a good experience is keeping a small buffer of machines awake. Nerdio calls this the minimum active host setting and it lets you say that a certain number of hosts or a percentage of the pool always stay on during business hours. That buffer absorbs the morning rush so the first 10 people in don't each wait on a cold machine. Here's the trade-off, this setting costs you money because those hosts keep their disks and setting it too high quietly undoes the saving you came for. The reverse direction matters just as much and it's where a lot of setups get rude. When autoscale scales a pool in, it should never yank a working user off their desktop. The right behavior is to put the host into drain mode so no new sessions land on it. Then Nerdio waits for the people already on it to log off and only then does it deallocate the host. Nerdio builds that graceful sequence into its autoscale engine and it lets you set a warning message and a session time limit so users know what's coming rather than being surprised. One more setting changes how this feels, and that's your load balancing choice. Depth first fills one host before starting the next, which lets idle hosts shut down sooner and saves money. Breadth first dreads users across every host for steadier performance. Cost and comfort pull in different directions here, so pick based on the user group in front of you rather than a single global rule. That's how to keep the build down without making the login feel worse. Everything so far leans on one assumption, which is that your hosts are interchangeable. That assumption breaks the moment you talk about personal desktops. A pooled host can be deleted and rebuilt because it belongs to nobody in particular and the user's data lives in their profile container rather than on the machine. A personal desktop is the opposite because it belongs to one person and it's theirs. You can't throw it away and hand them a new one every morning. That doesn't leave personal desktops out of the story, it just changes the lever from building to powering. Nerdio supports autoscaling on personal host pools in two modes, and the first is schedule-based, where desktops power on and off on a timetable you set. The other mode is user-driven, where a desktop starts when its owner connects, which is the personal desktop version of StartVM on Connect. Personal pools also add two controls that pooled pools don't need. Autogrow watches the number of desktops that aren't yet assigned to anyone, and when that number drops below a threshold you choose, it adds more. Autoshrink handles the other end. and it removes desktops that a user hasn't logged into for a set number of days. Nerdio is careful with that one, because the desktop is first tagged as pending deletion for a default of 24 hours, and it can email the user and your team before anything is actually removed. One more feature ties back to the drift point from earlier. You can tell Nerdio to reimage a used host on sign-off, so the next person who signs in gets a pristine image-based desktop. In a single-user pool, the desktop re-images when its owner signs off, and in a multi-user pool, the host re-images as soon as the last user leaves. A couple of things to note. Re-imaging on sign-off is a security win, and it can also cost you time if you pair it with aggressive scale-in, because the machine has to come back before it can serve anyone. So personal desktops get the same cost story with a gentler set of tools, which brings us to the mistakes. Most of the trouble I'd expect you to hit doesn't come from the features, it comes from turning them on without thinking through the day. Let's walk through the ones that show up most often, because most of them are decisions you'll make in your first week. The first mistake is treating just-in-time and autoscale as the same thing. If you assume autoscale already gives you the storage saving, you'll never turn on burst capacity, and you'll keep paying for disks that could be gone. The second is setting minimum active hosts to zero everywhere, because that sounds like maximum saving. It actually means the first person every morning waits for a cold machine. The third is skipping pre-staging and then blaming the platform for slow logins. When the schedule was the missing piece the whole time, the next set is about people rather than machines. Aggressive scale-in with no warning and no session time limit will log users off in the middle of work. And once that happens, they stop trusting the environment which costs more than the disks you saved. Reimaging on sign-off carries the same risk if you haven't told anyone, because a user who expects to come back to their session may not find it. The last mistake on the list is building burst capacity from a stale image. A freshly built host that arrives with old patches looks efficient and is actually a security problem. A couple of things to note about all of these. None of them is a bug, and each one is a decision that made sense on its own. The pattern behind every mistake is optimizing the bill without asking what the user experiences at 7 in the morning or at 6 at night. That's the balance the whole feature set is trying to strike. One final trap is worth its own line, and it comes from StartVM on Connect. If your environment depends on a startup script to join the domain, map a drive, or install an agent, remember that this feature starts the machine outside Nerdio's automation. That script won't run. Put the task in the image instead. and you won't spend a week chasing a host that never configured itself. So now you know the traps. The last thing to cover is how you prove the setup is doing what you think. You wouldn't rule this out across a customer base without checking it first. So let's talk about what to check and where to look. The safest place to start is a lab host pool. There you can deploy a couple of machines, turn on autoscale with burst capacity, and watch a desktop get built on demand. Then sign in and confirm that the machine you landed on is clean and current, because that's the claim you're making to your users. For the money side, Nerdio gives you two things worth knowing about. The first is the autoscale history report, which records what the engine did over a time range and can be printed and shared with a customer as evidence of the savings. The other is a dashboard that shows build cost against potential cost. It lets you see what you'd have spent without the automation next to what you actually spent. The important part is that those numbers come from your own environment rather than a vendor example, which makes them the numbers a budget owner will actually accept. Then validate the experience, not just the bill. Time the first login of the day with pre-staging off, then turn pre-staging on and time it again. Check that the minimum active host count covers your real morning rush rather than a guess. Confirm that a scaler sends a warning before it drains a host, and that a user who comes back later still finds their session or their profile intact. One last setting to turn on is AutoHeal. Session hosts do break, usually through domain trust or profile issues. AutoHeal can try a restart, and if that fails, remove and rebuild the broken machine while a spare holds the capacity. A broken host that nobody notices is the most expensive kind because it looks like capacity and behaves like a fault. That's how to turn just-in-time from a cost idea into something you can actually defend. Just-in-time in Nerdio is really a decision about when a desktop should exist, not just a way to cut a bill. Once you can build on demand, wake on Connect, and pre-warm before the rush, the idle machines on your Azure invoice stop being inevitable. If this made the topic feel less intimidating, subscribe and stay with Nerdio for the next one.