NeCTAR have packaged Drupal into the Application Catalogue so you can create your own instance of Drupal running in the NeCTAR cloud.


To create the application, click the Applications tab, then the Applications sub-tab. If you don't immediately see Drupal, just type it into the search field on the right. Once you've found it, click Quick Deploy.



Click the LAMP server - Add Application button to configure the Drupal LAMP server.



If you want to enable HTTPS, please see the Enable HTTPS article. If you want to add Backups, please see the Duply Backups article. Click Next to continue.



Choose your desired Instance flavor, Instance image, Key Pair and the Availability Zone. Click Next to continue.



The last step allows you to provide a name for the LAMP base application. You can keep the default, LAMPBase, or supply your own. Click Create to continue.



Your LAMP server will now be available in the Drupal configuration. Click Next to continue.



Provide the required database configuration settings for Drupal:

  • MySql root password is used for root user access to the MySql server. Avoiding weak passwords is important for the protection of your data.
  • Database name is the name of the database to create for Drupal data. The default database name is drupal7.
  • Username and Password used by Drupal to connect to the Drupal database. The default username is drupal7. This password is also the initial admin user password for Drupal. 

Click Next to continue.



The last step allows you to provide a name. You can keep the default, Drupal, or supply your own. Click Create to continue.



You will then be taken to the Application Environments screen. You'll want to click the Deploy This Environment button to kick off the deployment.



The application is now being deployed. This should take around 5 minutes.



Drupal is now deployed and ready. You should see the Last Operation message appear with the address of your Drupal instance. You can click this link to get started.



You will reach the Welcome to Drupal page. You can login as the Drupal admin user with the Password you provided earlier.



Drupal is now available!



Using Fail2ban


The fail2ban service is configured to monitor access to the Drupal login page. Too many access attempts will result in the temporary banning of an offending IP address.


You can use the fail2ban-client command on your instance to manage the fail2ban service.


To check the Drupal fail2ban status:


$ sudo fail2ban-client status drupal-murano
Status for the jail: drupal-murano
|- Filter
|  |- Currently failed: 0
|  |- Total failed:     5
|  `- Journal matches:
`- Actions
   |- Currently banned: 1
   |- Total banned:     1
   `- Banned IP list:   10.10.10.100


To un-ban Drupal access for the IP address (10.10.10.100 in this example):


$ sudo fail2ban-client set drupal-murano unbanip 10.10.10.100
$ sudo fail2ban-client status drupal-murano
Status for the jail: drupal-murano
|- Filter
|  |- Currently failed: 0
|  |- Total failed:     5
|  `- Journal matches:
`- Actions
   |- Currently banned: 0
   |- Total banned:     1
   `- Banned IP list: