It's even more from the last months bill, the estimated is now more than $800.
supersyntx
PROOP

2 months ago

Project ID: d80a0f28-9735-4a66-ac9c-da1ec1bbed51?

I have only one single user. It's not possible to get this high traffic.

Solved$20 Bounty

Pinned Solution

You can use reference variables to connect your backend to your database instead of using the public URL.

It would look something like this: ${{Postgres.DATABASE_URL}} (If I had a postgres database)

10 Replies

Railway
BOT

2 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway about 2 months ago


Estimated bills may not be accurate. I would suggest calculating/estimating your costs based on your current usage.

https://railway.com/pricing


0x5b62656e5d

Estimated bills may not be accurate. I would suggest calculating/estimating your costs based on your current usage.https://railway.com/pricing

2 months ago

It is accurate this time, they are connecting to their databases via the public network.


Oops.

Egress charges then 🤷🏻‍♂️


brody

It is accurate this time, they are connecting to their databases via the public network.

supersyntx
PROOP

2 months ago

What should I do then?


I would recommend you connect your database to your application via internal networking to minimize egress costs. (This will only work if you have a backend)


supersyntx
PROOP

2 months ago

Yes, I do have backend. What should I do to connect using the internal networking? I'm new to railway.


0x5b62656e5d

I would recommend you connect your database to your application via internal networking to minimize egress costs. (This will only work if you have a backend)

supersyntx
PROOP

2 months ago

Yes, I do have backend. What should I do to connect using the internal networking? I'm new to railway.


You can use reference variables to connect your backend to your database instead of using the public URL.

It would look something like this: ${{Postgres.DATABASE_URL}} (If I had a postgres database)


0x5b62656e5d

You can use reference variables to connect your backend to your database instead of using the public URL.It would look something like this: ${{Postgres.DATABASE_URL}} (If I had a postgres database)

supersyntx
PROOP

2 months ago

Thank you for your help. It's down to 150. Still very high for a single user application though.


I think it might take a bit for Railway to adjust to the update, but I'm not sure.


Status changed to Solved brody about 2 months ago


Loading...