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
    • Start testing with double trial credits
    • 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 Query
    • All tutorials
    • Processing Cloud Logging logs
    • Processing CDC Debezium streams
    • Visualizing Object Storage data in DataLens
    • Processing Audit Trails events
    • Processing files with usage details in Yandex Cloud Billing
    • Analyzing data with Jupyter
    • Automating tasks using Managed Service for Apache Airflow™
    • Analyzing data with Query
    • Working with data in Object Storage
    • Working with data in Managed Service for ClickHouse®
    • Working with data in Managed Service for PostgreSQL
    • Federated data queries
    • Searching for Yandex Cloud events in Query
  • Access management
  • Pricing policy
  • Integration
  • Audit Trails events
  • FAQ

In this article:

  • Getting started
  • Set up integration between Yandex Cloud Billing and Query
  • Query the data
  • See also
  1. Tutorials
  2. Processing files with usage details in Yandex Cloud Billing

Processing files with usage details in Yandex Cloud Billing

Written by
Yandex Cloud
Updated at May 7, 2025
  • Getting started
  • Set up integration between Yandex Cloud Billing and Query
  • Query the data
  • See also

Yandex Cloud Billing is where you can get information about the amount of resources used, monitor your expenses, and pay for resource consumption. You can send your spending details to Yandex Object Storage and then process them using Yandex Query.

Yandex Cloud Billing and Query are integrated with each other. You can use preset queries to perform routine tasks for analyzing details of payments for resources or write custom YQL queries.

Query provides ready-made queries to get the following information:

  • Usage by month.
  • Usage in the current month by service and product.
  • Usage in the current month by cloud and folder.
  • Top 10 most expensive resources.
  • Payment for fixed usage.
  • Fixed usage utilization.
  • Details by Managed Service for Kubernetes cluster.

Getting started

Sign up in Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or register a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can navigate to the cloud page to create or select a folder for your infrastructure to operate in.

Learn more about clouds and folders.

Set up integration between Yandex Cloud Billing and Query

To set up integration:

  1. Open the list of expense detail exports in the Yandex Cloud console.
  2. Select the required details and click Process in YQ.
  3. When switching from Yandex Cloud Billing to Yandex Query for the first time, set up integration:
    1. In the Query interface, select the service account for reading data from Object Storage in the connection creation dialog box and click Create.
    2. In the Query interface, check the preset settings by clicking Preview in the binding creation dialog. Next, click Create to complete the integration.
    3. Once you configure the integration, you will be redirected to Billing.

Query the data

To query analytical data from Yandex Cloud Billing stored in Object Storage:

  1. Under Billing in the Query interface, select the required data binding from the list.
  2. Select a query to Object Storage data from the list and click Run.

You can do the following with data processing results:

  • Download them through the Yandex Query user interface by clicking Export.
  • Save them to an Object Storage bucket.
  • Get and process them via the Query HTTP API.

See also

  • Yandex Object Storage
  • Yandex DataLens

Was the article helpful?

Previous
Processing Audit Trails events
Next
Analyzing data with Jupyter
© 2025 Direct Cursus Technology L.L.C.