Cost-Effective Automation: Cloud-Based Monitoring Combining HPA with VPA for Scalable Startups

Fatma Nur Afifah, Nasrullah Pandu Dewantara, Ahmad Faris Faiz, Syahda Romansyah, Ridha Muldina Negara, Ratna Mayasari, Sri Astuti · 2023

This paper proposes to automate server usage monitoring for resource metrics using Prometheus and Grafana. The main contribution of this work is to create a cost-effective web-based application monitoring system combining Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA), called Anbu, suitable for scalable startups. The web-based application monitoring system is achieved by comparing the monthly fee with the existing monitoring system. To validate the accuracy of Anbu, services in the Kubernetes cluster are tested in two cases using a load test. The first case is to scale the number of replicas set for the service according to CPU and memory. The second is to provide recommendations for the ideal number of CPUs and memory according to the history of their actual use. The results show that scalable startups can do automation monitoring with an Anbu usage fee for 24 hours of uptime of around $200 per month. It will save $139.04 less per month than the existing monitoring system. This price is suitable for scalable startups who still manually automate server usage with an annual salary of less than $100.000.

Read the paper · More papers on PaperTik