VK Cloud logo
Updated at December 28, 2023   03:13 PM

Cluster configuration

OpenSearch

  1. Go to VK Cloud personal account.

  2. Select the project where you want to create a cluster.

  3. Go to Databases → Database instances.

  4. Click the Create database or Add button.

  5. On the “Configuration” step:

    1. Select the OpenSearch database type.
    2. Select the desired OpenSearch version, for example, 2.
    3. Click the Next step button.
  6. On the “Parameters” step:

    1. Set the general cluster parameters:

      • Database cluster name: it can contain only Latin letters, numbers and symbols ., _.

        Cluster node names will consist of the specified name and a suffix. The suffix will be different for different DBMS.

      • Network: the network where the cluster will be hosted. If the desired network is not in the list, create it.

      • SSH access key: select an existing key or create a new one.

        The key is used to connect to instance hosts via SSH.

    2. Set up a backup. If necessary, the backup parameters can be set or changed after the cluster is created.

      Select this option to not use backup for the cluster.

    3. Click the Next step button.

  7. On the “Nodes” step:

    1. In the Dashboards block, select the option Enable Dashboards if you need access to the OpenSearch Dashboards web interface.

      Then set the parameters:

      • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.

      • Type of virtual machine: configuration template for the cluster.

        Templates with high-performance CPUs are available on request to the support service. To use these templates, select the option Show only high performance CPUs.

      • Availability zone: availability zone for the cluster.

      • Disk Type: disk type for the cluster.

      • Disk size, GB: disk size (in gigabytes).

        The larger the disk size, the higher its performance in some disk operations.

      • Assign external IP: select this option to access the web interface from the Internet.

        A node with the Dashboards role will be assigned a floating IP address.

    2. In the Master Node block, select the option Use dedicated master nodes if you need to assign the master role to a dedicated cluster node.

      Then set the parameters:

    3. In the Data Node block, configure nodes with the data role.

      Set the parameters:

      • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.

      • Type of virtual machine: configuration template for the cluster.

        Templates with high-performance CPUs are available on request to the support service. To use these templates, select the option Show only high performance CPUs.

      • Availability zone: availability zone for the cluster.

      • Disk Type: disk type for the cluster.

      • Disk size, GB: disk size (in gigabytes).

        The larger the disk size, the higher its performance in some disk operations.

      • Number of nodes.

    4. Click the Next step button.

  8. On the “Initialization” step:

    1. Specify the database initialization parameters. The available parameters depend on the Creation type selected:

      A new empty database will be created.

      Specify:

      • The name of the database.
      • A username and password.
    2. Click the Create database button.

      Wait for the operation to complete. Creating a cluster can take a long time.

MySQL, PostgreSQL, PostgresPro Enterprise, PostgresPro Enterprise 1C

  1. Go to VK Cloud personal account.

  2. Select the project where you want to create a cluster.

  3. Go to Databases → Database instances.

  4. Click the Create database or Add button.

  5. On the “Configuration” step:

    1. Select one of the database types: MySQL, PostgreSQL, PostgresPro Enterprise or PostgresPro Enterprise 1C.
    2. Select the desired version.
    3. Select the configuration Cluster.
    4. Click the Next step button.
  6. On the “Create instance” step:

    1. Set the general cluster parameters:

      • Database cluster name: it can contain only Latin letters, numbers and symbols ., -, _.

        Cluster node names will consist of the specified name and a suffix. The suffix will be different for different DBMS.

      • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.

      • Type of virtual machine: configuration template for the cluster.

        Templates with high-performance CPUs are available on request to the support service. To use these templates, select the option Show only high performance CPUs.

      • Availability zone: availability zone for the cluster.

      • Disk Type: disk type for the cluster.

      • Disk size, GB: disk size (in gigabytes).

        The larger the disk size, the higher its performance in some disk operations.

      • Enable volume autoscaling: select this option so that the disk size increases automatically when the disk is filled with data. When selecting this option, also specify The maximum volume size, GB.

      • Network: the network where the cluster will be hosted. If the desired network is not in the list, create it.

      • Assign an external IP: select this option to assign a floating IP address to the cluster.

        Such a cluster will be accessible from the Internet.

      • Firewall settings: a list of security groups for the cluster.

        Add the ssh security group to the list to be able to connect to cluster hosts via SSH.

      • Number of nodes: the number of hosts in the cluster.

      • SSH access key: select an existing key or create a new one.

        The key is used to connect to instance hosts via SSH.

    2. Set up a backup. If necessary, the backup parameters can be set or changed after the cluster is created.

      Select this option to not use backup for the cluster.

    3. Select the option Enable monitoring if you need to monitor the cluster using the tools of the VK Cloud.

      This option is not available for MySQL.

    4. Click the Next step button.

  7. On the “Initialization” step:

    1. Specify the database initialization parameters. The available parameters depend on the Creation type selected:

      A new empty database will be created.

      Specify:

      • The name of the database.
      • A username and password.
    2. Click the Create database button.

      Wait for the operation to complete. Creating a cluster can take a long time.

Tarantool

  1. Go to VK Cloud personal account.

  2. Select the project where you want to create a cluster.

  3. Go to Databases → Database instances.

  4. Click the Create database or Add button.

  5. On the “Configuration” step:

    1. Select the Tarantool database type.
    2. Select the desired version.
    3. Select the configuration Cluster.
    4. Click the Next step button.
  6. On the “Create instance” step:

    1. Set the general cluster parameters:

      • Database cluster name: it can contain only Latin letters, numbers and symbols ., -, _.

        Cluster node names will consist of the specified name and a suffix. The suffix will be different for different DBMS.

      • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.

      • Type of virtual machine: configuration template for the cluster.

        Templates with high-performance CPUs are available on request to the support service. To use these templates, select the option Show only high performance CPUs.

      • Availability zone: availability zone for the cluster.

      • Disk Type: disk type for the cluster.

      • Disk size, GB: disk size (in gigabytes).

        The larger the disk size, the higher its performance in some disk operations.

      • Network: the network where the cluster will be hosted. If the desired network is not in the list, create it.

      • Assign external IP: select this option to assign a floating IP address to cluster hosts.

        Such a cluster will be accessible from the Internet.

      • Firewall settings: a list of security groups for the cluster.

        Add the ssh security group to the list to be able to connect to cluster hosts via SSH.

      • SSH access key: select an existing key or create a new one.

        The key is used to connect to instance hosts via SSH.

      • Select the option Enable monitoring if you need to monitor the cluster using the VK Cloud tools.

    2. Click the Next step button.

  7. On the “Initialization” step:

    1. Specify the database initialization parameters. The available parameters depend on the Creation type selected.

      Only the New database type is available for Tarantool.

      A new empty database will be created.

      Enter a username and password.

    2. Click the Create database button.

      Wait for the operation to complete. Creating a cluster can take a long time.

Other types of DBMS

  1. Go to VK Cloud personal account.

  2. Select the project where you want to create a cluster.

  3. Go to Databases → Database instances.

  4. Click the Create database or Add button.

  5. On the “Configuration” step:

    1. Select the desired database type.
    2. Select the desired version.
    3. Select the configuration Cluster.
    4. Click the Next step button.
  6. On the “Parameters” step:

    1. Set the general cluster parameters:

      • Database cluster name:

        • ClickHouse: it can contain only Latin letters and numbers;
        • MongoDB and Redis: it can contain only Latin letters, numbers and symbols -, _;

        Cluster node names will consist of the specified name and a suffix. The suffix will be different for different DBMS.

      • Network: the network where the cluster will be hosted. If the desired network is not in the list, create it.

      • Assign external IP: select this option to assign a floating IP address:

        • for the cluster (MongoDB);
        • for cluster hosts (ClickHouse).

        Such a cluster will be accessible from the Internet.

        This option is not available for Redis.

      • SSH access key: select an existing key or create a new one.

        The key is used to connect to instance hosts via SSH.

    2. Set up a backup. If necessary, the backup parameters can be set or changed after the cluster is created.

      Select this option to not use backup for the cluster.

    3. Select the option Enable monitoring if you need to monitor the cluster using the VK Cloud tools.

      This option is not available for MongoDB.

    4. Click the Next step button.

  7. In the “Shards” step, set the shards settings.

    For ClickHouse, the number of shards can be changed by adding and removing shards (there must be at least one shard in the cluster). For Redis and MongoDB, the number of shards is fixed.

    1. For each shard, set:

      • Name of shard.

      • Number of replicas in shard.

        For Redis, the number of replicas in sharjah is fixed.

      • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.

      • Type of virtual machine: configuration template for the shard hosts.

        Templates with high-performance CPUs are available on request to the support service. To use these templates, select the option Show only high performance CPUs.

      • Availability zone: availability zone for the shard hosts.

      • Disk Type: disk type for the shard hosts.

      • Disk size, GB: disk size (in gigabytes).

        The larger the disk size, the higher its performance in some disk operations.

      • Enable volume autoscaling: select this option so that the disk size increases automatically when the disk is filled with data. When selecting this option, also specify The maximum volume size, GB.

    2. Click the Next step button.

  8. On the “Initialization” step:

    1. Specify the database initialization parameters. The available parameters depend on the Creation type selected:

      A new empty database will be created.

      There are no initialization parameters for Redis.

      For others DBMS specify:

      • The name of the database.
      • A username and password.
    2. Click the Create database button.

      Wait for the operation to complete. Creating a cluster can take a long time.