Introduction

Note

DataLens On-premises is a business analytics service that allows you to connect to various data sources, visualize data, create dashboards, and share your results.

After you study these materials, you will be able to deploy, configure, update, and support DataLens On-premises all by yourself.

You will be able to

  • Figure out requirements for a VM or cluster to deploy a distribution.
  • Install a distribution and build a fault-tolerant architecture.
  • Configure the service and its functions.
  • Configure log collection.
  • Configure user authorization and grant required permissions to employees.
  • Connect your data.
  • Connect Yandex Maps and Editor.
  • Perform database backup and recovery.

To succeed in your study of the materials, you will need the following

  • Basic understanding of cloud computing.
  • Understanding of k8s operation and app deployment.
  • Knowledge of containerization principles.
  • Experience with Linux, Bash commands, and the terminal.
  • Optionally, experience with Helm charts.

What's in the guides

  1. DataLens architecture**
    • Purpose and main components.
    • Main features.
    • Opportunities for business users.
    • Internal structure.
  2. Preparing a distribution: VM and cluster requirements
    • How to get access to a distribution.
    • Resources required for installation.
    • How to scale your configuration based on the number of users.
  3. Basic installation for a quick start and test environment
    • How to install to a VM with built-in K3s.
    • Administrator access management: getting and resetting a password.
    • How to mirror Docker images for offline environments.
    • Distribution structure.
  4. Installation for production use
    • Using the configuration file for system parameterization.
    • Deployment with an external PostgreSQL cluster.
    • Using custom instead of self-signed TLS certificates.
    • Guidelines for designing a fault-tolerant architecture.
    • Overview of distribution services and their network interactions.
  5. Enabling features, monitoring, and debugging
    • How to enable and disable features via values.yaml and init.sh.
    • Overview of key features: export, file connectors, Editor, Usage Tracking.
    • Configuration specifics if using external ClickHouse® and S3.
    • Monitoring and log collection for debugging.
  6. Log collection
    • Working with two log types: for application and for Usage Tracking.
    • Using log collection tools: for all services or one particular service.
    • How to collect cluster events for deployment troubleshooting.
    • Using advanced debugging tools: k9s and get-debug-info.
    • Setting up Usage Tracking with an external ClickHouse® database.
  7. Connecting data
    • Creating a basic connection to a database.
    • Configuring and using file connections.
    • Working with connectors.
  8. Connecting specific features
    • How to connect Yandex Maps.
    • How to use Editor to create visualizations.
  9. Migration and backup
    • Two approaches: whole system backup vs. export/import of objects.
    • Backup and recovery of a PostgreSQL service database.
    • Why it is important to save CONTROL_API_CRYPTO_KEY during recovery.
    • Exporting and importing workbooks for content transfer.
    • Migration scenario: from Yandex DataLens to DataLens On-premises.
  10. Authorization
    • Working with a two-level permission model: global roles and permissions for objects.
    • LDAP integration demoed using Active Directory.
    • Configuring integration via OpenID Connect (OIDC).
    • Automatic group synchronization.
  11. Common issues
    • Issues you may encounter as a user of DataLens On-premises and how to fix them.
  12. Useful commands
    • List of commands you will find helpful as a DataLens On-premises administrator.

Order in which to study the materials

You can go through these guides in any order, depending on your skills and needs.

For example, you have already deployed the distribution and installed DataLens On-premises. Now your task at hand is to configure and optimize the system. In which case you might want to start with Enabling features, monitoring, and debugging which addresses these aspects.

If you have not installed the distribution yet and are just getting to know the materials, it is best to follow the suggested order.

Time required to study the materials

The whole study will take about six hours.

Now that you have read the table of contents, you can start studying the articles.