How much RAM is allocated when using `size` field when creating a machine with the API?

The size field in the Machine creation endpoint tells how many CPUs to allocate for the machine (like shared-cpu-8x) but doesn’t say anything about RAM

The pricing page shows that you can choose different RAM configurations for a give size (like shared-cpu-8x has 3 options), what is the default?

Also, when trying to use the guest field i get the error 400: {"error":"invalid config.guest.cpu_kind, only \"shared\" or \"performance\" currently supported"}

There is an additional required field cpu_kind not documented

By default, we use num_cpus * 256 MB to calculate how much memory shared cpu machines are allocated, and num_cpus * 2048 MB for performance CPUs


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.