How do I calculate costs?
ignisda
HOBBYOP

2 years ago

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.

31 Replies

ignisda
HOBBYOP

2 years ago

N/A


ignisda
HOBBYOP

2 years ago

Also, is the CPU shared?


2 years ago

what is your resource usage? no the cpu is not shared.


ignisda
HOBBYOP

2 years ago

my app uses ~300mb idle and needs to scale to 1gb


ignisda
HOBBYOP

2 years ago

(not including postgres database)


2 years ago

how much cpu did it use on fly?


ignisda
HOBBYOP

2 years ago

something like this but I need double when I redeploy

1262659786919383000


2 years ago

but what does it actually use, thats just what fly will allow you to use up to


ignisda
HOBBYOP

2 years ago

1262661042018713900


ignisda
HOBBYOP

2 years ago

not sure where I see the CPU


2 years ago

please look for it


ignisda
HOBBYOP

2 years ago

this is the CPU utilization

1262661476783624200


2 years ago

then you can use 0.1 in the calculator


ignisda
HOBBYOP

2 years ago

wont it be 0.2 since it reaches 20%?


2 years ago

sure, but those are fast spikes, so i would not put that into the calculations


ignisda
HOBBYOP

2 years ago

okay and I suppose the 8GB here is a hard limit right?

1262662526521311200


2 years ago

correct, 8gb per service


ignisda
HOBBYOP

2 years ago

and if i dockerize multiple apps into one image and run it behind a reverse proxy, is it considered fair use?


2 years 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
HOBBYOP

2 years 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


2 years ago

my bad, sounded like an XY question is all, you're good with that approach


ignisda
HOBBYOP

2 years ago

whats the state of internal networking? I used railway 2 yrs ago, it did not exist back then


2 years ago

it's very good! you can almost treat it like a normal local network, just with domains!


ignisda
HOBBYOP

2 years 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?


2 years ago

do you currently have the hobby plan?


ignisda
HOBBYOP

2 years ago

nope, but i plan to


2 years ago

okay removed both plans type roles and left the support role, otherwise you'd be booted from the help thread


2 years ago

our bot will auto add hobby back once you upgrade again


ignisda
HOBBYOP

2 years ago

thank you for your help


ignisda
HOBBYOP

2 years ago

!resolved


2 years ago

only mods / team can mark as resolved


Loading...