Hi folks, hope you’re doing well.
Merry Christmas! ![]()
I noticed on the pricing table that there is a new machine tier available: shared-cpu-6x
https://fly.io/docs/about/pricing/
This tier is exactly what I need, however I ran into a couple of issues.
Machine size not available via flyctl
According to the docs, it should provide more CPU with the same 1GB RAM as shared-cpu-4x, but I’m unable to use it via CLI:
fly scale vm shared-cpu-6x
Error returned:
'shared-cpu-6x' is an invalid machine size, choose one of:
[shared-cpu-1x shared-cpu-2x shared-cpu-4x shared-cpu-8x]
Memory requirement mismatch when using fly.toml
I also tried configuring it directly in fly.toml:
[[vm]]
cpu_kind = "shared"
cpus = 6
memory = "1024mb"
But got the following error:
failed to update VM XPTO:
invalid config.guest.memory_mb, minimum required 1536 MiB
Environment
- flyctl version:
0.3.236
In the end, it worked when I set the memory to 1536 MiB, as suggested by the error message.
Questions
-
Is
shared-cpu-6xsupposed to have 1GB RAM, or is the pricing documentation incorrect? -
Is there any ETA for
shared-cpu-6xto be available viaflyctl?
This would be especially useful since I have automated scale-down on Friday nights and scale-up early Monday mornings, all handled via CLI.
Thanks in advance!