Constraints on cost (cost quotas)
Cost constraints, or cost quotas, help you stay within budget and avoid unpleasant surprises in your cloud bills.
Mist supports cost quotas per team and organization. Quotas are checked when users attempt to create, start or resize machines. Mist will compare the current run rate with the relevant quota. The requested action will be allowed only if the run rate is below the quota.
Please keep in mind that only members of the Owners team can manage constraints. Also, constraints are available only in Mist Hosted Service (HS) and Mist Enterprise Edition (EE).
Example
Let’s assume you would like to apply the following constraints:
- The Dev team must spend less than $500 per month on machines.
- The total run rate of all machines in the organization must be less than $2,000 per month.
From the Teams section:
- Make sure you belong to the Owners team.
- Click on the Dev team.
- Click the gear icon next to the team policy that applies to machines.
- Input the relevant quota parameters in the form fields as shown below.
- Don't forget to click OK and then SAVE POLICY or the changes to take effect.
If you prefer to input your policy in JSON, you can switch to JSON mode from the top right of the web form.
In this example, the JSON equivalent would be:
{ "cost": { "max_team_run_rate": 500, "max_total_run_rate": 2000 } }
The integer values above are in US dollars.