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