Agent Specifications
By default, Mint runs tasks on agents with 2 CPUs, 8 GB memory, and 50 GB disks.
You can customize the hardware with the agent
key on your task.
The configuration for the agent only applies to that specific task. That means you can use up to 64 CPUs and 256 GB RAM for CPU or memory intensive tasks (like compiling) and then run less intensive tasks (like uploading your binaries) on a smaller agent.
Example
Here is a task that runs on a 64 CPU 256 GB memory agent and prints the number of CPUs and amount of memory available:
tasks:
- key: show-cpu-and-memory
run: |
nproc
grep MemTotal /proc/meminfo
agent:
cpus: 64
memory: 256gb
Supported Specifications
Mint reserves 2 GB RAM for internal use on agents. For example, if you declare that your task needs a 4 CPU, 16 GB RAM agent, your task will have 14 GB RAM available.
General Purpose
CPUs | Memory |
---|---|
2 | 8gb |
4 | 16gb |
8 | 32gb |
16 | 64gb |
32 | 128gb |
64 | 256gb |
Compute Optimized
CPUs | Memory |
---|---|
2 | 4gb |
4 | 8gb |
8 | 16gb |
16 | 32gb |
32 | 64gb |
Memory Optimized
CPUs | Memory |
---|---|
2 | 16gb |
4 | 32gb |
8 | 64gb |
16 | 128gb |
32 | 256gb |
48 | 384gb |
Flexible CPU and Memory
If you only specify one of cpus
or memory
, Mint will use the lowest cost agent available with the desired number of CPUs or amount of memory.
For example, specifying 4 CPUs will run a 4 CPU 8 GB memory agent:
agent:
cpus: 4
Whereas specifying only 32gb of memory will run a 4 CPU 32 GB memory agent:
agent:
memory: 32gb
Disks
By default, Mint runs tasks with 50 GB disks.
You can increase this in 50 GB increments by specifying the disk
key on agent
:
agent:
disk: 100gb
You can specify disk
in conjunction with any of the options for cpus
and memory`.
Pricing
See the pricing reference.