Sitemap

AWS-RDS TASK/ ARTH TASK-18

Jan 18, 2021

Task Description:

đź”…Create an AWS EC2 instance
🔅 Download PHP application name “WordPress”.
đź”… As WordPress stores data at the back-end 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.

1. Create an AWS EC2 instance

Press enter or click to view image in full size

Here in this instance, I configured docker service and there Ilaunched the WordPress application with the help of docker image.

Press enter or click to view image in full size
Press enter or click to view image in full size

2. Setup a MySQL server using AWS RDS service using Free Tier

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Rest other parameters are left unchanged as they are already configured by default.

3. Provide the endpoint/connection string to the WordPress application to make it work

Change the inbound rules for the ec2 instance to connect with database instance.

Press enter or click to view image in full size

Connect to the WordPress application which we launched through docker container.

Press enter or click to view image in full size
Press enter or click to view image in full size
Provide the correct credentials to connect to the RDS Database.
Press enter or click to view image in full size
Press enter or click to view image in full size
WordPress launched successfully with RDS Database connected.

THANK YOU!

--

--

MAYANK VARSHNEY
MAYANK VARSHNEY

Written by MAYANK VARSHNEY

I am a forward-thinking individual with exceptional skills in problem-solving, adaptive thinking, automation, and development.