Server types
Sizes of servers, what they include and how to change them.
A server type defines the number of vCPUs, the memory and the disk size; traffic is unmetered on every type. The current types and prices are on the pricing page and in the public API:
curl https://api.odinex.cloud/v1/server_types
odx server-type listEach type has:
| Field | Meaning |
|---|---|
name | The name you use when creating a server, e.g. s2 |
cpu_type | shared or dedicated vCPUs |
cores, memory, disk | vCPUs, memory in GB, disk in GB |
included_traffic | Kept for compatibility; traffic is unmetered |
prices | Hourly and monthly price per location, as {net, gross, currency} decimal strings |
deprecated | Deprecated types cannot be used for new servers |
Families
| Family | Names | vCPU | Built for |
|---|---|---|---|
| Standard | s0–s8 | shared | websites, APIs and most workloads: 2 GB RAM per vCPU |
| CPU | c1–c5 | shared | builds, workers, game servers: 1 GB RAM per vCPU, more cores for the money |
| Memory | m1–m5 | shared | databases and caches: up to 8 GB RAM per vCPU |
| Dedicated | d1–d6 | dedicated | steady production load on cores nobody else uses |
| Storage | st1–st6 | shared | files, backups and media on a large NVMe disk |
Traffic is unmetered on every type. A type can be listed but unavailable in a location while there is no capacity for it there (the pricing page and the console show it); the dedicated and storage families are being rolled out.
Disk
The server's disk is network block storage. Its size is set by the server type (or larger, see below), and it is deleted with the server. For data that should outlive a server, use a volume.
Changing the type
You can move a server to another type (change_type). The server has to be powered off first.
- With
upgrade_disk: truethe disk grows to the new type's size. Disks can never shrink, so you can't move back to a type with a smaller disk afterwards. - With
upgrade_disk: falsethe disk keeps its size. Only CPU and memory change, so you can downgrade again later.
odx server poweroff web-1
odx server change-type --type s4 --upgrade-disk web-1
odx server poweron web-1From then on the server is billed at the new type's price.