Limits and quotas
How much an organization can run, and the limits on each API.
Capacity
Each organization has an allowance per zone: a number of servers, vCPU and memory. Aquila sets it when it approves the organization, and raises it on request.
A fleet counts for its largest size: its replica count, or its autoscaler's maximum. Creating, scaling or updating a fleet so the zone's fleets together would exceed the allowance fails with RESOURCE_EXHAUSTED, and the message says how much they would need against what is allowed. Running servers are never stopped by it.
A zone where the organization has no allowance refuses fleets with FAILED_PRECONDITION.
The console shows each zone's allowance and use above the fleets. Scripts read the same with fleets.v1.GetCapacity.
Fleets
| What | Limit |
|---|---|
| Replicas, or autoscaler bounds | 0 to 1000 |
| CPU per server | 0.05 to 64 vCPU |
| Memory per server | 32 MiB to 256 GiB |
| Ports per server | 1 to 4 |
| Environment variables | 64 |
| Labels | 16 |
| Command and arguments | 16 and 64 items |
| Charted metrics | 8 |
| Logs per request | The last 5000 lines |
Memory is a hard limit: a server that goes over it is killed. CPU is reserved per server, and a server can use idle CPU on its node above that.
With the Agones SDK, the sidecar takes 32 MiB and 0.01 vCPU out of each server's allowance, so give such servers at least 64 MiB.
A fleet has up to 32 secrets of up to 4 KiB each.
Environment variables starting with AQUILA_ are reserved, and so are labels in the aquilahosting.com domain.
Game server SDK
| What | Limit |
|---|---|
| Calls per server | 10 a second, bursts of 20 |
| Request body | 16 KiB |
| Health | By default, a call every 5 seconds, 3 misses allowed, starting 30 seconds after Ready |
Allocation
| What | Limit |
|---|---|
| Selectors, labels and annotations | 16 each |
| Annotation value | 4 KiB |
Matchmaking
| What | Limit |
|---|---|
| New tickets | 50 a second per organization, bursts of 200 |
| Searching tickets per queue | 10,000 |
| Players per ticket | Up to the queue's players per team, at most 100 |
| Teams per match | 16 |
| Players per match | 100 |
| Attributes per ticket | 16 string, 16 number, 16 zone latencies |
| Range rules per queue | 4 |
| Equal attributes per queue | 8 |
| Ticket timeout | 10 seconds to an hour, 120 seconds by default |
| Ticket and match history | 24 hours and 30 days |
Networking
| What | Limit |
|---|---|
| Public ports | 20000 to 21000 |
| UDP flows per port | 512 |
| Idle UDP flow | Closed after 30 seconds |
See Networking for what these mean for a game.