Using External Resources Quotas
Note
CloudShare supports the three leading commodity clouds: Amazon EC2, Microsoft Azure and the Google Cloud Platform (GCP).
You can control key resources that will be available to a commodity cloud when it is used by a project.
External resource quota settings use both hard and soft limits. For more information on what CloudShare does when quota limits are exceeded, click here.
You access the specific Quota Metrics and Quota Actions that are being used for external resources from the Project Details page.
-
From the Account Management menu, click Projects. The list of current projects is displayed.
-
Click the name of the project you want to change quota settings for. The Project Details is displayed.
-
On the Actions list at the top of the page, click Manage Resources Quota. The Resources Quota page is displayed.
-
From the Cloud Type dropdown list, choose External Clouds to display the external cloud resource quota settings.
Note
Accessing quota settings for External Resources requires Show External Resources Quota permission. Contact CloudShare at support@cloudshare.com to enable this option.
Environment-Level External Resources
Environment-level quotas are measured to limit resource consumption for each running environment. CloudShare monitors the value of each Quota Metric and triggers the assigned Quota Action in real time when a limit is exceeded.
Note
Real-time metric measurements are performed on a 'best efforts' basis, and may be limited by the API of your selected external cloud. Because CloudShare measurements are produced periodically over a set time period, a limit might be reached between measurements. In such a case, the external resources will continue to be available until CloudShare is able to identify that the quota limit has been reached.
-
From the Quota Scope dropdown list, choose Environment to access Environment-level quota settings:
-
Click New Action. The New Quota Action popup is displayed:
For details on Quota Actions, click here.
-
From the Action dropdown list, select the desired Quota Action. This is the operation that CloudShare will perform when a limit you have set is reached.
-
From the Limit Type dropdown list, choose either Hard Limit or Soft Limit, to tell CloudShare how to respond when the Action is triggered. For details on limit types, click here.
-
From the Enabled dropdown list, select No if you want to temporarily disable this action. By default, a new action is always Enabled.
-
When you finish defining the current Quota Action, click Submit. The new action will be stored.
-
Click New Metric. The New Quota Metric popup is displayed:
For details on Quota Metrics, click here.
-
From the External Cloud dropdown list, select the commodity cloud to configure.
-
From the Metric Type dropdown list, select the metric that will be tracked for quota limitation.
-
If needed, from the Sub-metric Type dropdown list, choose the selected metric's sub-type.
-
When defining environment-level quotas, from the Per-... dropdown list, select Yes if you want the quota for your metric to be measured for each virtual machine instance of the selected metric. For example, if you select the 'Disk GB' metric type, the label for this dropdown will read 'Per-disk', i.e.. Selecting Yes will limit the quota for each Disk in the project.
If you want the quota for your metric to measure all instances combined, select No.
-
Enter a Soft Limit for the metric. The number you enter must be valid for the selected metric type and sub-type. When this limit is exceeded, CloudShare triggers any Quota Actions that you have assigned to a Soft Limit.
-
Enter a Hard Limit for the metric. The number you enter must be valid for the selected metric type and sub-type. When this limit is exceeded, CloudShare triggers any Quota Actions that you have assigned to a Hard Limit.
-
When you finish defining the current Quota Metric, click Submit. The metric will be stored. You can define multiple Quota Metrics for an environment, as needed.
Project-Level External Resources
Project-level quotas are measured in order to limit resource consumption for an entire project. CloudShare monitors the value of each Quota Metric and triggers the assigned Quota Action in real time when a limit is exceeded.
-
From the Quota Scope dropdown list, choose Project to access Project-level quota settings:
-
From the Project dropdown list in the left column, select the project for which you want to define quotas. Then, assign metrics and actions specific to the project-level external resources using the procedure described above.
Note
Be sure to consider carefully the potential resource requirements of all running instances when you define quotas that will be applied at the project-level.
The actions that are available to you for managing a resource quota will vary, depending on the External Cloud you are using as well as the selected scope (i.e., environment or project).
CloudShare Action |
Description |
Notifications by Scope |
---|---|---|
Send email |
Notifies specific users that an assigned resource metric has been exceeded. The email includes information about the affected project, environment and class (as applicable), as well as key details about the metric that was exceeded. |
|
Delete resources |
Deletes the related external cloud project, and also notifies specific users. The email includes information about the affected project, environment and class (as applicable), as well as key details about the metric that was exceeded. When this action is triggered for the Project scope, CloudShare deletes the minimum resources that are needed in order to bring resource usage below the limit that was assigned to the relevant metric. CloudShare will delete the resources on a last-in first-out basis, that is, the most recently-provisioned project will be removed first. |
|
The metrics that are available to you for managing a resource quota will vary, depending on the External Cloud you are using as well as the selected scope (i.e., environment or project).
For details on metrics available for Amazon EC2, click here.
For details on metrics available for Microsoft Azure, click here.
For details on metrics available for the Google Cloud Platform (GCP), click here.
Comments
0 comments
Article is closed for comments.