← Back to docs

limit

Manage credit usage limits

Usage

limit <subcommand>

Description

Set credit limits per billing cycle for your account or individual instances.

Subcommands

account Set account-wide credit limit per billing cycle
clear Remove credit limit from an instance or account
default-action Set default action when account credit limit is exceeded
set Set credit limit for an instance
set-action Set action when instance credit limit is exceeded
show Show current limits and usage

Examples

  limit show                   # show all limits and usage
  limit account 100            # set account limit to 100 credits/cycle
  limit set myvm 50            # set instance limit to 50 credits/cycle
  limit clear myvm             # remove instance limit
  limit default-action stop        # stop instances when account limit exceeded
  limit set-action myvm destroy    # destroy instance when its limit exceeded