How do I calculate costs?
ignisda
HOBBYOP

a year 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

a year ago

N/A


ignisda
HOBBYOP

a year ago

Also, is the CPU shared?


brody
EMPLOYEE

a year ago

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


ignisda
HOBBYOP

a year ago

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


ignisda
HOBBYOP

a year ago

(not including postgres database)


brody
EMPLOYEE

a year ago

how much cpu did it use on fly?


ignisda
HOBBYOP

a year ago

something like this but I need double when I redeploy

1262659786919383000


brody
EMPLOYEE

a year ago

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


ignisda
HOBBYOP

a year ago

1262661042018713900


ignisda
HOBBYOP

a year ago

not sure where I see the CPU


brody
EMPLOYEE

a year ago

please look for it


ignisda
HOBBYOP

a year ago

this is the CPU utilization

1262661476783624200


brody
EMPLOYEE

a year ago

then you can use 0.1 in the calculator


ignisda
HOBBYOP

a year ago

wont it be 0.2 since it reaches 20%?


brody
EMPLOYEE

a year ago

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


ignisda
HOBBYOP

a year ago

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

1262662526521311200


brody
EMPLOYEE

a year ago

correct, 8gb per service


ignisda
HOBBYOP

a year ago

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


brody
EMPLOYEE

a year 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

a year 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


brody
EMPLOYEE

a year ago

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


ignisda
HOBBYOP

a year ago

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


brody
EMPLOYEE

a year ago

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


ignisda
HOBBYOP

a year 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
EMPLOYEE

a year ago

do you currently have the hobby plan?


ignisda
HOBBYOP

a year ago

nope, but i plan to


brody
EMPLOYEE

a year ago

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


brody
EMPLOYEE

a year ago

our bot will auto add hobby back once you upgrade again


ignisda
HOBBYOP

a year ago

thank you for your help


ignisda
HOBBYOP

a year ago

!resolved


brody
EMPLOYEE

a year ago

only mods / team can mark as resolved


Loading...