How To Install Joomla On AWS

What Is Joomla?


Joomla is an open source platform on which Web sites and applications can be created. It is a content management system (CMS) like WordPress which connects your site to a MySQLi, MySQL, or PostgreSQL databases in order to make content management.


If you would like to Setup LEMP Stack (Linux , Nginx , MySQL & PHP) on Ubuntu , Refer this Article


It will also guides you to setup WordPress website powered by Nginx HTTP Server.


In this article We will see how to setup LAMP stack on AWS.


Setting UP Joomla


Amazon offers a one click software deployment features along with the Operating system.We can launch an EC2 Instance which comes up with a tools such as WordPress , Nginx , Drupal , GitLab etc.


In this tutorial , We are going to deploy Joomla , Which is the combination of App and OS using the Lightsail service.


Lets understand the basics of lightsail before deploying the LAMP Stack on it.


What Is Lightsail?


If you dont have much experience with Amazon WEb Services such as VPC , EC2 Instances , Load Balancers , Amazon Lightsail is the best and easy way to start.



It provides a quick and easy way to deploy and mange instances along with applications such as WordPress , LAMP stack , Drupal and much more.


This features is mainly for developers who want to setup a test project to run applications without having much knowledge on managing aws services and also to avoid spending time on installing software or frameworks.


Deploying Joomla


To setup Joomla , Login to Lightsail Console


You should see the following page.



Click Create instance,


Choosing Instance Location


We have to choose the Instance location , For example , I chose Mumbai



Also You should choose the Availability Zone.



Choosing Instance Image


Now We have to choose the Operating system , From these two Platforms: Linux and Windows.


If you select Linux/Unix , and If you choose OS only ,You have the option to select one of the following operating systems.



In this tutorial , As we are Deploying Joomla as a One click software deployment , We choose Apps + OS and then select Joomla



And Optionally You can add the shell scripts which will run while the instance boots up.


Under SSH Key pair manager , You can use exiting key pair Or you can create one If you want.


To create a New key pair for this instance , Click Create New


And Click Create ,



Type the name for the Key Pair and Download the .pem file.




Choosing Instance Plan


You can choose the Instance plan such as RAM , CPU and HardDisk based on your requirement.



Provide a name for the Instance , and then add tagging for grouping the resources.




At last , Click Create instance.


Once the Instance is Created and Running.


If you click the Console icon , You will see the below error.



Lightsail asks us to give a couple of minutes before SSH into the Instance.


After a minutes or two , If you click the Console icon again , You should be able login to the Instance.

There are two ways you can login to the instance.

You can directly access the instance using the Console by choosing the instance action and click Connect.

Or you can use SSH client to access the instance.

After you have logged in to the instance. , Switch as root user.

Managing Joomla With Lightsail

As we are hosting a website using Joomla , You should assign a static public IP address to the Instance.

To Create a Static IP address , Choose Networking and select Create static IP

It will ask you to select the Joomla Instance and then provide a name for the Static IP Address and then Click Create.

In the Details page , You can see the Public Static IP Address and the Instance attached with it.

Now you can access the Joomla using the IP address.You will see this page.


You can login to Joomla Dashboard as Administrator as shown below.

http://publicipaddress/administrator (or)

You will see the following page.

You can get the Login credentials for the Joomla dashboard in the below mentioned file.

The default username is user

cat /home/bitnami/bitnami_application_password

Once logged in , You will see many options to add contents to your website and to customize them.

Also you should consider pointing your Domain name to the IP address of the Instance and Remember to setup SSL for the website.




We have successfully deployed a Joomla on AWS using Lightsail service.


Hope this article helps you to setup Joomla at ease.Thanks for reading this article.


Please do check out my other publications.