Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex MetaData Hub
    • All guides
      • Creating a Metastore cluster
      • Configuring security groups
      • Connecting Yandex Data Processing to Metastore
      • Exporting and importing a Metastore cluster
      • Connecting to a Yandex Object Storage bucket with a bucket policy
      • Transferring logs from Metastore to Cloud Logging
      • Deleting a Metastore cluster
  • Audit Trails events
  • Pricing policy
  • Troubleshooting
  • Public materials
  • Release notes

In this article:

  • Getting started
  • Create a cluster
  1. Step-by-step guides
  2. Hive Metastore
  3. Creating a Metastore cluster

Creating a Hive Metastore cluster

Written by
Yandex Cloud
Updated at May 5, 2025
  • Getting started
  • Create a cluster

Note

This feature is at the Preview stage.

To learn more about Metastore clusters in Yandex MetaData Hub, see Hive Metastore clusters.

Getting startedGetting started

  1. To link your service account to a Metastore cluster, make sure your Yandex Cloud account has the iam.serviceAccounts.user role or higher.

  2. Set up a NAT gateway in the subnet the cluster will connect to. It is needed for the cluster to interact with Yandex Cloud services.

  3. Configure the security group.

  4. Create a service account.

  5. Assign the managed-metastore.integrationProvider role to the service account. This role enables the cluster to work with Yandex Cloud services, e.g., Yandex Cloud Logging and Yandex Monitoring, under a service account.

    You can also add more roles. Their combination depends on your specific use case. To view the service roles, see the Metastore section, and for all available roles, see this reference.

  6. If you want to save cluster logs to a custom log group, create one.

    For more information, see Transferring cluster logs.

Create a clusterCreate a cluster

Warning

Metastore clusters cannot be edited. Once you create a cluster, you cannot change its settings.

Management console
  1. In the management console, select the folder where you want to create a server.

  2. Select Yandex MetaData Hub.

  3. In the left-hand panel, select the Metastore page.

  4. Click Create cluster.

  5. Enter a name for the cluster. It must be unique within the folder.

  6. (Optional) Enter a cluster description.

  7. (Optional) Add Yandex Cloud labels to break resources into logical groups.

  8. Specify the service account you created earlier.

  9. Under Network settings, select the network and subnet to host the Metastore cluster. Specify the security group you configured previously.

  10. Optionally, configure logging settings:

    1. Enable Write logs.

    2. Select where to write cluster logs to:

      • Default log group: Select Folder in the Destination field and specify the folder. Logs will be stored in the selected folder's default log group.
      • Custom log group: Select Log group in the Destination field and specify the log group you created earlier.
    3. Select the minimum logging level.

      Logs of the specified level and higher will be written to the execution log. The available levels are TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. The default level is INFO.

  11. If required, enable protection of the cluster from accidental deletion by a user.

    Even with deletion protection enabled, one can still connect to the cluster manually and delete the data.

  12. Click Create.

Was the article helpful?

Previous
Configuring connection access permissions
Next
Configuring security groups
Yandex project
© 2025 Yandex.Cloud LLC