langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
36.1k stars 4.88k forks source link

Provision Dify on Cloud automatically? #5795

Open nikawang opened 2 days ago

nikawang commented 2 days ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Currently, the official dify only supports one-click rapid deployment using docker-compose. However, if we wish to have a self-hosted dify service that is more stable and reliable on cloud platforms, services like PostgreSQL and Redis can utilize PaaS offerings from cloud services, while other dify-related application components can be run on the cloud platform's container services. Leveraging the capabilities of cloud platforms allows for on-demand usage, improving resource utilization, reducing costs, and ensuring the stability and high availability of the platform.

2. Additional context or comments

I have now completed the integration with Azure using Terraform. Here's the setup:

Front-end access:

Back-end components:

Should we consider merging this code into the dify community repository? Please check dify-azure-tf-files

3. Can you help us with this feature?

crazywoola commented 2 days ago

Hello there, thanks for interesting in contributing to this feature. You can add my WeChat crazyphage if you are willing to talk to our dev team.