The task here wass to deploy a WordPress site on AWS using a LAMP Stack.  A LAMP consists of linux, apache, my sql and php installed on one instance. Linux is the OS of choise compatible for apache webserver. My sql is the package to store data and php is the server-side scripting language  used for developing web applications. 

Deploy WordPress on LAMP Stack

COMMUNITY MARKET LAMP INSTANCE

BITNAMI

Here I chose an open-source LAMP Stack from the community resources. Bitnami are the authors of this stack.  

Launch instance with putty and remove htdocs contents

After launching this instance I connect to it using Putty. As my local host was windows machine, I needed to convert the encryption key first from a .pem file to a .ppk file using PuttyGEN. 

Here is the linux machine launched, user name Bitnami. Testing the publishing page externally, it displays fine. 

As you can see in the $opt/bitnami/apache2/htdocs directory there are some in the box html and css files. I need to remove them and install Word Press. 

 

install wordpress

$Wget https://wordpress.org/latest.tar.gz to download WordPress, then unpack the tar file. $tar –zxvf command. 

WORDPRESS HOME PAGE

url not optimised

Initially the IP address when entered into the url took me into a blank page with 2 links which I had to click to go into the word press page.  

To rectify this so the IP lands on word press as the first page; on the terminal, I had to remove all WordPress content a directory behind. Now the home page launched instantly.  

 

url optimised

Now the IP address lands you straight onto the WordPress site. 

 

database credentials

WordPress needed to connect to the mySql databse, part of the LAMP stack. So database credentials had to be entered here. 

password in system log

The password was required when entered database credentials. The pass word was obtained in the System Log on the instance in the AWS console.

pASSWORD

There was the password displayed in the hashed box. 

WORDPRESS DEPLOYED

Now WordPress has been deployed on AWS and can be accessed through the IP address 13.233.165.209 

Close Menu