Deploy a Drupal-based CMS website on an ECS instance with a pre-configured Alibaba Cloud Marketplace image.
-
To manually deploy a Drupal website, see Manually deploy a Drupal website (Alibaba Cloud Linux 3/2, CentOS 7.x/8.x).
Procedure
Step 1: Create an ECS instance using a Drupal image
If you have an existing ECS instance without important data, you can replace the operating system with a Drupal image from Alibaba Cloud Marketplace.
Go to ECS console - custom launch.
-
On the Custom Launch page, configure the billing method, region, zone, and instance type.
-
In the Images section, select .

-
In the search box, enter
Drupal on LAMP CentOS 7.4 Lite, click Search, and select an image.NoteBy default, RedHat is selected in the search results. To select a different operating system, clear the RedHat check box.
Click the image title in the search results to view the image configuration details. Sample configuration:
-
Operating system: CentOS 7.4 64-bit
-
Apache: 2.4.6
-
MySQL: 10.3.4-MariaDB
-
PHP: 7.0.27
-
Drupal: 8.3.7
-
-
Click Select.
-
Configure remaining parameters as prompted. Note the following parameters. See Create an instance using the wizard.
-
Images: The Images section is auto-filled with your selected Alibaba Cloud Marketplace image.
-
Public IP Address: Select Assign public IPv4 address and set the bandwidth as needed.
-
-
In the security group of the ECS instance, add a rule to allow inbound traffic on TCP ports 80 and 3306.
Step 2: Install Drupal
-
Connect to the ECS instance. See Log on to a Linux instance using Workbench.
-
View the database information:
-
Database name: drupaldb
-
Database username: drupaldb
-
Database password: Hae2caev****

-
-
Install Drupal.
-
Open
http://<ECS instance public IP>in your browser. Select English as the language and click Save and continue.
-
Select Standard and click Save and continue.

-
Enter the database information from Step 2 and click Save and continue.

-
After installation completes, enter your site information and click Save and continue.
Log on to your Drupal website to customize settings.

-