Deploying VS Code through the Linode Marketplace
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Run a Visual Studio Code Server in the browser with the Visual Studio (VS) Code Marketplace App. Code Server uses the open source code to provide a web interface for VS Code.
Deploying the VS Code Marketplace App
The Linode Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager.
Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Compute Create page with the Marketplace tab pre-selected.
Under the Select App section, select the app you would like to deploy.
Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.
Complete the rest of the form as discussed within the Getting Started > Create a Linode.
Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.
Follow the instructions within the Getting Started After Deployment section.
Software installation should complete within 2-5 minutes after the Linode has finished provisioning.
VS Code Options
The VS Code Marketplace app has the following required configuration fields.
|The password to login to the VS Code Web UI||This is the password you use to log into the VS Code web interface. The password must meet the complexity strength validation requirements for a strong password. Required|
|Your email address||This email address is used for VS Code configuration and is added to the SOA record for the domain if you add one. This field is also used to create DNS records, and is required to create an SSL certificate.|
VS Code Advanced Options
The VS Code Marketplace form includes advanced fields to setup the limited user account and DNS records of the VS Code server. These are optional configurations and are not required for installation.
|The version of VS Code Server you’d like installed||This is the version of VS Code Server that is installed during setup. The default at the time that this guide was written is 3.10.2. This field is filled in and it is recommended that you use this value. If you do not fill in this field, the latest version is used.|
|The limited sudo user to be created for the Linode||This is the limited user account to be created for the Linode. This account has sudo user privileges.|
|The password for the limited sudo user||Set a password for the limited sudo user. The password must meet the complexity strength validation requirements for a strong password. This password can be used to perform any action on the server, similar to root, so make it long, complex, and unique.|
|The SSH Public Key that is used to access the Linode||To access using SSH keys (recommended) rather than password, enter the public key here. For more information, see SSH add keys.|
|Disable root access over SSH?||Select |
|Your Linode API Token||Your Linode |
|Domain||The domain name where you want to host your VS Code server. The installer creates a DNS record for this domain during setup if you provide this field along with your |
|Subdomain||The subdomain you want the installer to create a DNS record for during setup. The subdomain should only be provided if you also provide a |
|Would you like to use a free Let’s Encrypt SSL certificate?||Select |
For advice on filling out the remaining options on the Create a Linode form, see Getting Started > Create a Linode. That said, some options may be limited or recommended based on this Marketplace App:
- Supported distributions: Debian 10
- Recommended minimum plan: All plan types and sizes can be used.
Getting Started after Deployment
VS Code is now installed and ready to use.
Before you go to the app, if you filled out the optional VS Code configuration fields for domain:
VS Code is accessed via the domain name if you entered one, or by the rDNS name if you did not. For example,
http://li1234-555.members.linode.com, replacing the domain name or rDNS name with values for the server.
At the login screen, login using the password you entered during installation.
After logging in, the VS Code Welcome screen appears in the browser and ready to code.
The VS Code Marketplace App installs the following software on the Linode:
|Code Server||Code Server which hosts the open source web interface of VS Code.|
|NGINX||An open source web server.|
|ufw||ufw is the uncomplicated firewall, a frontend for iptables.|
NoteCurrently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on