Posts

Showing posts from April, 2021

ANSIBLE: Haproxy Configuration over AWS using Ansible

Image
  CONFIGURATION OF HAPROXY  USING ANSIBLE OVER AWS Lets configure Reverse Proxy that is  Haproxy  using ansible Playbook. Check this blog to know more about Haproxy :  ANSIBLE : Configuration of Haproxy As every server has a hard coded limit . At one point in time, only limited clients can connect to the web server. If more clients try to connect, the will get some error. That's why we are using  Load Balancer.  Here we want to achieve  high availability  and  extra security  for our web server using haproxy. But the problem is that, if we need to add more servers, we can add them by adding their IP in inventory file and run the playbook. But  how Load balancer will come to know that more servers have been added???? For this we will have to manually update the configuration file of Haproxy. And manually updating is not good as we are using ansible. So the solution is, we can use  JINJA  language to write code in configuration file. The best thing about this language is we can write

Student-data-input-WebApp

Image
Create a Web-Application that takes input from users through App and consolidates all the data in excel To create this UI, we can use : > Flask for framework > HTML > Python Steps to create this UI : Step 1 : Create a HTML Form Through this form, user can insert data. This is the code for html form: And our output would be like this :   Step 2 : Create Flask code  Step 4 : Create mymenu.html file Done!! Now we can use this form to store user data in excel sheet!! GitHub URL : https://github.com/ShubhashriSinha/Student-data-input-WebApp Hope you liked my blog :)