Deploy on a dedicated server

Install Annotation Lab on a dedicated server to reduce the likelihood of conflicts or unexpected behavior.

Fresh install

To install Annotation Lab run the following command:

wget -O - | sudo bash -s -- --version VERSION

To upgrade your Annotation Lab installation to a newer version, run the following command on a terminal:


wget -O - | sudo bash -s -- --version VERSION

Replace VERSION within the above one liners with the version you want to install.

After running the install/upgrade script the Annotation Lab is available at http://INSTANCE_IP or https://INSTANCE_IP

The install/upgrade script displays the login credentials for the admin user on the terminal.

Deploy on the AWS Marketplace

Visit the product page on AWS Marketplace and follow the instructions on the video below to subscribe and deploy.

Deploy Annotation Lab via AWS Marketplace

Deploy on AirGap environment

Get artifact


replace VERSION with the version you want to download and install.

Fresh installation

$ sudo su
$ ./

Upgrade version

$ sudo su
$ ./

Work over proxy

  • Custom CA certificate

You can provide a custom CA certificate chain to be included into the deployment. To do it add --set-file custom_cacert=./cachain.pem options to helm install/upgrade command inside and files. cachain.pem must include a certificate in the following format:

  • Proxy env variables

You can provide a proxy to use for external communications. To do that add

`--set proxy.http=[protocol://]<host>[:port]`, 
`--set proxy.https=[protocol://]<host>[:port]`, 
`--set<comma-separated list of hosts/domains>` 

commands inside and files.

Backup and restore

  • Backup

You can enable daily backups by adding several variables with –set option to helm command in


<ACCESS_KEY> - your access key for aws s3 access <SECRET_KEY> - your secret key for aws s3 access <FULL_PATH> - full path to your backup in s3 bucket (f.e. s3://

  • Restore

To restore from backup you need new clear installation of Annotation Lab. Do it with Next, you need to download latest backup from your s3 bucket and unpack an archive. There should be 3 sql backup files:


Run commands below to get PostgreSQL passwords.

airflow-postgres password for user airflow:

kubectl get secret -l -o jsonpath='{.items[0].data.postgresql-password}' | base64 -d 

annotationlab-postgres password for user annotationlab:

kubectl get secret -l -o jsonpath='{.items[0].data.postgresql-password}' | base64 -d 

keycloak-postgress password for user keycloak:

kubectl get secret -l -o jsonpath='{.items[0].data.postgresql-password}' | base64 -d 

Now you can restore your databases with psql, pg_restore, etc.

System requirements. You can install Annotation Lab on a Ubuntu 20+ machine.

Port requirements. Annotation Lab expects ports 443 and 80 to be open by default.

Server requirements. The minimal required configuration is 32GB RAM, 8 Core CPU, 512 SSD. The ideal configuration in case model training and preannotations are required on a large number of tasks is 64 GiB, 16 Core CPU, 2TB HDD, 512 SSD.

Web browser support. Annotation Lab is tested with the latest version of Google Chrome and is expected to work in the latest versions of:

• Google Chrome

• Apple Safari

• Mozilla Firefox

Last updated