Cloud Native 3 min read

Deploy a High‑Availability PHP Site on UCloud Cube in Minutes

This tutorial walks you through transforming a traditional LNMP stack into a containerized, load‑balanced, and highly available PHP website on UCloud Cube, covering environment refactoring, configuration and storage separation, ULB setup, and instance cloning.

UCloud Tech
UCloud Tech
UCloud Tech
Deploy a High‑Availability PHP Site on UCloud Cube in Minutes

In the previous video, instructor Shen introduced UCloud Cube. This tutorial shows how to run a PHP website on Cube by applying practical steps.

Key Points

Transform the original LNMP environment : Split NGINX and PHP into two containers within a container group.

Configuration separation : Containers in the same group can call each other locally, allowing NGINX config to be used directly.

Storage separation : Containers are stateless; PHP code is placed on shared file storage (UFS).

Load balancing with ULB : Create a request‑proxy ULB, add a VServer, select Cube category and port 80, then attach the Cube instance.

Clone multiple instances : Use Cube’s clone feature to quickly create additional instances and add them to the load balancer, achieving a highly available PHP site.

For the complete documentation, visit https://docs.ucloud.cn/cube/quickstar/php .

cloud nativehigh availabilityload balancingContainerPHP deploymentUCloud Cube
UCloud Tech
Written by

UCloud Tech

UCloud is a leading neutral cloud provider in China, developing its own IaaS, PaaS, AI service platform, and big data exchange platform, and delivering comprehensive industry solutions for public, private, hybrid, and dedicated clouds.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.