Task 18

Kalpanatale
5 min readJan 11, 2021

--

Task Description

đź”… Create an AWS EC2 instance

đź”… Configure the instance with Apache Webserver.

🔅 Download php application name “WordPress”.

đź”… As wordpress stores data at the backend in MySQL Database server. Therefore, you need to setup a MySQL server using AWS RDS service using Free Tier.

đź”… Provide the endpoint/connection string to the WordPress application to make it work.

AWS EC2

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment.

Apache webserver

Apache HTTP Server is a free and open-source web server that delivers web content through the internet. Apache functions as a way to communicate over networks from client to server using the TCP/IP protocol. Apache can be used for a wide variety of protocols, but the most common is HTTP/S. HTTP/S or Hyper Text Transfer Protocol (S stands for Secure) is one of the main protocols on the web, and the one protocol Apache is most known for.

MySQL

MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and managing content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use.

WordPress

WordPress (WP, WordPress.org) is a free and open-source content management system (CMS) written in PHP and paired with MySQL or MariaDB database. It stores content and enables a user to create and publish webpages, requiring nothing beyond a domain and a hosting service.

Step 1: Creating AWS EC2 instance (done through CLI)

(for this u can visit the link: )

Step 2: Connecting EC2 Instance

Step 3: Configuration of HTTP apache webserver

For installing the Apache webserver on the redhat8 ami use the cmd :

yum install httpd -y

Starting the httpd services

Step 4: Download and installing the repositories required for hosting Wordpress

yum install <repo link>

Installing php7.4

Step 5: Downloading wordpress code using curl cmd and extracting it by tar xf wordpress.tar.gz

Step 6: copying the Wordpress code to Document root of Webserver

Step 7: Creating AWS RDS database

(endpoint is provided here)

Step 8: Installing mysql and Creating Databse named as dbforwb

Step 9: Providing the endpoint to wordpress for database named as dbforwb

We can Provide the endpoint/connection string to the
WordPress application to make it work(
endpoint url which is given by the mysql database launched on the rds )

Thank you for Reading!

#vimaldaga #righteducation #educationredefine #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righeducation #arthbylw #php #apache #wordpress #aws #rds #mysql #rdbms

--

--