Coder Social home page Coder Social logo

gnu_linux_loadbalancer_keepalived's Introduction

Sujet

  1. Bref rappel Linux : distributions, architecture, quelques commandes...

  2. a. Installation d'un VM CentOS Stream 8 ou 9 (possibilité autres distributions si préférence) b. Partition standard, un disque (taille mini requis, pas besoin de plus), nommage libre. Partitionnement automatique

  3. Recommandation système:

    Ne pas utiliser root, se créer un compte utilisateur avec élévation

    a. Interdire l'accès root par SSH

    Ne jamais désactiver le firewall ni le SELinux

    b. Ajouter un disque secondaire

    5 ou 10Go pour accueillir les données ;

    Ajouter niveau système, modifier la table des partitions ; point de montage /data

  4. Installer un serveur web - Frontend

    a. Nginx (ou apache ou tomcat au choix... ne soyons pas sectaire)

    Configurer le serveur web pour y publier un site "fait maison" avec git

    b. Installer un backend

    Ajouter un backend de son choix (API Java ou autres)

    Installer les prérequis nécessaires

    c. Configurer le serveur web en conséquence

  5. Installer un second serveur sous CentOS pour placer le serveur web en mode cluster de production

    a. Réinstallation complète comme le premier ou processus de clonage

    b. Installer le load-balancer

    c. Installation et paramétrage keepalived

    d. Installation et paramétrage haproxy

  6. Tester le fonctionnement de la répartition de charge. Activer les stats haproxy et contrôler

Bonus : étudier les livraisons de versions sans coupure

Schéma d'infrastructure

En résumé : Ce qu'il faut faire

Schéma d'infrastructure png

gnu_linux_loadbalancer_keepalived's People

Watchers

David Ragot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.