How to deploy QloApps v1.5.2 using AWS Elastic Beanstalk

Updated 23 February 2023

What is AWS Elastic Beanstalk:

Elastic Beanstalk helps you to manage and deploy apps in the AWS Cloud rapidly without having to worry about the infrastructure that supports those applications.

However, It automatically takes care of the capacity provisioning, load balancing, scaling, and application health monitoring for your applications.

Know further about Elastic Beanstalk.

What is QloApps:

QloApps is a free and open-source hotel reservation system and booking engine. And the administrators can add their own hotel rooms with descriptions, features, rates, and other details using QloApps Hotel Reservation.

Users can rapidly check the availability of rooms and make reservations. Also, the site administrator can change data and check the status of bookings.

Know further about the QloApps.

Step 1 – Log in to your AWS account by Sign-In

Step 2- Search for Elastic Beanstalk

Step 3- Create a Web Application

Step 4 – Configuring an application in Elastic Beanstalk

Now, here we will be providing our Application name, Platform, PHP version, etc. QloApps v1.5.2 support PHP version 7.4

Then download the QloApps source code zip file from here and upload the zip file by clicking on the “Choose file” button.

Now, Click on the “Configure more options” button to customize your application environment.

Now select the below option

We are selecting this option as it will create a Single instance that is under the free tier policy of AWS.

If you want to select another option then that option will not come under the free tier policy of AWS.

Step 5- Create a key pair for SSH

Now we are going to create a Key pair to login into the server which is created by Elastic Beanstalk for that open EC2 service in another tab:

Then click on the Key Pairs section for creating new key pair:

Next, Click on Create Key Pair

Now do the below configurations and click on “Create key pair”

You can choose pem option if you are using Linux and ppk option if you are using a windows system.

This way we have created the key pair that we will use to ssh into the server.

Now, Go back to your Elastic beanstalk dashboard and click on “Create app”

After this it will start creating your environment it will take some time like 5 min approx and you will see all the operations or events that it will be performing in the background.

Step 6- Attaching Key pair to the Instance

To attach the Key pair, click on the configuration option on the right-hand side as shown in the below image

After that go to the “Security” section and click on the edit button

Choose the key pair that you have created in the above step and click on Apply and confirm:

Step 7- Installation of Qloapps

Go to Ec2–> Instances–> Copy its public IPv4 address for ssh:

Run the below command in the terminal:

Further, Make some changes to the php.ini file:

allow_url_fopen = On
memory_limit = 128M
upload_max_filesize = 16M
max_execution_time = 500

Save and exit, the php.ini file, and then run the below command:

Now Install the MariaDB server:

After running all the above commands successfully you should get the following screen

Let’s now create a database:

Go to your Elastic Beanstalk Environment then you will get the URL as shown below hit it:

Once you will click on the highlighted link you will be redirected to the new tab and there in the URL you have to append this “hotelcommerce-1.5.2” at the end of the URL (Shown below figure).

Click on Next

Fill up all the required details:

Enter the DB details and test your DB connection:

Click on next, and as a result, it will start installing Qloapps after completion of installation you will get the below screen.

Note down your login information so that we can log in to your account.

Click on “Discover your website” and you will get the below screen:

After that click on “Manage Your website”, you will get the below screen:

To remove this you have to go to your server and run the below command:

Next click on the link that is given in the above screen you will get the below page:

Login Using your credentials

Need Support?

Thank You for reading this Blog!

For further more interesting blogs, keep in touch with us. Also if you need any kind of support, simply raise a ticket at https://webkul.uvdesk.com/en/.

For further help or query, please contact us or raise a ticket.

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project






    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home