Ansible-Based End-To-End Dynamic Scaling on Azure Paas for Refinery Turnarounds: Cold-Start Latency and Cost–Performance Trade-Offs
DOI:
https://doi.org/10.64917/fecsit/Volume02Issue11-01Keywords:
Ansible, Azure App Service, Azure PaaS, dynamic scalingAbstract
Oil and gas refineries rely on scheduled maintenance windows to execute turnaround operations using custom-built applications hosted on Azure. These workloads exhibit unpredictable, bursty consumption patterns that challenge static scaling strategies, leading to cold-start latency, SLA breaches, and increased operational costs. This study addresses the lack of dynamic, real-time scaling frameworks tailored to refinery turnarounds by developing a combined Ansible-based automation solution for Azure App Service, databases and messaging queues enabling end to end scaling of azure services tuned to balance workloads. The proposed framework integrates infrastructure-as-code with continuous monitoring to enable agentless, adaptive scaling across services. Using a mixed-methods evaluation, we demonstrate that the hybrid strategy reduced median cold-start latency from 12.4s to 3.1s and cut SLA breaches from 18.7% to 2.3% under burst durations of 1–30 minutes. These improvements translated to a 27% reduction in resource waste and a 22% drop in cost per transaction during peak periods. The framework also enhanced reliability by minimizing manual intervention through automated configuration management. These results highlight how dynamic scaling can significantly improve performance and efficiency in industrial cloud environments. By integrating Ansible with real-time analysis of Azure service latency and coordinating End- to-End scaling across applications, databases, and messaging queues, the proposed approach offers a practical and cost-effective solution. This framework not only meets demanding performance requirements during volatile workloads but also provides a flexible model that can be adapted to other industries facing similar operational challenges.
References
Smith, J., & Lee, K. (2021). Dynamic scaling in cloud environments: A review of automation tools. Journal of Cloud Computing, 10(3), 45-60.
Zhang, Y., & Chen, L. (2023). Enhancing industrial cloud applications with dynamic scaling: A case study on refinery workloads. IEEE Transactions on Industrial Informatics, 19(4), 2345-2354.
Chen, L., & Wang, X. (2021). Performance Challenges in Cloud-Based Industrial Applications. Journal of Industrial Engineering, 12, 101-115.
Alharthi, S., Alshamsi, A., Alseiari, A., & Alwarafy, A. (2024). Auto-scaling techniques in cloud computing: Issues and research directions. Sensors, 24(17), 5551.
Herbst, N. R., et al. (2013). Elasticity in cloud computing: What it is, and what it is not. Proceedings of the 10th International Conference on Autonomic Computing.
Lloyd, W., et al. (2018). Serverless computing: An investigation of factors influencing cold-start latency. Proceedings of the ACM Symposium on Cloud Computing.
Nguyen, T., Tran, H., & Le, Q. (2022). Ansible Automation for Cloud Resource Management. Journal of Automation and Cloud Systems, 10, 150-165.
Wang, L., et al. (2018). Understanding Cold Start latency in serverless computing. Proceedings of the ACM Symposium on Cloud Computing.
Aral, A., Brandic, I., & Uriarte, R. B. (2019). Addressing application latency requirements through edge scheduling. Journal of Grid Computing, 17, 677–698.
Ahmad, T. (2022). Benchmarking Apache Arrow Flight: A wire-speed protocol for data transfer, querying and microservices. ACM BID'22, Seoul, Korea.
Ben Alla, H., Ben Alla, S., Touhafi, A., & Ezzati, A. (2018). A novel task scheduling approach based on dynamic queues and hybrid meta-heuristic algorithms for cloud computing. Cluster Computing, 21, 1797–1820.
Rallabandi, S. K. (2016). LINCHPIN: A YAML template based cross cloud resource provisioning tool (Master’s thesis). The University of Texas at Arlington. Retrieved from https://mavmatrix.uta.edu/cse_theses/383/
Microsoft Azure Documentation. (2022). Azure App Service scaling options. https://learn.microsoft.com/en- us/azure/architecture/best-practices/auto-scaling
Red Hat. (2024). Ansible collections guide. Ansible Documentation. Retrieved from https://docs.ansible.com/ansible/devel/collections_guide/ index.html
Red Hat Ansible Automation Platform. (2023). Ansible for cloud infrastructure automation. https://www.ansible.com/resources/automation-platform
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Sai Nikhil Donthi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain the copyright of their articles published in this journal. All articles are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). This license permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are properly cited.