Start VM on connect enters GA

Published Jul 29 2021 10:27 AM 6,882 Views
Microsoft

Start VM on Connect will help you optimize the costs of your deployment. Instead of predicting when the VMs need to be available for your users, give them the power to turn on a deallocated or stopped VM to meet flexible demand.

 

This new feature that will turn on a shutdown or deallocated VM in a Azure Virtual Desktop host pool when you a user tries to connect to it. You could always set policies to shut down idle VMs and save cost - but with the Start VM on connect capability you can now also ensure that those VMs are available to your users if needed.  

 

Get started with our documentation here

 

7 Comments
Microsoft
Great News Eva. I worked with at least 10 customers and implemented this feature in the preview release. Just notified them. I'm sure they'll be super happy to see this GA announcement.
Microsoft
That is what I love to hear :)! No better way to start GA.
Occasional Contributor
Sounds amazing Eva. Our team is quite excited for this feature, and we've been previewing it for a bit now.
If possible, can you elaborate on "You could always set policies to shut down idle VMs and save cost". Are there any policies that can be set on the Azure side to detect idle VMs?
Microsoft

Have you seen this Jacob? https://techcommunity.microsoft.com/t5/azure-virtual-desktop/deallocate-vm-on-user-logoff/m-p/228021...

 

Just to clarify shutting down the VMs won't save you the money. You need to make sure the VMs are deallocated. That's why you need to use Azure REST APIs provided in the above blog to save on compute costs.

Microsoft

@JacobSteentoft: see the FAQ section in our documentation. You will find on Techcommunity tools that use them as well and provide functionality on top.

Occasional Visitor
Nice.
Is this feature useful for Azure Virtual Desktop for Single User session only or Can be used for Multi-User Session mode Desktop too?

What will happen to the installed software and stored files on a shutdown/deallocated VM? When the VM gets turn on back, does all the software & files be there ready to use?
Microsoft

@Chandu_P
This is valid for Personal and Pooled Desktops as well. Pls refer to the docs page https://docs.microsoft.com/en-us/azure/virtual-desktop/start-virtual-machine-connect

This feature doesn't affect the installed software when you shutdown/deallocate the VM. It only allows you to start the VMs on demand. The user's data stored under C:\users\{username} is persistent for Personal Desktops. For Pooled Desktops, you'll be using FSLogix to store user profiles in an external file share like Azure Files or Azure NetApp Files.

%3CLINGO-SUB%20id%3D%22lingo-sub-2595282%22%20slang%3D%22en-US%22%3EStart%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595282%22%20slang%3D%22en-US%22%3E%3CP%3EStart%20VM%20on%20Connect%20will%20help%20you%20optimize%20the%20costs%20of%20your%20deployment.%20Instead%20of%20predicting%20when%20the%20VMs%20need%20to%20be%20available%20for%20your%20users%2C%20give%20them%20the%20power%20to%20turn%20on%20a%20deallocated%20or%20stopped%20VM%20to%20meet%20flexible%20demand.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20new%20feature%20that%20will%20turn%20on%20a%20shutdown%20or%20deallocated%20VM%20in%20a%20Azure%20Virtual%20Desktop%20host%20pool%20when%20you%20a%20user%20tries%20to%20connect%20to%20it.%20You%20could%20always%20set%20policies%20to%20shut%20down%20idle%20VMs%20and%20save%20cost%20-%20but%20with%20the%20Start%20VM%20on%20connect%20capability%20you%20can%20now%20also%20ensure%20that%20those%20VMs%20are%20available%20to%20your%20users%20if%20needed.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGet%20started%20with%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fstart-virtual-machine-connect%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%20here%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597291%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1117542%22%20target%3D%22_blank%22%3E%40Chandu_P%3C%2FA%3E%3CBR%20%2F%3EThis%20is%20valid%20for%20Personal%20and%20Pooled%20Desktops%20as%20well.%20Pls%20refer%20to%20the%20docs%20page%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fstart-virtual-machine-connect%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fstart-virtual-machine-connect%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20feature%20doesn't%20affect%20the%20installed%20software%20when%20you%20shutdown%2Fdeallocate%20the%20VM.%20It%20only%20allows%20you%20to%20start%20the%20VMs%20on%20demand.%20The%20user's%20data%20stored%20under%20C%3A%5Cusers%5C%7Busername%7D%20is%20persistent%20for%20Personal%20Desktops.%20For%20Pooled%20Desktops%2C%20you'll%20be%20using%20FSLogix%20to%20store%20user%20profiles%20in%20an%20external%20file%20share%20like%20Azure%20Files%20or%20Azure%20NetApp%20Files.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597130%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597130%22%20slang%3D%22en-US%22%3ENice.%3CBR%20%2F%3EIs%20this%20feature%20useful%20for%20Azure%20Virtual%20Desktop%20for%20Single%20User%20session%20only%20or%20Can%20be%20used%20for%20Multi-User%20Session%20mode%20Desktop%20too%3F%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20will%20happen%20to%20the%20installed%20software%20and%20stored%20files%20on%20a%20shutdown%2Fdeallocated%20VM%3F%20When%20the%20VM%20gets%20turn%20on%20back%2C%20does%20all%20the%20software%20%26amp%3B%20files%20be%20there%20ready%20to%20use%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2596354%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596354%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295307%22%20target%3D%22_blank%22%3E%40JacobSteentoft%3C%2FA%3E%3A%20see%20the%20FAQ%20section%20in%20our%20documentation.%20You%20will%20find%20on%20Techcommunity%20tools%20that%20use%20them%20as%20well%20and%20provide%20functionality%20on%20top.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2596218%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596218%22%20slang%3D%22en-US%22%3ESounds%20amazing%20Eva.%20Our%20team%20is%20quite%20excited%20for%20this%20feature%2C%20and%20we've%20been%20previewing%20it%20for%20a%20bit%20now.%3CBR%20%2F%3EIf%20possible%2C%20can%20you%20elaborate%20on%20%22You%20could%20always%20set%20policies%20to%20shut%20down%20idle%20VMs%20and%20save%20cost%22.%20Are%20there%20any%20policies%20that%20can%20be%20set%20on%20the%20Azure%20side%20to%20detect%20idle%20VMs%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595495%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595495%22%20slang%3D%22en-US%22%3EThat%20is%20what%20I%20love%20to%20hear%20%3A)!%20No%20better%20way%20to%20start%20GA.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595493%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595493%22%20slang%3D%22en-US%22%3EGreat%20News%20Eva.%20I%20worked%20with%20at%20least%2010%20customers%20and%20implemented%20this%20feature%20in%20the%20preview%20release.%20Just%20notified%20them.%20I'm%20sure%20they'll%20be%20super%20happy%20to%20see%20this%20GA%20announcement.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2596235%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20VM%20on%20connect%20enters%20GA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596235%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20you%20seen%20this%20Jacob%3F%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-virtual-desktop%2Fdeallocate-vm-on-user-logoff%2Fm-p%2F2280211%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-virtual-desktop%2Fdeallocate-vm-on-user-logoff%2Fm-p%2F2280211%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJust%20to%20clarify%20shutting%20down%20the%20VMs%20won't%20save%20you%20the%20money.%20You%20need%20to%20make%20sure%20the%20VMs%20are%20deallocated.%20That's%20why%20you%20need%20to%20use%20Azure%20REST%20APIs%20provided%20in%20the%20above%20blog%20to%20save%20on%20compute%20costs.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Aug 02 2021 02:01 PM
Updated by: