Questions regading pricing, how to reduce costs
hello I have a app that runs with postgres, redis, and a single instance running, the last month bill was $ 42 and it's already estimated to $ 76 is that correct ? what Im missing ?
![No description](https://cdn.answeroverflow.com/1204092968080773190/image.png)
154 Replies
Project ID:
N/A
are you connecting to postgres and redis via the private network? if not, you are subjecting yourself to unnecessary egress fees
hello
not sure
hello!
probabbly via network
let me check it
what variables are you using when connecting to your two databases?
yeah
Im using the external url :HAHAHA:
how to switch ?
both postgres and redis have private url variants, using those to connect to the database will eliminate all database <--> service egress fees
got it
how to change
?
![No description](https://cdn.answeroverflow.com/1204093892480213012/image.png)
I think I must set like this, right ?
that is using the public network to connect to the databases
sh**t
that's the reason
additional $18
what two environment variables does your code use to connect to the two databases?
Database_url and redis_url