Image for post
Image for post

In this article, I’ll show how to set up WordPress(frontend) and AWS RDS database step by step.

Description:

🔅 Create an AWS EC2 instance and configure it with Apache web server and compatible PHP and MYSQL environment
🔅 Download and configure PHP-based application name “WordPress”.
🔅 WordPress stores data at the backend in the MySQL Database Server. Therefore, you need to set up a MySQL server using the AWS RDS service.
🔅 Provide the endpoint string to the WordPress application to connect with RDS and make it work.

First things first, let’s create an EC2 instance from the console and configure the Apache webserver.

I’ve used RHEL8 AMI throughout and performed the task by following all the…


Image for post
Image for post
Credits: ashleymcnamara/gophers

If you’ve been anywhere near the IT industry, you’ve very likely heard the term containers🚢. The adoption of containers is growing exponentially as they are lightweight, portable, and revolutionary fast. Nowadays, deployments over containers are holding an upper hand over VMs for larger environments.


Image for post
Image for post
Image credits: me

IN THIS ARTICLE, I WILL DEMONSTRATE HOW TO CONFIGURE AND MANAGE HAProxy LOAD BALANCER FOR WEBSERVERS RUNNING ON AWS

→Pre-requisites: -

  • Foundational knowledge of AWS cloud and some common yet important services of the provider.
  • Basic understanding of Ansible and playbooks. My previous article for reference which will help you to run playbooks in the local system and get familiar with the tool :
  • How to provision EC2 instance using Ansible. Reference for enhancing the understanding and integrating with the public cloud with the concept of dynamic inventory:

~ Problem Statement:

🔅Provision EC2 instances through ansible.

🔅 Retrieve the IP Address of instances using the dynamic inventory concept.

🔅Configure the web servers through the ansible role.

🔅Configure the load balancer through the ansible role.


Image for post
Image for post

In this article, I will demonstrate how to provision EC2 instance using ANSIBLE and how do set up a more agile environment using the DYNAMIC INVENTORY.

→Pre-requisites:

— >RedHat Ansible downloaded and configured in the local system.

>Do check out my previous article for Ansible👇👇:

~Problem Statement:

♦️ Deploy Web Server on AWS through ANSIBLE!

🔹 Provision EC2 instance through ansible.

🔹 Retrieve the IP Address of instance using the dynamic inventory concept.

🔹 Configure the webserver through ansible!

  • As Ansible is built on top of python, a Python Software Development Kit (SDK) is required that enables the configuration of AWS services. The package is an object-oriented API named boto3.
pip3 install boto3   //assuming python3 is installed

→STEP-1)

  • In the first step, I provisioned an ec2 instance with this…


Image for post
Image for post

This article is a demonstration of Automation using ANSIBLE

~WHAT IS ANSIBLE? 🤔🤔

→Ansible is an infrastructure automation tool from REDHAT. It is widely used in the configuration of systems and setting up deployment environments.

→Ansible is an abstraction layer that covers all operating systems under its umbrella that helps configuration of large heterogeneous environment. It is built on top of PYTHON 🐍.

→Ansible has Modules that enables performing various tasks in the system.Power⚡ of Ansible is Playbooks. Playbooks are nothing but YML files containing modules as per user requirements.

Problem Statement For This Hands-On-

Write an Ansible PlayBook that does the following operations in the managed nodes:

🔹 Configure Docker

🔹 Start…


Image for post
Image for post

→WHAT IS THE PROJECT?

TOOLS USED — GIT, JENKINS, DOCKER

Problem Statement-

  1. JOB1: Pull the GitHub repo automatically when some developer commits.
  2. JOB2: By looking at the code or program file, Jenkins should automatically start the respective language interpreter install image container to deploy code ( eg. If code is of PHP, then Jenkins should start the container that has PHP already installed)
  3. JOB3: Test your application if it is working or not.
  4. JOB4: If the application is not working, then send an email to the developer with an error message and if it is running file send a success…

Image for post
Image for post

→First of all, many thanks to MR.VIMAL DAGA SIR for mentoring and training in Machine learning from very basic to advance level

→I have completed Face Recognition Using Transfer Learning

→Environment requirements —

Keras, TensorFlow, Numpy, Jupyter, cv2

→In this, I have used VGG16 pre-created dataset and using this pre-trained model implemented face-recognition over my dataset

→I have taken 2 faces of Virat Kohli and Rohit Sharma and collected some images.

→It is required to have Testing and Training data. So, suggested taking 80:20 ratio of training: testing dataset.

→Screenshots of whole code and workflow


Image for post
Image for post

→First of all, many thanks to MR.VIMAL DAGA SIR for mentoring and training in Machine learning and DevOps from very basic to advance level

→Using this valuable knowledge I have completed the task of integration Machine learning with DevOps

→Tools used for DevOps — Git, Jenkins, Docker,

→Concept used for Machine Learning- Deep learning

SYSTEM CONFIGURATION/REQUIREMENTS-

→Base os Windows and virtual os Redhat Linux

→Jenkins installed in your RedHat system (including GitHub plugin)

→Docker installed with an image which can run python code

→Git installed in Windows and Redhat os

Problem statement- While creating a deep learning model, the process…


Image for post
Image for post

→WHAT IS THE PROBLEM STATEMENT?

TOOLS USED — GIT, JENKINS, DOCKER.

→Jenkins plays 3 jobs in this system

job-1) Jenkins will keep on monitoring and keep on deploying out the site on a TESTING server

job-2)Jenkins will keep on monitoring and keep on deploying out the site on the PRODUCTION server

job-3)It will run this job only when it is triggered by the testing team and it will merge branched and run job 2 and finally destroy the testing server!

SYSTEM CONFIGURATION/REQUIREMENTS-

→Base os Windows and virtual os Redhat Linux

→Jenkins installed in your RedHat system (including GitHub plugin)

→Docker…

Poojan Mehta

In a continuous process of Technical Writing. Gathering, Organizing, Crafting the things that make sense.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store