Skip to content

Quotas

By default, a KraftCloud account comes with certain quotas. You can view the quotas that apply to your account by using the quotas subcommand:

Terminal window
kraft cloud quotas
Terminal window
user uuid: <REDACTED>
user name: $KRAFTCLOUD_USER
active instances: ████████████████████████████████████ 2/16
total instances: ████████████████████████████████████ 2/16
active used memory: ████████████████████████████████████ 256 MiB/4.0 GiB
memory size limits: 16 MiB-2.0 GiB
exposed services: ████████████████████████████████████ 2/253
service groups: ████████████████████████████████████ 1/253
volumes: enabled
active volumes: ████████████████████████████████████ 2/253
used volume space: ████████████████████████████████████ 756 MiB/1.0 GiB
volume size limits: 1.0 MiB-1.0 GiB
autoscale: enabled
autoscale limit: 0-16
scale-to-zero: enabled

In this case:

  • You can create up to 16 instances (2 are already running).
  • You are theoretically allowed to have 253 instances running at the same time, which is one for every IP in your private network, but since you can only create 16, you cannot fully use this.
  • You can create 253 service groups (i.e., DNS names like yourdomain.com) and publish in total 253 ports. So if every service group you create publishes 2 ports you can create only 126 service groups.
  • You can create instances that have between 16MB and 2GB of RAM.
  • The total memory assigned to all your running instances cannot exceed 4GB.
  • You can create volumes that are between 1MB and 1GB in size.
  • You can create 253 volumes that can take up to 1GB of total disk space.
  • Scale-to-zero is enabled by default for all accounts (though you have to turn it on for each app, see this guide).
  • Autoscale is disabled by default (max size 1 forbids scale out).