How to switch vector database and Redis component in Dify?

I’d like to ask, when deploying Dify locally, Dify automatically installs Redis and Weaviate by default. These two components are likely single-instance, aren’t they? This poses a significant risk in a production environment. If I want to switch Redis and the vector database to existing cluster versions, what adjustments do I need to make?

Could someone knowledgeable please advise, thanks!!!