R
Railway5mo ago
IgnisDa

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.
No description
28 Replies
Percy
Percy5mo ago
Project ID: N/A
IgnisDa
IgnisDaOP5mo ago
N/A Also, is the CPU shared?
Brody
Brody5mo ago
what is your resource usage? no the cpu is not shared.
IgnisDa
IgnisDaOP5mo ago
my app uses ~300mb idle and needs to scale to 1gb (not including postgres database)
Brody
Brody5mo ago
how much cpu did it use on fly?
IgnisDa
IgnisDaOP5mo ago
something like this but I need double when I redeploy
No description
Brody
Brody5mo ago
but what does it actually use, thats just what fly will allow you to use up to
IgnisDa
IgnisDaOP5mo ago
No description
IgnisDa
IgnisDaOP5mo ago
not sure where I see the CPU
Brody
Brody5mo ago
please look for it
IgnisDa
IgnisDaOP5mo ago
this is the CPU utilization
No description
Brody
Brody5mo ago
then you can use 0.1 in the calculator
IgnisDa
IgnisDaOP5mo ago
wont it be 0.2 since it reaches 20%?
Brody
Brody5mo ago
sure, but those are fast spikes, so i would not put that into the calculations
IgnisDa
IgnisDaOP5mo ago
okay and I suppose the 8GB here is a hard limit right?
No description
Brody
Brody5mo ago
correct, 8gb per service
IgnisDa
IgnisDaOP5mo ago
and if i dockerize multiple apps into one image and run it behind a reverse proxy, is it considered fair use?
Brody
Brody5mo ago
that wouldn't violate anything, but it also wouldn't save you any money if that's what you're after, just needless complications
IgnisDa
IgnisDaOP5mo ago
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.
Brody
Brody5mo ago
my bad, sounded like an XY question is all, you're good with that approach
IgnisDa
IgnisDaOP5mo ago
whats the state of internal networking? I used railway 2 yrs ago, it did not exist back then
Brody
Brody5mo ago
it's very good! you can almost treat it like a normal local network, just with domains!
IgnisDa
IgnisDaOP5mo ago
Great. Also i seem to have the pro and support access role, which are remnants of 2 yrs ago. Can you remove them please?
Brody
Brody5mo ago
do you currently have the hobby plan?
IgnisDa
IgnisDaOP5mo ago
nope, but i plan to
Brody
Brody5mo ago
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
IgnisDa
IgnisDaOP5mo ago
thank you for your help !resolved
Brody
Brody5mo ago
only mods / team can mark as resolved
Want results from more Discord servers?
Add your server