Managing Clusters and Databases

Creating and Configuring a Cluster

Follow these steps to create a database cluster:

  1. Click Create cluster in the Cloud Platform project in the Managed Databases section.
  2. Fill in the fields in the new form:

    • Enter the database cluster name.
    • Select the region.
    • Select database engine version.
    • Select the server configuration.
    • Add replicas to the cluster if it is necessary to make it fault tolerant.

    Please note that in order to create a cluster, the user needs a subnet in the project that has as many addresses as there are servers to add to the cluster.

  3. Click Create a database cluster.

After creating a cluster, the user can create databases and users within this cluster.

Creating a Database

Follow these steps to create a database:

  1. Go to the database cluster page.
  2. Go to the Databases tab.
  3. Click Create database.
  4. Enter the database name.

Follow these steps to create a user:

  1. Go to the Users tab.
  2. Click New user.
  3. Enter the user’s name and set a password.

    Please note that you need to save your password, as it will not be stored in the Control panel.

After creating databases and users, you can provide the users with access to certain databases.

Cluster Operations History

The Operations tab displays the main actions that were performed on the cluster. This allows you to track all the operations and diagnose problems.

The operations history will display the following operations:

  • Creating a cluster;
  • Creating/deleting databases;
  • Creating/deleting users;
  • Assigning access rights/denying access;
  • Scaling the cluster;
  • Renaming the cluster.

Connecting Extensions to the Database

Follow these steps to connect extensions via the interface:

  1. Go to the Databases tab within a cluster.
  2. Expand the accordion with settings in the database card.
  3. Click Add next to Extensions.
  4. Select all required extensions from the list and save the settings.

Extensions are connected to each database separately.