Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 37 lines (21 sloc) 1.6 KB

Getting started with [!KEYREF mpg-short-name]

Before creating a database cluster:

  1. If you already have a folder in Yandex.Cloud, open the page of that folder in the management console. If there is no folder yet, create one:

    [!INCLUDE create-folder]

  2. Create a VM (based on Linux or Windows) that you will use for accessing the DB cluster. If you plan to connect to the database from outside the Cloud, request external IP addresses for hosts when creating a cluster.

Follow the instructions below to quickly create a cluster and test your connection to it.

  1. In the management console, select the folder where you want to create a DB cluster.

  2. Click [!KEYREF mpg-name].

  3. Click Create cluster and select the necessary DBMS.

  4. Set the cluster parameters and click Create cluster. The process is described in detail in the section [!TITLE].

  5. When the cluster is ready to operate, its status on the [!KEYREF mpg-short-name] dashboard will change to RUNNING.

  6. To connect to the DB server, an SSL certificate is required. You can prepare all the necessary authentication data as follows:

    [!INCLUDE get-cert]

  7. You can connect to the database using the psql command (for more information, see [!TITLE]):

    $ psql "host=<host address> \
          port=6432 \
          sslmode=verify-full \
          dbname=<DB name> \
          user=<DB user name>"
    
You can’t perform that action at this time.