How do I calculate costs?
Hi, how do I calculate CPUs I need? I have been running my application on fly.io for months so I have resource usage data but idk how to translate it.
28 Replies
Project ID:
N/A
N/A
Also, is the CPU shared?
what is your resource usage? no the cpu is not shared.
my app uses ~300mb idle and needs to scale to 1gb
(not including postgres database)
how much cpu did it use on fly?
something like this but I need double when I redeploy
but what does it actually use, thats just what fly will allow you to use up to
not sure where I see the CPU
please look for it
this is the CPU utilization
then you can use 0.1 in the calculator
wont it be 0.2 since it reaches 20%?
sure, but those are fast spikes, so i would not put that into the calculations
okay and I suppose the 8GB here is a hard limit right?
correct, 8gb per service
and if i dockerize multiple apps into one image and run it behind a reverse proxy, is it considered fair use?
that wouldn't violate anything, but it also wouldn't save you any money if that's what you're after, just needless complications
money is not the deciding factor here. I have my application setup like that already https://github.com/IgnisDa/ryot/blob/main/ci/Caddyfile
GitHub
ryot/ci/Caddyfile at main · IgnisDa/ryot
Roll your own tracker! Contribute to IgnisDa/ryot development by creating an account on GitHub.
my bad, sounded like an XY question is all, you're good with that approach
whats the state of internal networking? I used railway 2 yrs ago, it did not exist back then
it's very good! you can almost treat it like a normal local network, just with domains!
Great. Also i seem to have the pro and support access role, which are remnants of 2 yrs ago. Can you remove them please?
do you currently have the hobby plan?
nope, but i plan to
okay removed both plans type roles and left the support role, otherwise you'd be booted from the help thread
our bot will auto add hobby back once you upgrade again
thank you for your help
!resolved
only mods / team can mark as resolved