Workspace

Overview

Run vessl workspace --help to view the list of commands, or vessl workspace [COMMAND] --help to view individual command instructions.

Connect to a running workspace

1
vessl workspace ssh [OPTIONS]
Copied!
Option
Description
--key-path
SSH private key path
1
$ vessl workspace ssh
2
The authenticity of host '[tcp.apne2-prod1-cluster.vessl.com]:31123 ([52.78.240.117]:31123)' can't be established.
3
ECDSA key fingerprint is SHA256:ugLx91zLE9ELAqT19uNjQ.
4
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
5
Warning: Permanently added '[tcp.apne2.vessl.com]:31123,[52.78.240.117]:31123' (ECDSA) to the list of known hosts.
6
Linux workspace-x1hczjvygiql-0 4.14.225-169.362.amzn2.x86_64 #1 SMP Mon Mar 22 20:14:50 UTC 2021 x86_64
7
โ€‹
8
The programs included with the Debian GNU/Linux system are free software;
9
the exact distribution terms for each program are described in the
10
individual files in /usr/share/doc/*/copyright.
11
โ€‹
12
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
13
permitted by applicable law.
Copied!
โ€‹

Connect to workspaces via VSCode Remote-SSH

1
vessl workspace vscode [OPTIONS]
Copied!
Option
Description
--key-path
SSH private key path
1
$ vessl workspace vscode
2
Updated '/Users/johndoe/.ssh/config'.
Copied!

Backup the home directory of the workspace

You should run this command inside a running workspace. It creates a zip file at /tmp/workspace-backup.zip and uploads the backup to VESSL server.
1
vessl workspace backup
Copied!
1
$ vessl workspace backup
2
Successfully uploaded 1 out of 1 file(s).
Copied!

Restore workspace home directory from a backup.

You should run this command inside a running workspace. It downloads the zip file to /tmp/workspace-backup.zip and extracts to /home/vessl/.
1
vessl workspace restore
Copied!
1
$ vessl workspace restore
2
[?] Select workspace: rash-uncle (backup created 13 minutes ago)
3
> rash-uncle (backup created 13 minutes ago)
4
hazel-saver (backup created 2 days ago)
5
โ€‹
6
Successfully downloaded 1 out of 1 file(s).
Copied!
Last modified 22d ago