This document describes the quotas for OS Login, which define the maximum number of requests that your project can make to the OS Login API.
A quota restricts how much of a particular shared Google Cloud resource your Google Cloud project can use, including hardware, software, and network components.
Quotas are part of a system that does the following:
- Monitors your use or consumption of Google Cloud products and services.
- Restricts your consumption of those resources for reasons including ensuring fairness and reducing spikes in usage.
- Maintains configurations that automatically enforce prescribed restrictions.
- Provides a means to make or request changes to the quota.
When a quota is exceeded, in most cases, the system immediately blocks access to the relevant Google resource, and the task that you're trying to perform fails. In most cases, quotas apply to each Google Cloud project and are shared across all applications and IP addresses that use that Google Cloud project.
Request Quotas
Any requests you make to the OS Login API count towards your OS Login quota. OS Login usage through the Google Cloud console or Google Cloud CLI also counts towards your quota because these services use the OS Login API. OS Login quotas apply to your entire project and are separate for each project.
Each quota group is counted separately, so you can achieve the maximum limit in each group simultaneously. Quotas are enforced at intervals of every 60 seconds. If you reach a group's enforced maximum anytime within 60 seconds, you need to wait for the next interval for your quota to refresh before you can make more requests in that group.
Per user quotas
Quota group | Details | Default quota |
---|---|---|
Read requests |
|
60 requests per user per minute |
Write requests |
|
60 requests per user per minute |
Start session requests |
|
6 requests per user per minute |
Continue session requests |
|
6 requests per user per minute |
Per region quotas
Quota group | Details | Default quota |
---|---|---|
Metadata server requests |
|
60,000 requests per region per minute |
Metadata server group requests |
|
60 requests per region per minute |
Manage quotas
To manage the quotas for your project, do the following:
- Follow the best practices for preserving API rate limits.
Use the Google Cloud console to view and edit quotas:
- If you want to quotas, see Capping usage.
- If you need higher quotas than the default maximum, request a higher quota limit. In your request, add information showing the consumption rate in your environment. These include OS Login audit logs or other error messages stating that the rate limit is exceeded.
What's next?
- Learn more about working with Quotas.
- Learn more about OS Login.