R
Railway11mo 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
Percy11mo ago
Project ID: 8929a4ad-5433-4d16-a231-4d6a8d23a012
Percy
Percy11mo ago
Project ID: 8929a4ad-5433-4d16-a231-4d6a8d23a012
Greal
GrealOP11mo ago
8929a4ad-5433-4d16-a231-4d6a8d23a012
Brody
Brody11mo 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
GrealOP11mo ago
okay. Is this because of the migration to the new Redis service or that's how it has always been?
Brody
Brody11mo 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
GrealOP11mo ago
Using the private url didn't work. I got an error Redis Client Error Error: getaddrinfo ENOTFOUND redis.railway.internal
Brody
Brody11mo ago
ioredis?
Greal
GrealOP11mo ago
yeah
Greal
GrealOP11mo ago
ok thanks
Want results from more Discord servers?
Add your server