How to get details about RAM consumption for Compute Cloud VM instances
Written by
Updated at December 17, 2025
Issue description
- You need to get details about RAM consumption for your Compute Cloud VM instance.
- You need to deliver metrics of RAM consumption for your VM instances to Yandex Monitoring.
Solution
Yandex Compute Cloud cannot measure vRAM consumption within a guest OS. Yandex Compute Cloud assumes that the VM always consumes the amount of RAM allocated at startup.
You can use the API to set up collection of custom metrics. For example, on a Linux-based OS, you can choose an agent running within your VM to deliver system metrics. This agent allows you to collect statistics for CPU, memory, network, and disk usage.
For more information, see these guides: