Skip to content

Instance Types ​

Bruin Cloud runs all assets in individual, ephemeral environments, called "instances". These instances are managed by the Bruin Cloud platform, and provide serverless compute for all of your assets.

You can configure the instance type for each asset inside your asset definitions:

yaml
instance: "b1.small"

The following instance types are available in Bruin Cloud:

Instance TypeCPUMemory
b1.pico125m256Mi
b1.nano250m512Mi
b1.small500m1500Mi
b1.medium750m2400Mi
b1.large14Gi
b1.xlarge26Gi
b1.2xlarge2.58Gi
b1.3xlarge312Gi
b1.4xlarge3.516Gi
b1.5xlarge424Gi
b1.6xlarge4.532Gi
b1.7xlarge548Gi
b1.8xlarge564Gi

If you don't set instance, Bruin Cloud picks one based on the asset type:

Asset TypeDefault Instance
Pythonb1.nano (b1.small when materialized as a table)
Ingestrb1.medium
SQLb1.nano
Sensorsb1.pico

Notes:

  • CPU is measured in cores (1000m = 1 core)
  • Memory is measured in gibibytes (Gi) or mebibytes (Mi)
  • Values are the maximum each instance can use; on b1.xlarge and larger, CPU may be lower when the cluster is busy
  • An asset that goes over its max memory is stopped with an out-of-memory error; pick a larger instance if this happens

How Instance Size Affects Concurrency ​

Larger instances consume more of your tenant's resource pool. See Concurrency & Resource Limits for details on the weighted-slot model.

Custom Instance Types ​

Bruin Cloud supports custom instance types. You can specify a custom instance type by setting the instance field to the name of the instance type you want to use. Talk to your account manager to get access to custom instance types.