Drupal is a popular open-source content management system (CMS) that is used by businesses, governments, and organizations around the world to build and manage websites. It is known for its flexibility, scalability, and security features.

On 14th December, Drupal launched the latest upgrade to its popular software.

In this article, we will guide you through the process of deploying Drupal 10 on Oracle Cloud Infrastructure (OCI) using MySQL HeatWave Database Service. We will use Oracle Rescource Manager Stack (Terraform) to automate the process of creating and provisioning the necessary OCI resources, including a compute instance for the web server, a MySQL database and a public IP address.

By following this tutorial, you will learn how to easily and quickly set up a Drupal 10 website on OCI, taking advantage of the scalability and reliability of Oracle Cloud Infrastructure.

The first think to do it to click on the following button that will access the OCI console, and once connected, will automatically redirect you to Resource Manager and load the stack:

Deploy to Oracle Cloud

The source of the stack is available on GitHub.

Create stack

Once we review and accept the Oracle Terms of Use, the modules are loaded:

Stack Information

Then, we need to set the variables, like the passwords, name of the user, name of the instances… these are already pre-filled:

Stack Creation - Required Variables

We also need to choose the shapes for the compute instance that is acting as web server and the MySQL HeatWave Instance:

Stack Creation - Shapes Selection

Pay attention that the MySQL Shape needs to be entered manually. You can get the list of the Shapes supported in your tenancy by creating manually an instance and browsing the shapes:

Browse all MySQL Shapes

When ready, click next, check the apply box and create. The Stack Apply job will start…

As soon as it’s finished, you will get a succeeded or failed status. It could fail if you have selected an wrong shape for example.

Resource Manager Stack Job Details

In the Outputs section on the left, you will find the public IP to use to reach the Drupal instance and finish the installation:

Resource Manager Stack Job Details - Outputs

Copy the public IP (the value behind the red rectangle on the screenshot) and paste it in your browser:

Drupal 10 Installation - Step 1

Then you just need to follow the steps on the wizard:

Drupal 10 Installation - Step 2 : profile

For Step 4, you need to use the information you entered as Required Variables for the Stack (the schema name) and the Stack Job Outputs:

Drupal 10 Installation - Database Information

And finally, you can proceed with the rest of the installation process:

Drupal 10 Installation - Installation Process

As I selected the Demo profile, I can directly see the new Drupal with its content when the installation is finished:

Drupal 10 - The Web Site

As you can see it was very easy and straightforward to install Drupal 10 on OCI using MySQL HeatWave Database Service.

It’s time to welcome Drupal 10 and deploy your new website on OCI !