Quickly deploy Dify to build AI applications
Dify lets you build AI applications quickly without coding. However, local private deployments often have high maintenance costs and low reliability. This solution shows you how to build a cloud-native, high-availability architecture on Alibaba Cloud to deploy Dify.
Intended customers
Startups or developer teams that want to accelerate AI product development
Small and medium-sized enterprises that need to build AI applications with a low-code solution
Large enterprises that need to flexibly scale their AI platform to meet changing business needs
Solution overview
Diverse solutions to choose from
For test environment
Easy
10
Based on ACK
Intended customers
AI application developers and testers with some O&M experience
Benefits
A single-instance version that costs only 30% of the multi-zone deployment solution.
Provides deep control over Kubernetes clusters for high flexibility.
For production environment
Medium difficulty
9
Based on ACK
Intended customers
Users who need to deploy AI applications to a production environment and have some O&M experience
Benefits
Multi-zone deployment ensures continuous business operations.
Provides deep control over Kubernetes clusters for high flexibility.
Solution advantages
Benefits
![]()
High performance
Flexibly allocate resources to handle traffic peaks.
![]()
High availability
Multi-zone deployment enables smart failover and load balancing.
![]()
Cost optimization
Flexible billing modes and auto scaling.
![]()
Security
Easily integrate Anti-DDoS, Web Application Firewall, and Security Center.
Deploy Dify
Quickly deploy Dify
For test environment
2870155
This solution uses the ack-dify template from the marketplace of Alibaba Cloud Container Service for Kubernetes (ACK). It uses Helm to deploy a single-instance version of Dify quickly, which is suitable for AI application development and testing.
25 minutes
$0.6/hour(The cost is an estimate and assumes you use the same cloud resources and specifications as the example in this solution. Your actual cost may vary based on the resource count, specifications, version, and configuration. The price displayed on the console is the final cost.)

Container Service for KubernetesElastic Compute ServiceAlibaba Cloud Model StudioApsara File Storage NASNAT GatewayServer Load Balancer
For production environment
2871859
This solution uses Alibaba Cloud Container Service for Kubernetes (ACK) to deploy Dify across multiple zones, which ensures continuous business operations. The solution uses the High-availability Edition of Tair (Redis OSS-compatible), ApsaraDB RDS for PostgreSQL, and Tablestore to replace the default components. This improves system performance and stability.
50 minutes
$2/hour(The cost is an estimate and assumes you use the same cloud resources and specifications as the example in this solution. Your actual cost may vary based on the resource count, specifications, version, and configuration. The price displayed on the console is the final cost.)
Container Service for KubernetesTablestoreTair (Redis OSS-compatible)Elastic Compute ServiceAlibaba Cloud Model StudioApsara File Storage NASNAT GatewayServer Load Balancer
Build AI applications
Efficiently build AI applications
Build an AI chat application
2876504
This solution shows you how to build an AI chat application quickly using Dify. The application supports mainstream open source and proprietary large language models. It provides efficient and accurate question and answer (Q&A) pairs to meet general knowledge query needs.
10 minutes
$0.6/hour (test environment deployment); $2/hour (production environment deployment)(The cost is an estimate and assumes you use the same cloud resources and specifications as the example in this solution. Your actual cost may vary based on the resource count, specifications, version, and configuration. The price displayed on the console is the final cost.)

Container Service for KubernetesElastic Compute ServiceServer Load BalancerAlibaba Cloud Model StudioApsara File Storage NAS
Build a RAG-driven AI chat application
2876505
This solution shows you how to build a retrieval-augmented generation (RAG) driven AI chat application quickly using Dify. By integrating a local knowledge base with the generation capabilities of a large language model, it provides in-depth Q&A pairs for private domains, reduces hallucinations, and improves information timeliness.
10 minutes
$0.6/hour (test environment deployment); $2/hour (production environment deployment)(The cost is an estimate and assumes you use the same cloud resources and specifications as the example in this solution. Your actual cost may vary based on the resource count, specifications, version, and configuration. The price displayed on the console is the final cost.)

Container Service for KubernetesElastic Compute ServiceServer Load BalancerAlibaba Cloud Model StudioApsara File Storage NAS
Application scenarios
Use cases

Teaching assistant
Provides personalized teaching assistance for education companies.

Investment assistant
Provides real-time investment advice, product recommendations, and market updates.

Customer service
An intelligent customer service system that automatically handles user inquiries, order queries, and after-sales service.
More recommendations