High-availability architecture on the cloud
Continuous service availability is fundamental to business success and customer satisfaction. Deploying applications with a high-availability architecture is critical for business stability and growth. This solution introduces a classic high-availability architecture to provide resilience and eliminate single points of failure, addressing a core need for cloud adoption.
Intended customers
Businesses that need to handle high-concurrency requests
Organizations that require quick, elastic scaling and flexible management
Enterprises that demand high service continuity and data integrity
Solution advantages
Business stability challenges
In the early stage of business development, a single-node deployment is a common architecture that meets basic needs. This setup typically consists of one server and a single-node database. However, this simple architecture presents several risks:
Reliability and stability
Lacking redundancy and failover, a single-node architecture has a single point of failure.
Performance and elasticity
The application's capacity is limited by a single node, creating a bottleneck; scaling up can be expensive, slow, and disruptive.
Operations and management
Maintenance causes downtime, and separate public entry points complicate centralized security.
Why use our high-availability architecture?
A high-availability architecture deploys services across multiple servers and databases. A load balancer distributes traffic to multiple backend servers, preventing a single point of failure from causing a global outage.
Self-built high-availability architecture
Alibaba Cloud high-availability architecture
Requires large upfront hardware and infrastructure investment
Off-site disaster recovery is expensive and not elastic. Performance and reliability are hardware-limited. Architecting or upgrading is difficult, and maintenance is costly.
Cost
Supports Auto Scaling and on-demand scaling
Auto scaling improves security, performance, and management based on changes in business usage without manual intervention.
Complex software technology solutions and high maintenance costs
Professional development, testing, and O&M teams are required to keep the architecture updated and iterated.
O&M
Supports cross-zone disaster recovery and automatic product updates
Offers automatic fault recovery (no manual intervention), comprehensive monitoring and management tools, and 24/7 online expert support.
Low reliability
A single node limits capacity (creating a bottleneck), and if it fails the whole system becomes unavailable.
Stability
High stability
Multi-Availability Zone (AZ) ECS deployments offer 99.995% availability, while the high-availability edition of ApsaraDB RDS for MySQL provides 99.95%.
Architecture and deployment
High-availability architecture on the cloud
2785364
When a user accesses an application, DNS resolves the access request to the service address of SLB SLB (ALB in this example). The SLB serves as a unified portal for applications and distributes requests to ECS instances in the backend server group based on the health check of ECS instances and load policies. When an ECS instance is down or faulty, the SLB detects that it is unavailable and forwards traffic to another ECS instance that is in the available state. This ensures that the service can be accessed and achieves high service availability.
35 minutes
CNY 20 (Assume that the cloud resources that you select are of the same specifications as the recommended specifications, pay-as-you-go billing method, activate CDT to obtain Internet traffic free quota, and the traffic generated during the solution is less than 20GB. And the experience duration does not exceed 24 hours. Domain name, certificate, and ICP filing fees are not included. Actual fees may vary depending on specifications and versions. The fees displayed on the console shall prevail.)
ApsaraDB ApsaraDB RDS for MySQL Elastic Compute Service SLB
Use cases
Use cases

Enterprise Critical Applications
Systems such as Enterprise Resource Planning (ERP), Customer Relationship Management (CRM), and Business Intelligence (BI) are essential to business operations and require high availability.

E-commerce platforms
E-commerce platforms must operate 24/7 to process user orders, payments, and queries. High availability is crucial to their success.
Recommended solution