Resource Limits Management Plugin
We introduced a new plugin that allows Domain Administrators to manage resource quotas, and users to change resource limits within the quotas set by Administrator. The extension helps a user to reasonably utilize resources and avoid such situations when one has extra resources that are not used but accounted in billing. Having access to the resource limits, a user does not need to request an administrator for limit change as it was previously. With the new plugin, a user can do it oneself.
The extension uses 2 backend plugins:
- the µAPI Gateway plugin that we developed to allow extending CloudStack by developing plugins for it in any programming language.
- the Resource Limits Management plugin that extends the CloudStack API with additional endpoints.
Follow the provided links to get detailed deployment instructions for the plugins. You will need access to the projects for that.
After the backend plugins are deployed and configured, it is time to enable and configure the Resource Limits Management UI-plugin via the config.json
file (see the configuration guide). Once the UI-plugin is activated, users and administrators get access to resource management via the UI.
The Resource quotas section is available for Administrators:
The Update resources option is available for users:
The detailed instructions on the backend plugins deployment are presented at the project pages (at the above links) if you have access to them.
In general, to enable the Resource Limits Management UI-plugin you will need to:
- Install and configure the µAPI Gateway backend plugin in CloudStack.
- Deploy the Resource Limits Management backend plugin.
- Enable and configure the UI extension via the
config.json
file (see below or in the configuration guide).
Please enable resourceLimits
in the extensions section of the config.json
:
"extensions": {
...,
"resourceLimits": true
}
Add necessary configurations, for example:
"resourceLimits": {
"realm": "resource-limits",
"env": "prod"
}
where:
-
realm
is the realm of the configured gateway. -
env
is the environment of the configured gateway.