[UPDATED]: Leverage start VM on connect for pooled host pools and Azure GOV cloud!

%3CLINGO-SUB%20id%3D%22lingo-sub-2359952%22%20slang%3D%22en-US%22%3ERe%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359952%22%20slang%3D%22en-US%22%3EA%20long%20awaited%20feature...%20have%20shared%20with%20my%20linkedin%20followers.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2349866%22%20slang%3D%22en-US%22%3E%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2349866%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20start%20VM%20on%20connect%20(preview)%20feature%20lets%20you%20save%20costs%20by%20allowing%20end%20users%20to%20turn%20on%20their%20VMs%20only%20when%20they%20need%20them.%20You%20can%20then%20turn%20off%20VMs%20when%20they're%20not%20needed.%20We%20have%20a%20couple%20of%20updates%20to%20share%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECustomers%20in%20Azure%20GOV%20cloud%20can%20now%20leverage%20start%20VM%20on%20connect%20for%20both%20host%20pool%20types.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20now%20enable%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20through%20PowerShell%20or%20RestAPI.%20Use%20%3CEM%3EUpdate-AzWvdHostPool%3C%2FEM%3E%20Cmdlet%20to%20enable%20the%20feature.%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Fvirtual-desktop%252Fstart-virtual-machine-connect%2523use-powershell%26amp%3Bdata%3D04%257C01%257Cevas%2540microsoft.com%257C41bb0c37dd624a54519808d914cbad70%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637563687289864878%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DhuFCNnhA%252FoZ5VOuU43LwI2mHoGu4hUa3qsS3p6mzCFA%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ESee%20more%20details%20in%20our%20documentation%3C%2FA%3E.%20We%20will%20update%20you%20in%20this%20forum%20when%20the%20portal%20setting%20becomes%20available.%3C%2FLI%3E%0A%3CLI%3E%5BUPDATE%5D%20Azure%20Portal%20setting%20now%20available.%20After%20you%20have%20set-up%20the%20custom%20RBAC%20role%20to%20allow%20the%20service%20to%20power%20manage%20your%20VMs%20navigate%20to%20an%20existing%20pooled%20host%20pool%20and%20look%20for%20start%20VM%20on%20connect.%20Here%20as%20example%20screenshots%20in%20different%20languages%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22startVMonconnect.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283027iBCCFBA250A1622FA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22startVMonconnect.JPG%22%20alt%3D%22startVMonconnect.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIMPORTANT%3A%20If%20you%20haven't%20started%20preview%20yet%20remember%20to%20set-up%20the%20custom%20RBAC%20role%20first.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Fvirtual-desktop%252Fstart-virtual-machine-connect%26amp%3Bdata%3D04%257C01%257Cevas%2540microsoft.com%257C41bb0c37dd624a54519808d914cbad70%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637563687289874858%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DUBSsVNPdsia%252Fmx1GtxDeAjxwCVYtajHJZqI7qgBIgUM%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EReview%20limitations%2C%20pre-requisites%26nbsp%3Band%20setup%20guidance%20in%20our%20documentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20prefer%20a%20walk%20through%20video%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fwww.bing.com%252Fvideos%252Fsearch%253Fview%253Ddetail%2526mid%253D4161444B093BE973FFE84161444B093BE973FFE8%2526q%253Dazure%252Bacademy%252Byoutube%252Bstart%252BVM%252Bon%252Bconnect%2526shtp%253DGetUrl%2526shid%253Dd042cf7d-3943-4eea-86b0-d1260d2d21a4%2526shtk%253DU05FQUsgUEVBSyBTdGFydCBWTSBvbiBDb25uZWN0IFBvcnRhbCE%25253D%2526shdk%253DU3RhcnQgVk0gb24gQ29ubmVjdCBpcyBhIG5ldyBmZWF0dXJlIHRvIEF1dG8tU3RhcnQgV2luZG93cyBWaXJ0dWFsIERlc2t0b3AgcGVyc29uYWwgc2Vzc2lvbiBob3N0cyB3aGVuIFlvdSBDb25uZWN0LiBBcyBvZiBUT0RBWSwgdGhlIE9OTFkgd2F5IHRvIGRvIHRoaXMgd2l0aCB0aHJvdWdoIFBvd2VyU2hlbGwsIGJ1dCBJIHdpbGwgZ2l2ZSB5b3UgYSBTTkVBSyBQRUFLIGludG8gdGhlIFBvcnRhbCBleHBlcmllbmNlIHdoaWNoIHdpbGwgYmUgY29taW5nIHNvb24hIFN0YXJ0IFZNIG9uIENvbm5lY3Qgd2lsbCBoZWxwIHlvdSBzY2FsZSBhbmQgbWFuYWdlIFdWRCBQZXJzb25hbCBQb29scy4gVGhlIC4uLg%25253D%25253D%2526shhk%253D9BwN97vvN9XByJl%25252BYsLBnrzLuCIPuauu6v8v9Yp%25252FEDI%25253D%2526form%253DVDSHOT%2526shth%253DOSH.Z157H8IZM9XkJSjOuwAmQg%26amp%3Bdata%3D04%257C01%257Cevas%2540microsoft.com%257C41bb0c37dd624a54519808d914cbad70%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637563687289884849%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DVrHx8PH26Q0iDOZLMQlOnf%252Fg5vVJLGxclz0vvM22hoU%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EVisit%20this%20Azure%20Academy%20YouTube%20video%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20feedback%20and%20suggestions%20reply%20to%20this%20post%20or%20create%20a%20new%20one.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2405742%22%20slang%3D%22en-US%22%3ERe%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2405742%22%20slang%3D%22en-US%22%3EIs%20this%20only%20for%20personal%20pools%20or%20can%20it%20also%20work%20for%20pooled%20pools%20as%20well%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20it%20works%20for%20pooled%20pools%2C%20how%20does%20it%20know%20when%20to%20shutdown%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2408881%22%20slang%3D%22en-US%22%3ERe%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2408881%22%20slang%3D%22en-US%22%3EI%20think%20this%20blog%20post%20should%20be%20pretty%20clear.%20If%20you%20just%20read%20the%20subject%20line%20you%20can%20see%20that%20the%20announce%20is%20about%20adding%20support%20to%20pooled%20host%20pools.%20The%20feature%20doesn't%20stop%20VMs.....more%20information%20here%3A%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%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2409463%22%20slang%3D%22en-US%22%3ERe%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2409463%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139744%22%20target%3D%22_blank%22%3E%40Eva%20Seydl%3C%2FA%3E%26nbsp%3BThat%20makes%20total%20sense%20now.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQuestion%3A%3C%2FP%3E%3CP%3ESo%20if%20I%20have%20a%202%20pooled%20VMs%20in%20a%20host%20pool.%20I%20set%20it%20to%20depth%20first%20with%20max%20session%205%20users.%3C%2FP%3E%3CP%3EIf%20the%20two%20VMs%20in%20the%20pool%20are%20off%2C%20when%20the%20first%20user%20conencts%2C%20it%20would%20turn%20one%20machine%20on%2C%20but%20as%20long%20as%20they%20are%20under%205%20users%20connecting%2C%20it%20would%20still%20use%20that%20single%20machine.%26nbsp%3B%20If%20the%206th%20user%20connects%2C%20then%20it%20would%20turn%20the%20second%20machine%20on%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20just%20trying%20to%20evaluate%20the%20best%20scenario.%26nbsp%3B%20%26nbsp%3BNormally%20we%20use%20breadth-first%20but%20depth%20first%20may%20be%20a%20viable%20option%20with%20this%20new%20feature.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2409622%22%20slang%3D%22en-US%22%3ERe%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2409622%22%20slang%3D%22en-US%22%3EYes%20that%20is%20correct.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2409645%22%20slang%3D%22en-US%22%3ERE%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2409645%22%20slang%3D%22en-US%22%3EThis%20is%20wonderful...%20Thank%20you%20very%20much.%20Keep%20up%20the%20great%20work%20WVD%20team%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2418063%22%20slang%3D%22en-US%22%3ERE%3A%20%5BUPDATED%5D%3A%20Leverage%20start%20VM%20on%20connect%20for%20pooled%20host%20pools%20and%20Azure%20GOV%20cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418063%22%20slang%3D%22en-US%22%3EHello%20everybody%20%3A)!%20I%20am%20looking%20for%20more%20feedback%20on%20your%20experience%20with%20start%20VM%20on%20connect.%20I%20would%20be%20happy%20if%20you%20could%20answer%20this%20survey%3A%20%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%2Fr%2FSRHMS8DVWk%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fforms.office.com%2Fr%2FSRHMS8DVWk%3C%2FA%3E%3C%2FLINGO-BODY%3E
Microsoft

The start VM on connect (preview) feature lets you save costs by allowing end users to turn on their VMs only when they need them. You can then turn off VMs when they're not needed. We have a couple of updates to share:

 

  1. Customers in Azure GOV cloud can now leverage start VM on connect for both host pool types.
  2. You can now enable start VM on connect for pooled host pools through PowerShell or RestAPI. Use Update-AzWvdHostPool Cmdlet to enable the feature. See more details in our documentation. We will update you in this forum when the portal setting becomes available.
  3. [UPDATE] Azure Portal setting now available. After you have set-up the custom RBAC role to allow the service to power manage your VMs navigate to an existing pooled host pool and look for start VM on connect. Here as example screenshots in different languages:

startVMonconnect.JPG

 

 

IMPORTANT: If you haven't started preview yet remember to set-up the custom RBAC role first. Review limitations, pre-requisites and setup guidance in our documentation.

 

You prefer a walk through video? Visit this Azure Academy YouTube video.

 

For feedback and suggestions reply to this post or create a new one. 

7 Replies
A long awaited feature... have shared with my linkedin followers.
Is this only for personal pools or can it also work for pooled pools as well?

If it works for pooled pools, how does it know when to shutdown?
I think this blog post should be pretty clear. If you just read the subject line you can see that the announce is about adding support to pooled host pools. The feature doesn't stop VMs.....more information here: https://docs.microsoft.com/en-us/azure/virtual-desktop/start-virtual-machine-connect

@Eva Seydl That makes total sense now. 

 

Question:

So if I have a 2 pooled VMs in a host pool. I set it to depth first with max session 5 users.

If the two VMs in the pool are off, when the first user conencts, it would turn one machine on, but as long as they are under 5 users connecting, it would still use that single machine.  If the 6th user connects, then it would turn the second machine on?

 

Sorry just trying to evaluate the best scenario.   Normally we use breadth-first but depth first may be a viable option with this new feature.

 

This is wonderful... Thank you very much. Keep up the great work WVD team :)
Hello everybody :)! I am looking for more feedback on your experience with start VM on connect. I would be happy if you could answer this survey: https://forms.office.com/r/SRHMS8DVWk