Midterms Examination
- Github URL: Github Link
Conclusion: In conclusion, the objectives for creating an Ansible playbook have been successfully achieved. The playbook was designed to streamline the installation and configuration of various software components on separate hosts, using input from a config.yaml file and an organized Inventory file. The following tasks were accomplished: Elastic Stack (Elasticsearch, Kibana, Logstash) was successfully installed and configured on separate hosts, allowing for efficient log and data analysis. Nagios, a powerful monitoring tool, was deployed on a dedicated host to keep a close eye on the infrastructure and ensure proactive issue detection and resolution. Grafana, Prometheus, and InfluxDB were installed on separate hosts, enabling robust monitoring and visualization capabilities. This setup facilitates real-time data collection and visualization. A LAMP (Linux, Apache, MySQL, PHP) stack was established across distinct hosts, including HTTPD, PHP, and MariaDB, enabling the hosting of web applications and databases. In summary, the Ansible playbook efficiently addresses the diverse requirements of installing and configuring these software components, facilitating the automation and management of my infrastructure. This approach not only saves time but also ensures consistency and reliability in the deployment and maintenance of my system.