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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
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
  • Prepare the Metastore cluster
  • Test the connection
  1. Step-by-step guides
  2. Hive Metastore
  3. Connecting to a Yandex Object Storage bucket with a bucket policy

Connecting to a Yandex Object Storage bucket with a bucket policy

Written by
Yandex Cloud
Updated at February 5, 2025
  • Getting started
  • Prepare the Metastore cluster
  • Test the connection

In Hive Metastore, you can work with an Yandex Object Storage bucket with bucket policies configured. You access the bucket from a separate DNS zone through an internal load balancer used to distribute traffic among NAT instances. The described connection is shown below. A Metastore cluster will be used in place of the test-s3-vm VM.

Getting startedGetting started

  1. Create a network infrastructure to access the Object Storage bucket as shown on the picture above. For information on how to create such an infrastructure, see this tutorial.
  2. Test the new infrastructure.

Prepare the Metastore clusterPrepare the Metastore cluster

  1. Create a service account named my-account with the storage.uploader and managed-metastore.integrationProvider roles.
  2. Grant the READ and WRITE permission to the my-account service account for the bucket you created earlier.
  3. Configure the network and create a Metastore cluster. When creating it, specify the my-account service account.

Test the connectionTest the connection

To test the Object Storage bucket connection, export the Metastore cluster data to that bucket.

Was the article helpful?

Previous
Exporting and importing a Metastore cluster
Next
Transferring logs from Metastore to Cloud Logging
© 2025 Direct Cursus Technology L.L.C.