Constraints on cost (cost quotas)

Cost constraints (quotas) help you stay within budget and avoid unpleasant surprises when you receive invoices from your cloud providers.

Mist supports quotas per team and organization. Quotas apply 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.

To set up a quota, let’s assume your constraints look like these:

  • 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:

  1. Make sure you belong to the Owners team.
  2. Click on the Dev team.
  3. Click the gear icon next to an RBAC policy that applies to machines.
  4. Input a JSON with the relevant quota parameters.

In this example, the JSON looks like this:

  "cost": {
    "max_team_run_rate": 500,
    "max_total_run_rate": 2000

The integer values above are in US dollars. 

Which team policy rules are cost constraints available for?


Please keep in mind that cost constraints are supported in Mist v4.2 and later. Also, they are available only in Mist Hosted Service (HS) and Mist Enterprise Edition (EE).

Still need help? Contact Us Contact Us