Preparing a distribution: VM and cluster requirements

Before you install DataLens, make sure to prepare the environment properly. This directly impacts the system’s health and performance.

Conditions for getting access to the distribution

DataLens On-premises distribution is a commercial product. To get it, you need to accept the agreement with Yandex Cloud. Upon acceptance, you will get a unique download link. To access Yandex Cloud and download the distribution, you need an active billing account.

Tip

If you do not have a Yandex Cloud account yet, sign up for one here.

Recommended resources

For production environments, the requirements depend on the number of simultaneously active users, installed modules, and dashboard complexity.

Supported operating systems

  • Ubuntu 20.04+
  • Debian 10+
  • CentOS 7+
  • Astra Linux 1.7
  • Red Hat Enterprise Linux
  • RED OS
  • vCPU: 16 vCPUs
  • RAM: 32 GB
  • SSD: 100 GB

If resources are insufficient, you can add the --cpu-scale 0.5 flag to the initialization command.

Tip

Make sure to follow these recommendations when setting up the configuration.

Scalability

Users

The more users access dashboards at the same time, the higher the load on the Data API (request generation and proxying) and Control API (metadata processing).

If you are planning resources to support 100+ active users, allocate additional resources beyond the baseline system requirements.

PostgreSQL service database

For production environments, we recommend using an external fault-tolerant PostgreSQL cluster (master + replica). This is critical to make sure your entire system is reliable. The minimum requirements for such a cluster are 4 vCPUs, 8 GB RAM, and 100 GB SSD.

Results

You have reviewed the requirements for your future environment and learned how to download the distribution. You also now understand the difference between testing and production setups, and why a production environment requires an external PostgreSQL cluster.