How to Deploy VS Code with Marketplace Apps

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.

Run VS Code Server in the browser with the VS Code Marketplace App. Code Server uses the open source code from Microsoft’s VS Code to provide a web interface for VS Code.

Deploy VS Code with Marketplace Apps

Linode’s App Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s App Marketplace:

  1. Log in to your Linode Cloud Manager account.

  2. From the Linode dashboard, click on the Marketplace button in the left-hand navigation menu.

  3. The Linode creation page appears, with the Marketplace tab pre-selected.

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

    Select a Marketplace App to deploy

  5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

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 will be used to access the LinodeIf you wish to access SSH via Public Key (recommended) rather than by password, enter the public key here.
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.

Linode Options

After providing the app-specific options, provide configurations for the Linode server:

Select an ImageDebian 10 is currently the only image supported by the VS Code Marketplace App, and it is pre-selected in the Linode creation page. Required
RegionThe region where you want the Linode to reside. In general, it is best to choose a location that is closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of the data centers. Required.
Linode PlanThe Linode’s hardware resources. The minimum memory recommendation is 1 GB with 2 cores. You can always resize your Linode to a different plan later if you feel you need to increase or decrease the system resources. Required
Linode LabelThe name for the Linode, which must be unique between all of the Linodes on your account. This name is how you identify the server in the Cloud Manager’s Dashboard. Required.
Add TagsA tag to help organize and group the Linode resources. Tags can be applied to Linodes, Block Storage Volumes, NodeBalancers, and Domains.
Root PasswordThe primary administrative password for the Linode instance. This password must be provided when you log in to the Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. The root password can be used to perform any action on the server, so make it long, complex, and unique. Required

When you’ve provided all required Linode Options, click on the Create button. The VS Code app completes the installation anywhere between 2-5 minutes after the Linode has finished provisioning.

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, or, 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.

    Code Server Login Screen

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

    VS Code Welcome Screen

Software Included

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

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

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.

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.