Posts

Showing posts from June, 2021

WORDPRESS --- TAK 18

Image
 Task 18 Description -  Create an AWS EC2 instance  Configure the instance with Apache Webserver.  Download PHP application name "WordPress". WordPress stores data at the backend in MySQL Database Server. Therefore, you need to set up a MySQL server using AWS RDS service using Free Tier. Provide the endpoint/connection string to the WordPress application to make it work. WordPress WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. Features include a plugin architecture and a template system, referred to within WordPress as Themes. Amazon RDS Amazon Relational Database Service is a distributed relational database service by Amazon Web Services. It is a web service running โ€œin the cloudโ€ designed to simplify the setup, operation, and scaling of a relational database for use in applications. Creating an AWS EC2 Instance In my case, I launch an AMI instance in the Mumbai region named wptask. Down...

HAPORXY

Image
TASK 12 DESCRIPTION - Use Ansible playbook to Configure Reverse  Proxy i.e. Haproxy and update its configuration  file automatically each time a new Managed node  join the inventory.  Proxy i.e. Haproxy and update its configuration  file automatically each time a new Managed node  join the inventory Configure the same setup as 12.1 over AWS  using instance over there . REVERSE PROXY In computer networks such as the internet, a reverse proxy is a common type of proxy server that is accessible from the public network. Large websites and content delivery networks use reverse proxies โ€“and other techniquesโ€“ to balance the load between internal servers. The reverse proxy becomes a single point of entry for the different web applications in the organization. The web servers stay hidden and thus protected from the Internet. Security monitoring such as log review can be performed from a single point. Configuring Haproxy via Ansible Playbook First, we have to ge...

Kubernetes with Ansible

Image
Task __ Description:-                                   In this blog, we will perform the following tasks: Create Ansible Playbook to launch 3 AWS EC2 Instance. Create Ansible Playbook to configure Docker over those instances. Create Playbook to configure K8S Master, K8S Worker Nodes on the above created EC2 Instances using kubeadm. So first we will be creating a directory for ansible-playbook and make roles in that folder - #mkdir ansible-playbook #cd ansible-playbook #ansible-galaxy init aws_provision #ansible-galaxy init cluster_setup     After this inside the aws_provision we will see for present folders. then inside the tasks folder, we will create our playbook in main.yml. Then open the main.yml inside vars folder to give the slave count. As we can observe there is no instance in the AWS cloud, so we'll have to run the  aws_provision role to launch the instances. So cre...

TASK 6

Image
  Face Recognizer Hello Fellas!!! This post a task given by Mr.  Vimal Daga  sir during my summer internship program.   Task Description ๐Ÿ“„ โ„๏ธ Create a program that perform below mentioned task upon recognizing a particular face. ๐Ÿ“Œ When it recognize your face then - ๐Ÿ‘‰ It send mail to your mail id by writing this is face of your_name. ๐Ÿ‘‰ Second it send whatsapp message to your friend, it can be anything. ๐Ÿ“Œ When it recognize second face, it can be your friend or family members face. ๐Ÿ‘‰ Create EC2 instance in the AWS using CLI. ๐Ÿ‘‰ Create 5GB EBS volume and attach it to the instance. Create Face Dataset : First we need to create face dataset. The data set will contain 100 image sample of a face. Importing Face Dataset: Now we need to import the face dataset that we have created. WhatsApp Message Function: Now we will define a function that will automatically send a message to a number containing the details of the face owner. AWS EC2 Launch Function: Here we wil...