How to use external Redis server instead of local instances

Hi team,

Is there any way to use the external Redis servers instead of the local Redis server? I tried changing the Redis URLs from local to provisioned Redis server URL but it is not working. Are there any additional changes required not just the url switching?

Thanks in advance

why you want todo this?

We would like keep the Redis servers running separately, instead of running on the same instance.

why you want that running separately , what is your concern?

We want to run them separately so that we can have lower configuration server to run frappe workers

check out here

Configuring the following settings in common_site_config.json in the sites folder would do I think.

 "redis_cache": "redis://localhost:13000",
 "redis_queue": "redis://localhost:11000",
 "redis_socketio": "redis://localhost:12000",