AWS Documentation

⌘K
  1. Home
  2. Docs
  3. AWS Documentation
  4. AWS Drupal10 AMI on Amazon Linux 2

AWS Drupal10 AMI on Amazon Linux 2

  • Apache 2.4
  • PHP 8.1
  • MariaDB 10.5
  • phpMyAdmin 5.2
  • Drupal 10

Web Server

We prepared SSL/TLS so you can access to top page using http:// or https://.

Drupal10 Installation

Once the instance is running, please access your Drupal10 hosting domain or enter the public DNS provided by AWS (IPv4 Public IP) into your browser.

https:///

Step 1: Choose language

You will see the Drupal10 application. Chose your language settings.

Step 2: Select an Installation profile

Usually to select Standard

Step 3: Database Configuration

Find database password

You can find the database server password by accessing the System Log in the EC2 management console:

  1. Go to the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
  2. Chose your Instance and Click on Actions → Monitor and troubleshoot → Get System Log.
  1. Get System log as shown below.

You can also SSH into your instance and find the login credential using the following command.

$ cat /home/ec2-user/credentials 
////////////////////credentials info////////////////////
--- drupal
----- Setting  : Success
--- phpMyAdmin
----- Setting  : Success
--- MariaDB
----- User     : root
----- Password : xq6npkp2WnyYqywf
----- User     : drupal
----- DB name  : drupal
----- Password : dnzehWu8iwGp6ukr
////////////////////////////////////////////////////////

Step 4: Configure site

Click Save and continue

phpMyAdmin

You can access phpMyAdmin after creating ssh tunnel.

ex.) create ssh tunnel

$ ssh ec2-user@{ipaddress} -i {ssh-key-file.pem} -N -L 8080:localhost:80

http://localhost:8080/phpMyAdmin

For phpMyAdmin please refer to phpMyAdmin User Guide

Reference

Tags , , ,

How can we help?