{"id":228956,"date":"2020-04-09T11:00:18","date_gmt":"2020-04-09T18:00:18","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=228956"},"modified":"2020-04-09T12:02:51","modified_gmt":"2020-04-09T19:02:51","slug":"bring-your-own-machine-to-visual-studio-online","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/bring-your-own-machine-to-visual-studio-online\/","title":{"rendered":"Bring your own machine to Visual Studio Online"},"content":{"rendered":"<p>Today <a href=\"https:\/\/visualstudio.microsoft.com\/services\/visual-studio-online\/\">Visual Studio Online<\/a> provides fully-managed, on-demand, ready-to-code development environments in the cloud, but did you know you can also register your <em>own machines<\/em> and access them remotely from Visual Studio Code or our web editor? This is a great option for developers that want to cloud-connect an already configured work or home machine for anywhere access, or take advantage of the Visual Studio Online developer experience for specialized hardware we don\u2019t currently support. We\u2019ve made several improvements to streamline the self-hosted registration process and expand supported scenarios.<\/p>\n<h2>Register your machine with our CLI (Preview)<\/h2>\n<p>Previously, registering your machine required you to be able to launch and interact with Visual Studio Code. If you only had SSH access or didn\u2019t want to install and setup RDP, cloud-connecting your machine with Visual Studio Online was simply impossible. With the <a href=\"https:\/\/aka.ms\/vso-cli\">preview release of our CLI<\/a>, we\u2019ve expanded our support to include server and headless OS scenarios across macOS, Linux, and Windows. To help get you started quickly, we\u2019ve published our CLI to Homebrew and APT, with chocolatey coming soon.<\/p>\n<p>On Windows:<\/p>\n<p>Install via\u00a0<code>Powershell<\/code> by download and executing our <a href=\"https:\/\/aka.ms\/install-vso-windows\" rel=\"nofollow\">script<\/a>.<\/p>\n<p>On macOS:<\/p>\n<p><code>brew install microsoft\/vsonline\/vso<\/code><\/p>\n<p>On Linux:<\/p>\n<p><code>apt install vso<\/code><\/p>\n<p>Once you have the CLI installed, run <code>vso start<\/code> to register your machine and select a plan created in your current region.<\/p>\n<h2>Updated Registration Experience in Visual Studio Code<\/h2>\n<p>For those of you who prefer using Visual Studio Code to connect your environment, we updated our extension to get you started with just one click! If you don\u2019t have any self-hosted machines, you\u2019ll now find a \u201c<strong>Register self-hosted environment\u2026<\/strong>\u201d command in the Visual Studio Online viewlet that will walk you through the steps required to register your environment. You can also still access the registration command via the command palette.<\/p>\n<p><figure id=\"attachment_228960\" aria-labelledby=\"figcaption_attachment_228960\" class=\"wp-caption aligncenter\" ><img decoding=\"async\" class=\"wp-image-228960 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/04\/VSCodeRegistration.gif\" alt=\"GIF of registering a self-hosted environment in Visual Studio Code\" width=\"2032\" height=\"1154\" \/><figcaption id=\"figcaption_attachment_228960\" class=\"wp-caption-text\">Register a self-hosted environment in Visual Studio Code<\/figcaption><\/figure><\/p>\n<p>&nbsp;<\/p>\n<h2>Try it today!<\/h2>\n<p>Find out more about the CLI in our <a href=\"https:\/\/aka.ms\/vso-self-hosted\">docs<\/a> or update your Visual Studio Online extension to try out these improvements today! If you have any feedback or issues, you can always reach us on our <a href=\"https:\/\/aka.ms\/vso-issues\">GitHub page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today Visual Studio Online provides fully-managed, on-demand, ready-to-code development environments in the cloud, but did you know you can also register your own machines and access them remotely from Visual Studio Code or our web editor? This is a great option for developers that want to cloud-connect an already configured work or home machine for [&hellip;]<\/p>\n","protected":false},"author":640,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,1412,155],"tags":[6058,6057,4813],"class_list":["post-228956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-development","category-visual-studio","tag-cli","tag-self-hosted","tag-visual-studio-online"],"acf":[],"blog_post_summary":"<p>Today Visual Studio Online provides fully-managed, on-demand, ready-to-code development environments in the cloud, but did you know you can also register your own machines and access them remotely from Visual Studio Code or our web editor? This is a great option for developers that want to cloud-connect an already configured work or home machine for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/228956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/640"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=228956"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/228956\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=228956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=228956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=228956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}