R
Railway•10mo ago
Dohyu

The current usage is too high.

Two days ago, due to the buggy code I updated, DB engress usage exceeded 500GB, and the bill exceeded $600. Can you give me a discount for the sudden excessive usage after January 4th? This was clearly my mistake, but the bill was too high. Please help me.
Solution:
Yes, with Brody's help I set usage limits and changed to use a private network and my egress usage went down. thank you
Jump to solution
31 Replies
Percy
Percy•10mo ago
Project ID: 367ca2fd-0f4e-460e-9c8c-1469b507da1a
Brody
Brody•10mo ago
project id please
Dohyu
Dohyu•10mo ago
367ca2fd-0f4e-460e-9c8c-1469b507da1a
Brody
Brody•10mo ago
500 x 0.10 = 50 not sure where the $600 number is coming from?
Dohyu
Dohyu•10mo ago
No description
Dohyu
Dohyu•10mo ago
No description
Brody
Brody•10mo ago
that's ~6 terabytes of egrees, wow I'll flag the team for you, but please don't get your hopes up
Dohyu
Dohyu•10mo ago
sorry. But the Estimated Bill is $300
Brody
Brody•10mo ago
in the mean time, have you swapped to using the private network to communicate with your database so that there will be no database to service egress charges?
Dohyu
Dohyu•10mo ago
no
Brody
Brody•10mo ago
are you going to?
Dohyu
Dohyu•10mo ago
Use DATABASE_URL when sending a query to the database.
Brody
Brody•10mo ago
yeah and that's why you are seeing egrees costs, you aren't using the private url
Dohyu
Dohyu•10mo ago
postgres.railway.internal oh... I didn't think about internal networking.
Brody
Brody•10mo ago
yes but there's a private url variable available for you to use in your reference the private network has no costs associated with it unlike when you use the public url
Dohyu
Dohyu•10mo ago
I will change it to use private networking right away.
Duchess
Duchess•10mo ago
Thread has been flagged to Railway team by @Brody.
Dohyu
Dohyu•10mo ago
Should I speak to the railway team about bill that are too high?
Brody
Brody•10mo ago
as a hobby user you are only entitled to community support, but I have flagged the team for you and they will reply here keep in mind it is the weekend so they will be getting back to you on a weekday, and again, please do not get your hopes up
Dohyu
Dohyu•10mo ago
thanks.
Brody
Brody•10mo ago
and you might want to look into setting a usage limit too that button
Dohyu
Dohyu•10mo ago
Yes, I will
Brody
Brody•10mo ago
and as a community member, that's about all I can do for you, please wait for a reply from the team have a nice day/night!
angelo
angelo•10mo ago
Hey there @Dohyu, Ray and I reviewed this case and we are going to comp your bill. Moving forward please use the https://docs.railway.app/reference/private-networking#internal-dns of a service to avoid egress costs. Question for you while I have you: were you unaware of the usage limit feature that we have? - https://docs.railway.app/reference/usage-limits
angelo
angelo•10mo ago
Is this the account you are referring to?
No description
angelo
angelo•10mo ago
I don't see it that high.
Solution
Dohyu
Dohyu•10mo ago
Yes, with Brody's help I set usage limits and changed to use a private network and my egress usage went down. thank you
angelo
angelo•10mo ago
Ty @Brody 🙂 - cool to mark this as closed, and for posterity, to anyone else who might be coming to this thread, using the private network saves you money. Rationale: it is because that our provider GCP forwards these costs onto us and as such, we need to recoup that. Our move to Railway Metal helps us with this.
Ray
Ray•10mo ago
!resolve
Duchess
Duchess•10mo ago
@Ray has marked this thread as resolved.
Brody
Brody•10mo ago
going to leave this thread as locked since a new thread has already been opened to continue this one https://discord.com/channels/713503345364697088/1193936404594557011 but going forward threads won't be auto locked when the !resolve command is used
Want results from more Discord servers?
Add your server