Hobby plan
maxonje
FREEOP

4 months ago

Hello, I am very new to scripting discord bots aswell as very new to railway. I am thinking about buying the hobby plan but was wondering a few things:
Is the hobby plan able to run my discord bot for 24/7 the whole month without an additional cost?
If you need to see my script il send you it.

//Thank you very much

Solved$5 Bounty

4 Replies

testuser123
PRO

4 months ago

It'll greatly depend on the traffic volume. How many users you planning?
You can set a cap so it won't spend more than you determined, though. If you hit the ceiling, the bot will stop working.

It'll also depend on how you configure it. Some services (or apps) will consume more or less memory, traffic, cpu, etc. In general the hobby plan shall suffice if you only use what you're describing, but it shouldn't go much higher than that if you don't have insane traffic and don't get attacked by DDOs or something like that.


clashing
FREE

4 months ago

Hi maxonje, you can deploy the services in two ways on Railway:

a. Running them 24/7 uninterruptively (just use the GitHub repo, docker image, or any of the pre-configured templates), and Railway will run them continuously.

b. You can set the services as "serverless", and that means they would sleep after 10 minutes of inactivity. It helps you in keeping the costs in control, because it would run the code only when someone hits the endpoint. And the restart time is very small, because it uses a cached copy of the build image to serve the incoming requests. You can learn about the same from here: https://docs.railway.com/reference/app-sleeping

For the hobby plan, you have to buy that plan for $5, and it has a maximum capacity of 8 GB RAM / 8 vCPU per service (which is quite capable of handling a large load). So, as your application would use the resources, firstly, your $5 credits would be used, and thereafter, till the max load is not reached, you would be billed for the extra-used resources.

https://railway.com/pricing can help you a lot.

You can try the hobby plan for a month, & see how things pan out for your use-case. (As I can see that you are on the FREE plan, it's best to use the current trial, and see how much load a "512 MB RAM / 2 vCPU per service" plan can give you)

I hope that helps you. If so, then mark this as the solution

Attachments


clashing

Hi maxonje, you can deploy the services in two ways on Railway:a. Running them 24/7 uninterruptively (just use the GitHub repo, docker image, or any of the pre-configured templates), and Railway will run them continuously.b. You can set the services as "serverless", and that means they would sleep after 10 minutes of inactivity. It helps you in keeping the costs in control, because it would run the code only when someone hits the endpoint. And the restart time is very small, because it uses a cached copy of the build image to serve the incoming requests. You can learn about the same from here: https://docs.railway.com/reference/app-sleepingFor the hobby plan, you have to buy that plan for $5, and it has a maximum capacity of 8 GB RAM / 8 vCPU per service (which is quite capable of handling a large load). So, as your application would use the resources, firstly, your $5 credits would be used, and thereafter, till the max load is not reached, you would be billed for the extra-used resources.https://railway.com/pricing can help you a lot.You can try the hobby plan for a month, & see how things pan out for your use-case. (As I can see that you are on the FREE plan, it's best to use the current trial, and see how much load a "512 MB RAM / 2 vCPU per service" plan can give you)I hope that helps you. If so, then mark this as the solution

clashing
FREE

4 months ago

Did this help, maxonje


clashing

Hi maxonje, you can deploy the services in two ways on Railway:a. Running them 24/7 uninterruptively (just use the GitHub repo, docker image, or any of the pre-configured templates), and Railway will run them continuously.b. You can set the services as "serverless", and that means they would sleep after 10 minutes of inactivity. It helps you in keeping the costs in control, because it would run the code only when someone hits the endpoint. And the restart time is very small, because it uses a cached copy of the build image to serve the incoming requests. You can learn about the same from here: https://docs.railway.com/reference/app-sleepingFor the hobby plan, you have to buy that plan for $5, and it has a maximum capacity of 8 GB RAM / 8 vCPU per service (which is quite capable of handling a large load). So, as your application would use the resources, firstly, your $5 credits would be used, and thereafter, till the max load is not reached, you would be billed for the extra-used resources.https://railway.com/pricing can help you a lot.You can try the hobby plan for a month, & see how things pan out for your use-case. (As I can see that you are on the FREE plan, it's best to use the current trial, and see how much load a "512 MB RAM / 2 vCPU per service" plan can give you)I hope that helps you. If so, then mark this as the solution

clashing
FREE

4 months ago

Do mark my initial post as the solution, as it might have helped you to clear the doubts


adam
MODERATOR

4 months ago

Welcome to Railway! Yes, the hobby plan will be able to run your bot 24/7 without any additional cost, assuming it’s not doing anything out of the ordinary that would cause it to use more resources


adam
MODERATOR

4 months ago

You’d likely be able to run 2-3 bots without incurring extra cost, but that will greatly depend on how optimized your bots are and the usage that they see


adam
MODERATOR

4 months ago

!s


Status changed to Solved adam 4 months ago


Loading...