The AppXen Drupal Stack provides a single-click install solution for Drupal, containerized on EC2 for portability. Drupal is one of the most versatile open source content management systems available, with over a thousand developers contributing to the code. Drupal is built for high performance and is horizontally scalable, has easy integration via REST, JSON, SOAP and other formats, and features a whopping 15,000 plugins to extend and customize the application for just about any type of website.
When launching your instance, provide the following security group rules:
- TCP, 22, 22, YOUR-IP-ADDRESS*
- TCP, 80, 80, 0.0.0.0/0
- TCP, 443, 443, 0.0.0.0/0
* Always lock-down the SSH port to a single IP address. Opening your SSH port to the world i.e. `0.0.0.0/0` is a security risk and can compromise your instance.
When your instance is up and running, retrieve the EC2 provided DNS and visit it in your web browser. You will see the Drupal setup screen. Click save and continue, when you arrive at the database configuration, set the following values:
- Database type: PostgreSQL
- Database name: postgres
- Database password: [ Auto-generated on first boot ] *see below for instructions
- ADVANCED OPTIONS
- Host: postgres
- Port number: 5432
- Table name prefix: [ You can leave this blank ]
Important Note: There is a known issue with Drupal when installing on long domain names on Chrome (and Chrome-based browsers like Microsoft Edge or Brave). Therefore, when installing via your EC2 provided DNS you will need to use Firefox or Safari, or visit the website via the EC2 provide IP address instead of the DNS.
CREDENTIALS AND PASSWORDS
All AppXen instances auto-generate passwords upon first boot. You can locate the credentials:
- Within the EC2 console, view the instances startup log, you will find the docker-compose file that contains the generated passwords exported out to the log, from which you can copy/paste to login to web administration applications.
- Connect to your instance via SSH and view the ~/docker-compose.yml file.