R
Railway5mo ago
Greal

Redis Egress Billing skyrocketed when nothing changed on the app

it says my Redis egress usage crossed 283.10 GB. This is way beyond my normal usage and there has not been any change in the app or workload. What is the reason for this? Pls help rectify
11 Replies
Percy
Percy5mo ago
Project ID: 8929a4ad-5433-4d16-a231-4d6a8d23a012
Percy
Percy5mo ago
Project ID: 8929a4ad-5433-4d16-a231-4d6a8d23a012
Greal
Greal5mo ago
8929a4ad-5433-4d16-a231-4d6a8d23a012
Brody
Brody5mo ago
how are you connecting to your redis database, are you using the public or private url? https://docs.railway.app/guides/redis#connect if you are connecting to it via the public network you will incur egress fees. in contrast if you are connecting to it via the private network, there would be no egress fees.
Greal
Greal5mo ago
okay. Is this because of the migration to the new Redis service or that's how it has always been?
Brody
Brody5mo ago
thats how its always has been going forward you would want to connect to redis by referencing the REDIS_PRIVATE_URL variable https://docs.railway.app/guides/variables#referencing-another-services-variable
Greal
Greal5mo ago
Using the private url didn't work. I got an error Redis Client Error Error: getaddrinfo ENOTFOUND redis.railway.internal
Brody
Brody5mo ago
ioredis?
Greal
Greal5mo ago
yeah
Greal
Greal5mo ago
ok thanks
Want results from more Discord servers?
Add your server
More Posts