Solution Overview
Application Scenarios
This solution helps you quickly build a fully-featured, easy-to-manage, and highly available Magento-based e-commerce website on Huawei Cloud. Magento is a fully-featured, open-source, e-commerce framework with a modular architecture. This solution is good for:
- Online retailers hoping to build up their own brands and stores
- Traditional retailers with stores in many locations but who want to expand online retail channels
- Vendors running online stores that serve customers directly
Solution Architecture
You can use this solution to quickly build a highly available e-commerce website based on Magento. The following figure shows the solution architecture.

To use this solution, you need to:
- Assign three Elastic IPs (EIPs) so that the ECSs can communicate with the Internet.
- Create two Elastic Cloud Server (ECS) instances, each with an EIP bound, to improve fault recovery and availability. Install Magento on the ECSs for deploying your e-commerce platform.
- Create an Elastic Load Balance (ELB) instance and bind an EIP to it to distribute service traffic across AZs. An ELB instance is a load balancer. This increases service capabilities and fault tolerance of your e-commerce application.
- Create two RDS for MySQL instances to work as a primary/standby pair for the e-commerce platform database to enhance disaster recovery capabilities.
- Create two Distributed Cache Service (DCS) for Redis instances to work as a master/standby pair to store session data and improve the performance and scalability of your e-commerce application.
- Create a Scalable File Service (SFS) Turbo file system to provide static shared file storage services for the highly available Magento-based e-commerce website.
- Create a Cloud Search Service (CSS) Elasticsearch cluster and enable the VPC endpoint service. This allows your users to search for products by keyword and view recommended products on the e-commerce platform.
- Use Image Management Service (IMS) to create a Magento server image to quickly create other servers.
- Use Cloud Backup and Recovery (CBR) to back up Magento server data for subsequent image creation.
- Create a security group to control traffic to and from ECSs.
Advantages
This solution has the following advantages:
- Load balancing
ELB distributes incoming traffic across AZs, improving the service availability of your e-commerce website.
Constraints
- Before deploying this solution, register a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication. If you select the yearly/monthly billing mode, ensure that your account has sufficient balance. If you do not have sufficient balance, you can go to the Billing Center to manually pay for the order.
- If you want to use IAM agencies to deploy resources, ensure that your Huawei Cloud account has sufficient IAM permissions. For details, see (Optional) Creating the rf_admin_trust Agency. If you deploy this solution using a Huawei account or as an IAM user in the admin user group, you do not need to select an agency. The permissions of the login user are used for solution deployment.
- Ensure that services on all servers are running properly before releasing the EIP bound to the servers.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot