Acquia Cloud is a Drupal development sandbox with an epic suite of powerful tools, it provides us our own Development and Staging environment and that too with a Drag-and-Drop feature to deploy code and content. Acquia cloud in its free plan provides the 500 MB space for the code storage, 500 MB for files storage and another 500 MB for database, and if we require more space than we can upgrade the plan that along with the space provides other cool features like adding custom domain and other customization too. so as we have discussed about its features now lets start with the process of setting up the site on Acquia cloud:
1. First we need to have the user account on Acquia, if you already have account on Acquia then please proceed to the step 2 directly, else to create an account fill up the details here: https://accounts.acquia.com/user?site=insight#action=user-register (as below).
Note: If you are creating new account than remember to verify the account by clicking the verification link you get on creating a new account on the entered email address.
a. Enter the site information as below:
b. Processing the request:
c. Wait till the request is processed:
3. Generate the SSH key on your machine to get the access to the cloud repository:
a. Open a shell or command-line instance on your computer. (If you are working on windows machine than follow this: https://docs.acquia.com/cloud/ssh/enable/key-windows and proceed to step 4 instead).
b. Ensure that you don’t already have a public key saved to your computer. To do this, run the following command:
cd ~/.ssh ls -l
If the directory and key file exists, run the following commands to back up the key id_rsa, as this procedure overwrites your current key if it is named id_rsa:
mkdir key_backup mv id_rsa* key_backup
c. Generate a new public/private key pair using the keygen command:
ssh-keygen -b 4096
The keygen command prompts you for the directory to contain the key:
Generating public/private rsa key pair. Enter file in which to save the key (/Users/<em>[user_dir]</em>/.ssh/id_rsa): Press Enter to accept the default location of /.ssh/id_rsa in your user directory: Enter passphrase (empty for no passphrase): <em>[PASSPHRASE]</em> Enter same passphrase again: <em>[PASSPHRASE]</em>
Substitute [PASSPHRASE] with your own text. This is for encrypting the private key on your computer. It’s possible to use a blank [PASSPHRASE], but if you do this, another user can impersonate you with a copy of the key file.
Note: Be sure to keep track of the [PASSPHRASE] since you will need to enter it when using the key.
The keygen command displays the following output:
Generating public/private rsa key pair. Your identification has been saved in /Users/[user_dir]/.ssh/id_rsa. Your public key has been saved in /Users/[user_dir]/.ssh/id_rsa.pub. The key fingerprint is: 52:96:e9:c8:06:c2:57:26:6d:ef:2f:0c:d9:81:f4:1c username@hostname
To view the generated SSH key, type the following command (if you havn’t provided filename than default would be “id_rsa”‘):
Note: If you are working on windows machine than please follow this (instead of the above mentioned steps) method: https://docs.acquia.com/cloud/ssh/enable/key-windows
4. Add the SSH key for accessing code through GIT:
a. Getting started:
b. Navigate to add SSH key:
c. Click “Add SSH key” button:
d. Add SSH key generate in Step 3:
e. Git repository details:
5. Add Drupal setup in environment created above:
a. Navigate to this URL: https://insight.acquia.com/cloud , and than select option to install Drupal:
b. Select the needed Drupal distribution (its not necessary to select Drupal core, you may select any distribution as per requirement):
c. Start the setup:
d. Process setup:
e. Finish the setup process:
6. Install Drupal:
a. Development site link:
b. Start Drupal installation on setup done in above step:
c. Configure the site details:
d. Complete the installation:
7. Clone the GIT repository on our machine and start committing changes:
Navigate to Acquia page: https://insight.acquia.com/cloud , and click on the “Git URL” dropdown as below:
NOTE: If you want to access the code through FTP (filezilla) than please follow the process as mentioned here: https://docs.acquia.com/cloud/manage/code/sftp
If you are having any suggestion/advice for me than please leave the comment below, it would be a pleasure for me to hear from you.