Compute types
The kinds of compute a block can run on, and when to use each.
Each block runs on a compute type you choose in the block's compute settings. Choosing the right one for each block makes it run reliably and cost less.
Choosing a compute type
Lambda (AWS Lambda)
Most blocks: queries, light data processing, API calls
10 GB
15 minutes
Fargate (AWS Fargate)
Long-running work, large datasets, heavier processing
120 GB, with up to 16 CPUs
12 hours
GPU (AWS SageMaker)
Model training, deep learning, other GPU work
Depends on the instance
12 hours
Each environment has a default compute type, used when a block doesn't specify one. A block can also inherit its project's compute settings.
Lambda
Lambda starts quickly and suits most blocks.
Memory
10 GB
Run time
15 minutes
Scratch storage
10 GB
Lambda can also run with a fixed outbound IP address, which you need if your database only accepts connections from approved IP addresses.
Fargate
Fargate suits work that runs longer or needs more resources. Choose an instance size:
Small
1
8 GB
Medium
2
16 GB
Large
4
30 GB
X-Large
8
60 GB
XX-Large
16
120 GB
Scratch storage
20 to 200 GB, default 20 GB
Run time
Up to 12 hours
If a Fargate block runs out of memory, choose a larger size in the block's compute settings.
GPU
GPU runs a block on an AWS SageMaker GPU instance. See GPUs for the instance types and settings, including what happens when GPUs are in short supply.
Compute for self-hosted Zerve
When your organization runs Zerve in its own cloud or on its own infrastructure, more compute types can be available:
Kubernetes
Your own Kubernetes cluster
Armada
Batch scheduling on your Kubernetes clusters
Cloud Run
Google Cloud Run Jobs in your Google Cloud account
CPU, memory and scratch storage (up to 200 GB) are set per block, within the limits your administrators configure. See Deployment options.
Compute for deployments
Deployed apps and APIs run on their own compute, set up when you deploy. See Deployments overview.
Last updated
Was this helpful?
