R
Railway•11mo 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•11mo ago
Project ID: 367ca2fd-0f4e-460e-9c8c-1469b507da1a
Brody
Brody•11mo ago
project id please
Dohyu
DohyuOP•11mo ago
367ca2fd-0f4e-460e-9c8c-1469b507da1a
Brody
Brody•11mo ago
500 x 0.10 = 50 not sure where the $600 number is coming from?
Dohyu
DohyuOP•11mo ago
No description
Dohyu
DohyuOP•11mo ago
No description
Brody
Brody•11mo ago
that's ~6 terabytes of egrees, wow I'll flag the team for you, but please don't get your hopes up
Dohyu
DohyuOP•11mo ago
sorry. But the Estimated Bill is $300
Brody
Brody•11mo 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
DohyuOP•11mo ago
no
Brody
Brody•11mo ago
are you going to?
Dohyu
DohyuOP•11mo ago
Use DATABASE_URL when sending a query to the database.
Brody
Brody•11mo ago
yeah and that's why you are seeing egrees costs, you aren't using the private url
Dohyu
DohyuOP•11mo ago
postgres.railway.internal oh... I didn't think about internal networking.
Brody
Brody•11mo 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
DohyuOP•11mo ago
I will change it to use private networking right away.
Duchess
Duchess•11mo ago
Thread has been flagged to Railway team by @Brody.
Dohyu
DohyuOP•11mo ago
Should I speak to the railway team about bill that are too high?
Brody
Brody•11mo 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
DohyuOP•11mo ago
thanks.
Brody
Brody•11mo ago
and you might want to look into setting a usage limit too that button
Dohyu
DohyuOP•11mo ago
Yes, I will
Brody
Brody•11mo 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•11mo 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•11mo ago
Is this the account you are referring to?
No description
angelo
angelo•11mo ago
I don't see it that high.
Solution
Dohyu
Dohyu•11mo 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•11mo 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•11mo ago
!resolve
Duchess
Duchess•11mo ago
@Ray has marked this thread as resolved.
Brody
Brody•11mo 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