All Products
Search
Document Center

Elastic Compute Service:Deploy a Drupal website with an Alibaba Cloud Marketplace image

Last Updated:Aug 20, 2026

Deploy a Drupal-based CMS website on an ECS instance with a pre-configured Alibaba Cloud Marketplace image.

Procedure

Step 1: Create an ECS instance using a Drupal image

Note

If you have an existing ECS instance without important data, you can replace the operating system with a Drupal image from Alibaba Cloud Marketplace.

  1. Go to ECS console - custom launch.

  2. On the Custom Launch page, configure the billing method, region, zone, and instance type.

  3. In the Images section, select Marketplace Images > Get more options from Alibaba Cloud Marketplace (including operating systems).

  4. In the search box, enter Drupal on LAMP CentOS 7.4 Lite, click Search, and select an image.

    Note

    By 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

    See Drupal on LAMP CentOS 7.4 Lite image product page.

  5. Click Select.

  6. 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.

  7. 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

  1. Connect to the ECS instance. See Log on to a Linux instance using Workbench.

  2. View the database information:

    • Database name: drupaldb

    • Database username: drupaldb

    • Database password: Hae2caev****

    [t@iZbp1izzbu ~]# cat /root/drupaldb.pwd
    drupaldb database user:drupaldb  password:Hae2caev  db name: drupaldb
  3. Install Drupal.

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

    2. Select Standard and click Save and continue.

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

      On the database configuration page, select MySQL, MariaDB, Percona Server, or equivalent as Database type, enter the database name (such as drupaldb) in Database name, enter the database username in Database username, and enter the database password in Database password.

    4. After installation completes, enter your site information and click Save and continue.

      Log on to your Drupal website to customize settings.

      After successful installation, a green message Congratulations, you installed Drupal! appears at the top of the page, indicating that Drupal is installed. The main content area shows Welcome to Drupal, and the top administration toolbar includes Content, Structure, Appearance, Extend, Configuration, People, Reports, and Help menu items for further customization.