Self-hosted Codespaces

I was attempting to setup a self-hosted Codespace over on Visual Studio Codespaces when I found out about the migration to GitHub, and that self-hosted Codespaces aren’t part of the migration plan.

My use cases for this were:

  • Allowing developers to quickly spawn a development environment on production hardware (on the same VM instance type, in the same datacenter) to debug complex issues that aren’t replicating on local hardware.

  • Using my desktop to host codespaces for my Surface Pro X, without incurring any additional monthly costs.

I therefore wanted to register my vote to port this feature over to GitHub Codespaces, and to see if there is interest from anyone else.

Note that I haven’t actually managed to try these scenarios yet due to an open issue with the Codespaces CLI, so I’d also welcome feedback on why my use cases wouldn’t be appropriate.

28 Likes

I also wanted to setup a self-hosted codespace with visual studio.

I wanted to use it as I wanted to be able to access to my projects from everywhere without additional cost or also being able to share some project with friends willing to learn code (which is somehow the same use case as the first referenced by @jamesthurley .

It was for me the opportunity to have a full sandbox/dev environnement that I would be able to access in the train.

Yet I wasn’t really able to use it that much as I encountered the same Issue.

In my opinion there is a real potential behind self-hosted for small enterprise, startup or maybe school.

4 Likes

I’ve been using self-hosted codespaces for a couple months now and I was really enjoying having it as part of my workflow. My company has already developed a nice dev environment for engineers to work in that is hosted and managed by us. Due to regulations, existing api integrations, and security concerns we’d be unable to host our codebases and run our necessary apps through codespaces on Github. I’d really like to have self-hosted codespaces available again soon as I’ve garnered interest at my company from pair programming with other engineers and demoing its usage. I was looking be a champion of it as the VSCode ecosystem is really developing nicely.

Consolidating to Github is cool but please reenable self-hosting and MS login for codespaces. :heart:

P.S. Live share rocks as well :grin:

6 Likes

Another vote for self-hosted. In addition to the cost consideration, our source control is also self-hosted and we are using old tool versions; both make cloud hosting difficult or impossible (not to mention corporate policies probably don’t allow code being present on non-company cloud servers).

1 Like

Another vote here, when I started poking around codespaces recently (to quickly create a small PR), I looked more into it, I am aware of a general discomfort that people could get when a feature or software is “locked into” the cloud, and self-hosted codespaces were a perfect answer to that fear (to allow users to use their own hardware when they don’t have the money or interest to spend for cloud-hosted resources), and additionally enables personal hardware environments and/or corporate-specific environments to be available at any distance to the developer.

Yet another vote - I was happily using a self-hosted Visual Studio Codespace and I’m disappointed that this isn’t currently in the plans for the GitHub version. I was using it to keep my work in progress in a central place that I could access from a number of systems and to easily develop/debug code running on a hard-to-access system with specific hardware attached. I should be able to do all of this in different ways but the self-hosted codespace was working out really well.

1 Like

Another Vote for self hosted codespaces. I am going back to live share as it stands, so i am no longer use the capabilities of codepaces vs liveshare.

Another vote for self hosted codespaces.

+1 for this feature. Have been using Azure Codespace via self host and moved to Github as per announcement.

+1 for self-hosted codespaces! There are lots of use-cases where being able to securely access a custom VM using VSCode is pure gold. Please leave it as an option or as an additional remote option for vscode!

1 Like