Drupal

Posted on  by  admin

Drupal is a free, open-source content management system (CMS) with a large, supportive community. It’s used by millions of people and organizations around the globe to build and maintain their websites. You probably use Drupal every day without knowing it, as many top businesses and government organizations use Drupal, like the Government of Australia, Red Cross, Harvard, The Economist, BBC. Drupal (/ ˈ d r uː p əl /) is a free and open-source web content management framework (CMF) written in PHP and distributed under the GNU General Public License. Drupal provides a back-end framework for at least 12% of the top 10,000 websites worldwide – ranging from personal blogs to corporate, political, and government sites.

Getting Started Resource Center / 10-Minute Tutorials / ...

Amazon Lightsail is the easiest way to get started on AWS. It offers virtual servers, storage, databases and networking, plus a cost-effective, monthly plan.

This tutorial shows you how to launch and configure a Drupal instance on Lightsail. It includes steps to connect to your instance by using SSH, sign in to your Drupal website, create a static IP, attach it to your instance, create a DNS zone, and map your domain to your instance.

About this Tutorial
Time30 minutes
CostFree Tier Eligible
Use CaseCompute
ProductsAmazon Lightsail
AudienceDeveloper
LevelBeginner
Last UpdatedSeptember 11, 2020

This tutorial is free tier eligible.

Once you created an Amazon Lightsail account, sign into the Amazon Lightsail console.

Already have an account? Sign-in

Note: For more information about creating an instance in Lightsail, see Creating an Amazon Lightsail instance in the Amazon Lightsail documentation.

a. Choose Create instance in the Instances tab of the Lightsail home page.

b. Choose the AWS Region and Availability Zone for your instance.

c. Choose your instance image.

  • Choose Linux as the platform.
  • Choose Drupal as the blueprint.

d. Choose an instance plan.

A plan includes a low, predictable cost, machine configuration (RAM, SSD, vCPU), and data transfer allowance. You can try the $3.50 USD Lightsail plan without charge for one month (up to 750 hours). AWS credits one free month to your account.

e. Enter a name for your instance.

  • Must be unique within each AWS Region in your Lightsail account.
  • Must contain 2 to 255 characters.
  • Must start and end with an alphanumeric character or number.
  • Can include alphanumeric characters, numbers, periods, dashes, and underscores.

3. Connect to your instance via SSH and get the password for your Drupal website

The default password to sign in to your Drupal website is stored on the instance.

Complete the following steps to connect to your instance using the browser-based SSH client in the Lightsail console, and get the password to sign in to your Drupal website.

For more information, Getting the application user name and password for your 'Certified by Bitnami' instance in Amazon Lightsail.

a. On the Instances tab of the Lightsail home page, choose the SSH quick-connect icon for your Drupal instance.

b. After the browser-based SSH client window opens, enter the following command to retrieve the default application password:

Drupalcon

c. Make note of the password displayed on the screen. You use it later to sign in to the administration dashboard of your Dupral website.

Within minutes, your Drupal instance is ready, and you can connect to it using the browser-based SSH client in the Lightsail console.

Now that you have the password for your Drupal website, you can sign in. In the administration dashboard, you can change your user password, install plugins, change the theme of your website, and more.

Complete the following steps to sign in to the administration dashboard of your Drupal website.

Note: For more information, Getting the application user name and password for your 'Certified by Bitnami' instance in Amazon Lightsail.

In the address, replace PublicIpAddress with the public IP address of your Drupal instance. You can get your instance's public IP address from the Lightsail console as shown in the following image:

b. Log into your site.

  • In the Username box, enter user.
  • In the Password box, enter the default password obtained earlier in this tutorial.
  • Choose Log in.

You are now signed in to your Drupal website where you can perform administrative actions. For more information about administering your Drupal website, see the Drupal User Guide in the Drupal documentation.

5. Create a Lightsail static IP address and attach it to your Drupal instance

The default public IP for your Drupal instance changes if you stop and start your instance. A static IP address, attached to an instance, stays the same even if you stop and start your instance.

Complete the following steps to create a static IP address and attach it to your Drupal instance.

Note: For more information, see Create a static IP and attach it to an instance in Amazon Lightsail.

a. On the Instances tab of the Lightsail home page, choose your running Drupal instance.

b. Choose the Networking tab, the choose Create static IP.

c. The static IP location, and attached instance are pre-selected based on the instance that you chose earlier in this tutorial.

6. Create a Lightsail DNS zone and map a domain to your Drupal instance

Transfer management of your domain's DNS records to Lightsail. This allows you to more easily map a domain to your Drupal instance, and manage more of your website’s resources using the Lightsail console.

Complete the following steps to create a Lightsail DNS zone and map a domain to your Drupal instance.

Note: For more information, see Creating a DNS zone to manage your domain’s DNS records in Amazon Lightsail.

a. On the Networking tab of the Lightsail home page, choose Create DNS zone.
Drupal
c. Make note of the name server address listed on the page.
You add these name server addresses to your domain name’s registrar to transfer management of your domain’s DNS records to Lightsail.
d. After management of your domain’s DNS records are transferred to Lightsail, add an A record to point the apex of your domain to your Drupal instance, as follows:
You add these name server addresses to your domain name’s registrar to transfer management of your domain’s DNS records to Lightsail.
  • In the DNS zone for your domain, choose Add record.
  • In the Subdomain box, enter an @ symbol to map the apex of your domain (such as example.com) to your instance. The @ symbol explicitly symbolizes that you’re adding an apex record. It is not added as a subdomain.
  • In the Maps to box, choose the static IP that you attached to the Drupal instance in the previous step of this tutorial.
  • Choose the save icon.
  • Allow time for the change to propagate through the internet's DNS before your domain begins routing traffic to your Drupal instance.

You have used Amazon Lightsail to launch and deploy a Drupal instance.

Amazon Lightsail is a great choice to develop, build, and deploy a variety of applications like Drupal, websites, and other blog platforms.

Was this tutorial helpful?

Please let us know what you liked.
Close
Is something out-of-date, confusing or inaccurate? Please help us improve this tutorial by providing feedback.
Close

Recommended next steps

Learn more

Create a snapshot

Drupal Download

Attach a disk

Coments are closed

Recent News

  • INet Network Scanner
  • Business Bingo 90
  • Daily 2
  • BitNami Subversion Stack

Scroll to top