Installing Drupal on Amazon EC2
Amazon EC2
Amazon EC2 allows site administrators the ability to scale easily while maintaining manageable costs. Much like any other cloud service the service is a pay as you go service. You select the instance type. They offer various sizes: micro, small, medium, large, etc. The larger the instances the more resources you're provided. It comes at a greater cost. In order to figure out costs, amazon provides a Amazon Web Services calculator to figure out a monthly cost.
Creating an account / logging in
- Create or Login to the Amazon Web Service Management Console.
- Amazon offer many different services. Select Amazon EC2.
- On the left hand side navigation, look for, "Instances" and click on it.
Configuring your instance
- Select the Linux Amazon Machine Image (AMI) of your preference.
- Once you select through the options of your preferred Linux distribution, your instance shall launch.
Installing Drupal on Windows Azure
To get 10 free Drupal sites on Windows Azure follow these easy steps.
If you do not already have a Windows Azure account sign up for a free trial here:
http://www.windowsazure.com/en-us/pricing/free-trial/
Once you have an account, open up the management console at: https://manage.windowsazure.com
- In the lower left corner click +NEW
- Select COMPUTE->WEBSITE->FROM GALLERY
- Acquia Drupal 7 should be at the top and selected, if it is not, Select CONTENTMGMT on the left then Acquia Drupal 7. click the -> arrow in the lower right.
- Enter the URL (name) of your web site. (note custom domains are available on the Shared and Reserved instances), Select a new or existing database, a region and a Subscription for your Drupal instance. Then click the -> arrow in the lower right.
If you selected a new MySQL DB, be sure that you tick the box in the lower left corner for ClearDBs terms and conditions. Otherwise, enter the appropriate database information the click the Tick mark in the lower right. - Windows Azure will now provision your database and Acquia Drupal web site. Once the dashboard shows the site is running, click the hyperlink on the right and go through the standard Drupal configuration process.
Installing Drupal on OpenShift
Openshift is the PAAS cloud provided by Redhat and can serve as a good development ground and also host drupal projects in production.
Since January 2013, the service allows Drupal 7 installation.
- Create an account on OpenShift.
- Once you have signed in create an application. You are allowed a maximum of three applications for testing. Choose Drupal from the array of applications presented to you. Alternatively you could install a PHP 5 application and then build drupal on that. It's a bit tedious though.
- Provide details for the application i.e. the name. The rest of the customisations can be carried out after the installation is complete. Let the install run to completion. It's pretty quick. When the install finishes you have Drupal 7.7 in your hands.
Cloud
Cloud (a.k.a Clanavi) is a set of modules that lets users administer public and private clouds from within Drupal. Clanavi provide users the ability to manage public clouds such as AWS EC2 clouds as well as private clouds like OpenStack and XCP.
Features
- Clanavi provides functionalites for cloud management, such as:
- starting/stopping instances
- managing volumes and snapshot
- firewall management with security groups
- SSH Key management
- Clanavi features a pluggable architecture and can be extended to support other
public/private clouds. - Clanavi provides hooks for external modules to interact with instances when they
are stopped and started. See cloud.api.php for more details.
The following documentation pages describes Clanavi in more detail and walk users through installation and usage of Clanavi to manage Amazon EC2.
Drupal on Rackspace Cloud Sites
This document provides information about how to install and work with Drupal on the Rackspace Cloud Sites product. It covers setup, installation, and caching.
Create Cloud Site
- Log in to Rackspace Cloud Management Panel.
- Click Hosting.
- Select Cloud Sites.
- Select Add A Site.
You may refer to the official Rackspace document for additional information.
Create CloudSite Database
- Select the Features tab.
- Click Add.
- Enter the database name.
- Enter the database user name.
- Enter the database password.
- Select Finish.
The database will be created and may take a few moments for it to appear ready. Make sure you take note of the database user name, password, and hostname for the installation.
Configure .htaccess File
Before uploading your Drupal installation, it is good to prepare your .htaccess file. This will make your installation go smoothly. In your .htaccess file, scroll down to the PHP override section. It will look similar to what you see below.
Recommended settings are:
# PHP 5, Apache 1 and 2.
Quick hosted sites (SaaS platforms)
Drupal made easy. Cloud services for non-technical end users, with a web interface to quickly create hosted Drupal sites (also known as SaaS publishing platforms).
General platforms:
- Buzzr - From Lullabot and others; see videos.
- Drupal Gardens - From Acquia, offering free and paid subscription plans; see videos.
- Pagebuild - See the Drupal case study, and videos.
Specialized platforms:
- ProsePoint Express - Hosted version of ProsePoint, for newspapers and magazines; see the Drupal showcase, and demo.