Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML Services
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex StoreDoc
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Getting started
  • Create a cluster
  • Connect to the DB
  • What's next

Getting started with Yandex StoreDoc

Written by
Yandex Cloud
Improved by
Danila N.
Updated at September 25, 2025
  • Getting started
  • Create a cluster
  • Connect to the DB
  • What's next

To get started:

  1. Create a cluster.
  2. Connect to the DB.

Getting startedGetting started

  1. Navigate to the management console and log in to Yandex Cloud or sign up if not signed up yet.

  2. If you do not have a folder yet, create one:

    1. In the management console, select the appropriate cloud from the list on the left.

    2. At the top right, click Create folder.

    3. Give your folder a name. The naming requirements are as follows:

      • It must be from 2 to 63 characters long.
      • It can only contain lowercase Latin letters, numbers, and hyphens.
      • It must start with a letter and cannot end with a hyphen.
    4. Optionally, specify the description for your folder.

    5. Select Create a default network. This will create a network with subnets in each availability zone. Within this network, you will also have a default security group, within which all network traffic will be allowed.

    6. Click Create.

  3. Assign the vpc.user role and the managed-mongodb.editor role or higher to your Yandex Cloud account. These roles allow you to create a cluster.

    Note

    If you are unable to manage roles, contact your cloud or organization administrator.

  4. You can connect to DB clusters from both inside and outside Yandex Cloud:

    • To connect from inside Yandex Cloud, create a VM in the same cloud network as the DB cluster (with Linux).

    • To connect to the cluster from the internet, request public access to hosts when creating the cluster.

    Note

    The next step requires connecting to the cluster from a Linux-based VM.

  5. Connect to your VM over SSH.

  6. Install MongoDB Shell:

    cd ~/ && \
    wget https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/multiverse/binary-amd64/mongodb-org-shell_4.4.1_amd64.deb && \
    sudo dpkg -i mongodb-org-shell_4.4.1_amd64.deb
    

Create a clusterCreate a cluster

  1. In the management console, select the folder where you want to create a DB cluster.
  2. Select Yandex StoreDoc.
  3. Click Create cluster.
  4. Specify your cluster settings and click Create cluster. For more information, see Creating a cluster.
  5. Wait until the cluster is ready: its status on the Yandex StoreDoc dashboard will change to Running and its state, to Alive. This may take some time.

Connect to the DBConnect to the DB

  1. If you are using security groups for a cloud network, configure them to enable all relevant traffic between the cluster and the connecting host.

  2. Get an SSL certificate:

    Linux (Bash)/macOS (Zsh)
    Windows (PowerShell)
    mkdir -p ~/.mongodb && \
    wget "https://storage.yandexcloud.net/cloud-certs/CA.pem" \
         --output-document ~/.mongodb/root.crt && \
    chmod 0644 ~/.mongodb/root.crt
    

    The certificate will be saved to the ~/.mongodb/root.crt file.

    mkdir $HOME\.mongodb; curl.exe -o $HOME\.mongodb\root.crt https://storage.yandexcloud.net/cloud-certs/CA.pem
    

    The certificate will be saved to the $HOME\.mongodb\root.crt file.

    Corporate policies and antivirus software can block the download of certificates. For more information, see FAQ.

  3. Connect to the cluster using the Yandex StoreDoc CLI:

    mongo --norc \
          --ssl \
          --sslCAFile ~/.mongodb/root.crt \
          --host '<Yandex_StoreDoc_host_1_FQDN>:27018,...,<Yandex_StoreDoc_host_N_FQDN>:27018' \
          --username <DB_username> \
          --password <DB_user_password> \
          <DB_name>
    

    To learn how to get host FQDN, see this guide.

What's nextWhat's next

  • Read about the service concepts.
  • Learn more about creating a cluster and connecting to a database.
  • Check questions and answers.

Was the article helpful?

Next
All guides
© 2025 Direct Cursus Technology L.L.C.