Deploying the LAMP stack website in AWS Project Part -1

Deploying the LAMP stack website in AWS Project Part -1

What is LAMP?

LAMP is an open-source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP/Perl/Python as the object-oriented scripting language.

What is a Technology stack? A technology stack is a set of frameworks and tools used to develop a software product. This set of frameworks and tools is very specifically chosen to work together in creating well-functioning software. They are acronyms for individual technologies used together for a specific technology product.

So let's start installing them one by one:

  • LAMP (Linux, Apache, MySQL, PHP or Python, or Perl)

Installing Ubuntu on AWS

  1. Go To AWS Console and log in.

  2. Now click on Launch instance and select Operating system Ubuntu.

  3. Now create Key Pair.

  4. Now go to Network Settings and select Allow SSH, HTTP and HTTPS options.

  5. Now click on Launch instance. then go to the dashboard and click on connect.

  6. Once you are done with connecting copy the ssh command.

    e.g.ssh -i "<pemkey>" ubuntu@ec2-18-212-59-147.compute-1.amazonaws.com

  7. Go to Mobaxterm and paste the ssh command.

  8. Update the system with the below command.

Installing Apache on Ubuntu

Now we have installed Ubuntu on AWS. Let's start installing Apache.

  1. Copy and paste sudo apt install apache2

  2. Now check whether the Apache service is running or not.

  3. Now check if can we access our apache server locally with the curl command.

  4. Now go to the AWS dashboard and Select Instance id.

  5. Now copy Public ip and paste it into webrowser.

  6. you can see we have successfully finished our task. Now our machine has Linux (ubuntu) and Apache. In the next blog, we will finish our remaining installation

I hope you would like this blog.

My GitHub account link:https://github.com/parimal007/DevOps_Project_2023.git

Thank you for reading this blog.Happy Learning!!!!!

You can follow me on LinkedIn for my daily updates:- linkedin.com/in/parimal-pradhan-b62021168

Did you find this article valuable?

Support Parimal Pradhan by becoming a sponsor. Any amount is appreciated!