![]() Please note that this installation is a PoC intended for study, tests and prototyping only, do not use it for a live/production site. The same services are available from other vendors like Google Cloud Platform or Microsoft Azure, achieving similar results. This guide is step by step to install Drupal in the cloud using AWS services. Please check the AWS EC2 pricing policies before creating any instances. Once you complete the web-based installation, you will have a working Drupal Website.IMPORTANT: The services used in this tutorial are paid. Give the database username and password that you have created during the database setup process. Now, access the install page in the browser using the public IP of your instance and continue as normal Drupal installation. Set permissions of user and group sudo chown -R www-data:www-data /var/www/html Install and Setup Drupal Untar the files sudo tar -zxvf drupal-8.0.5.tar.gzĬd into the extracted drupal directory and copy all the files to /var/www/html using the following command. Restart apache sudo service apache2 restart Download Drupal Files Note: Replace with your domain name and with your email address. Open /etc/apache2/sites-enabled/nf and change parameters as shown below. expose_php = OffĮnable apache rewrite functionality sudo a2enmod rewrite Open /etc/php5/apache2/php.ini, search and set the following parmeters to off. exit Install php modules sudo apt-get update sudo apt-get install php5-gd php5-curl libssh2-php GRANT ALL PRIVILEGES ON drupaldb.* TO drupaluser FLUSH PRIVILEGES Įxit database. CREATE USER drupaluser IDENTIFIED BY 'password' Create Database and UserĬreate database CREATE DATABASE drupaldb Ĭreate a drupal user. Now you will be able to access PHPMyAdmin over the browser by appending phpmyadmin to the ip as shown below. Restart apache2 sudo service apache2 restart Open /etc/apache2/nf and add the following at the end of the line. Verify MySQL server status sudo service mysql status Install PHPMyAdmin sudo apt-get install phpmyadmin You should get a default apache page on your browser.Ĥ. Verify the Apache installation by visiting the public IP of your instance. How to connect EC2 instance using putty Install LAMP Stackġ. You can follow this tutorial to connect to the instance using putty. If you are setting up SSL in future, you might need to add 443 as well. In our case, we would require port 80 and 22. How to Spin Up an Ec2 Instance Add Relevant Security GroupsĪdd the relevant port in the ec2 instance security group. Follow this tutorial if you haven’t done that before. Spinning up an EC2 instance is really easy. To setup Drupal on an EC2 instance, you need the following on the server.įollow the guides given below to set up a working Drupal installation. If you need help in deploying Drupal in HA mode, you can mail us at Install and Setup Drupal on Amazon EC2 For high traffic websites, it is advised to have a High Availability architecture with autoscaling and dedicated database instances. This is a standalone installation with Drupal and database in a single server. In this guide, I will explain how to install and setup Drupal on amazon ec2 ubuntu 14.04 server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |