Tags

, , , , ,

AquiaAcquia 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).

Register on Acquia

Register on Acquia

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.

2. Login to the Acquia site and navigate to the site setup page ( https://insight.acquia.com/free ) and enter the site information as below:

a. Enter the site information as below:

Information of the site

Information of the site

b. Processing the request:

Processing the request

Processing the request

c. Wait till the request is processed:

Processing request

Processing request

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”‘):

cat [FILENAME].pub

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:

Getting started

Getting started

b. Navigate to add SSH key:

Navigate to add SSH key

Navigate to add SSH key

c. Click “Add SSH key” button:

Add SSH key

Add SSH key

d. Add SSH key generate in Step 3:

Enter SSH key

Enter SSH key

Enter SSH key

Enter SSH key

e. Git repository details:

Git repository details

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:

Select option to install Drupal

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):

Select the Drupal distribution

Select the Drupal distribution

c. Start the setup:

Start installation

Start installation

d. Process setup:

Process installation

Process installation

e. Finish the setup process:

Finish installation

Finish installation

6. Install Drupal:

a. Development site link:

Development site link

Development site link

b. Start Drupal installation on setup done in above step:

Start installation

Start installation

c. Configure the site details:

Configure site

Configure site

d. Complete the installation:

Finish installation

Finish 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:

Git repository setup

Git repository setup

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.

Advertisements