Deploying VS Code through the Linode Marketplace

Traducciones al Español
Estamos 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.
Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

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.

  1. 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.

  2. Under the Select App section, select the app you would like to deploy.

  3. 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.

  4. Complete the rest of the form as discussed within the Getting Started > Create a Linode.

  5. 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.

  6. Follow the instructions within the Getting Started After Deployment section.

Software installation should complete within 2-5 minutes after the Linode has finished provisioning.

Configuration Options

VS Code Options

The VS Code Marketplace app has the following required configuration fields.

Field                                          Description
The password to login to the VS Code Web UIThis 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 addressThis 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.

Field                                          Description
The version of VS Code Server you’d like installedThis 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 LinodeThis is the limited user account to be created for the Linode. This account has sudo user privileges.
The password for the limited sudo userSet 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 LinodeTo 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 Yes to block the root account from logging into the server via SSH. Select No to allow the root account to login via SSH.
Your Linode API TokenYour Linode API Token is needed to create DNS records. If this is provided along with the subdomain and domain fields, the installation attempts to create DNS records via the Linode API. If you don’t have a token, but you want the installation to create DNS records, you must create one before you proceed with the installation.
DomainThe 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 API Token.
SubdomainThe subdomain you want the installer to create a DNS record for during setup. The subdomain should only be provided if you also provide a domain and API Token.
Would you like to use a free Let’s Encrypt SSL certificate?Select Yes if you want the install to create an SSL certificate for you, or No if you do not. If No is selected, the VS Code app triggers security warnings in most web browsers. If you create a certificate and do not create a domain, the installer uses the Linode rDNS assigned name for the certificate.

General Options

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.

  1. Before you go to the app, if you filled out the optional VS Code configuration fields for domain:

    • In the Cloud Manager DNS Manager there is now an entry for the domain with possible subdomain records pointing to the new server.
    • Configure the rDNS on the Linode server.
  2. VS Code is accessed via the domain name if you entered one, or by the rDNS name if you did not. For example, http://example.com or http://li1234-555.members.linode.com, replacing the domain name or rDNS name with values for the server.

  3. At the login screen, login using the password you entered during installation.

  4. After logging in, the VS Code Welcome screen appears in the browser and ready to code.

Software Included

The VS Code Marketplace App installs the following software on the Linode:

SoftwareDescription
Code ServerCode Server which hosts the open source web interface of VS Code.
NGINXAn open source web server.
ufwufw is the uncomplicated firewall, a frontend for iptables.
Note
Currently, 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.

More Information

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


Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.