Previous

How to deploy a LAMP stack on Ubuntu (using a Linode)


With ECmanaged you can save valuable time and launch any application on any Cloud provider in just a few clicks. In this tutorial we will show you how to deploy a LAMP stack to a Linode. The whole process is carried out in around 5 minutes. The LAMP (Linux + Apache + Mysql + PHP) server can be fully customized to your needs and wishes.
 
In short, ECmanaged allows you to create different types of Linodes or Cloud servers:

♦ Simple: for quick clean and basic operating systems 
♦ Application: Ready-made 1-click applications 
♦ Image or Backups: to create a Linode based on an instance image or backup (like a snapshot). 

All these types of servers share the easy ECmanaged deployment procedure. With ECmanaged you will deploy your Linodes in a matter of minutes or seconds, depending on the type. A real time saver for developers and sysadmin!



Step 1 of 3: Add Linode as a Provider
Before starting, verify that you have added Linode to your list of preferred Cloud providers. Here you can find a tutorial to do so.
 
Step 2 of 3: Setting up your new Linode with a customized LAMP stack
 Once you have integrated cloud provider(s) in ECmanaged account, you are ready to instantiate cloud servers. Before starting a cloud server you have to configure the Security Keys(SSH keys) and Security Groups(Firewall), please follow the links for more information.

A new cloud server is created using New Cloud server wizard which can be accessed by either from the New server drop-down menu or from Infrastructure > Servers and then from the New server drop-down menu, as shown below:





The wizard will ask you some basic information in order to create the Linode. After completing this wizard the Linode will be created on your Linode account and the LAMP stack will be up and running. 
 
In the first step, you choose a Name for your server, the Cloud Provider (list only shows the provider you have integrated to your account) you want to use to launch the server, the availability zone and the Size for the instance. The figure below shows an example:





Then click “Next”.
 
We will build the LAMP Linode based on a ready-made application. To do so, choose the Application tab in the next step. You have to select Systems as Category and “LAMP System (Configurable)” as Application to install. You also need to choose the Operating Systems,as shown below:







Then click “Next”.
In the next step, you need to provide information for the deployment as shown below:






The Virtual host is automatically set to your linode’s FQDN. Then click “Next”.

In the final step of the wizard, you choose the Security Keys used for ssh access, and Security Group(Firewall). Notification Profile is another advanced option which is discussed here. You can schedule destruction of your cloud server using Cloud Server Expires. The ECMagent monitoring is enabled by default.






Step 3 of 3: Launching the linode
Click on “LAUNCH” and ECmanaged will carry out the necessary backend operations to have your LAMP linode up and running instantaneously. You can close the process status window or you can keep track of the process status and output of the installation and deployment. 





Congratulations! 

You now have created a LAMP Linode (or server) on Linode. Customized application deployment has never been easier. The new Linode is listed automatically in both your ECmanaged account as your Linode account.

Remember you can switch it on and off using the ECmanaged control panel so you keep control of your Cloud expenses.
 
You are able to find your linode in Properties > Servers. You can see the properties by clicking the Linode name. In case you want to test your LAMP deployment you can click the link beside DNS name in the System Information field to launch it on a browser.

Benefit from our current promotion. Get $50 credit to try ECmanaged ( Voucher valid until 08/03/2015)

30 day Free Trial.
No Credit Card required