Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Using functions to get an IAM token for a service account
    • Connecting to managed databases from functions
    • Getting information about a function
    • Managing rights to access functions
    • Creating a function
    • Invoking a function
    • Managing functions
      • Updating a function
      • Scaling a function
        • Viewing scaling settings
        • Adding scaling settings
        • Deleting scaling settings
      • Adding environment variables
      • Specifying a cloud network
      • Transmitting Yandex Lockbox secrets
      • Managing tags
      • Managing labels
      • Viewing monitoring charts
      • Managing logs
      • Deleting a function
    • Getting information about a trigger
    • Creating a trigger
    • Managing triggers
  • Concepts
  • Developing in Node.js
  • Developing in Python
  • Developing in Go
  • Developing in PHP
  • Developing in Bash
  • Developing in Java
  • Developing in R
  • Developing in C#
  • Practical guidelines
  • Pricing policy
  • Access management
  • API Functions reference
  • API Triggers reference
  • Questions and answers
  1. Step-by-step instructions
  2. Managing functions
  3. Scaling a function
  4. Viewing scaling settings

Viewing function scaling settings

Written by
Yandex Cloud
  • See also
Management console
CLI
API
Yandex Cloud Toolkit
  1. In the management console, select the folder containing your function.
  2. Select Cloud Functions.
  3. Select a function.
  4. Under Version history, mouse over the version tag of the function (such as, $latest) whose scaling settings you wish to view.
  5. Information on these scaling settings will be displayed in a pop-up window:
    • zone_instances_limit: Number of function instances in an availability zone.
    • zone_requests_limit: Number of concurrent function calls in an availability zone.
    • provisioned_instances_count: Number of provisioned instances.

If you don't have the Yandex Cloud command line interface yet, install and initialize it.

The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name or --folder-id parameter.

To view a function's scaling settings, run the command:

yc serverless function list-scaling-policies --id=d4eokpuol55h********

Where --id: Function ID. To find out the ID, request a list of functions.

Result:

+----------------------+---------+----------------------+---------------------+-----------------------------+
|     FUNCTION ID      |   TAG   | ZONE INSTANCES LIMIT | ZONE REQUESTS LIMIT | PROVISIONED INSTANCES COUNT |
+----------------------+---------+----------------------+---------------------+-----------------------------+
| d4eokpuol55h******** | $latest |                    1 |                   2 |                           3 |
+----------------------+---------+----------------------+---------------------+-----------------------------+

You can view a function's scaling settings using the listScalingPolicies.

You can view function scaling settings using the Yandex Cloud Toolkit plugin for the IDE family on the IntelliJ platform from JetBrains.

See also

  • Scaling a function.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC