Towards Green DevOps: Measuring and Improving Sustainability in AI-Enabled Microservices Architectures
Article Sidebar
Abstract:
Background: The growing deployment of artificial intelligence models through cloud-native microservices has increased the energy consumption, resource demand, and operational cost of production software. However, sustainability is rarely incorporated into continuous integration and continuous delivery pipelines as a measurable software-quality attribute.
Aims: This study aims to design and evaluate a Green DevOps framework that enables development and operations teams to measure, compare, and improve the sustainability of AI-enabled microservices.
Methods: The framework integrates energy consumption, estimated operational carbon emissions, CPU and memory utilization, storage activity, cloud expenditure, latency, reliability, and predictive performance into CI/CD and runtime-observability processes. A controlled prototype evaluation examined four deployment configurations using a containerized document-classification service.
Result: Compared with the static baseline, the optimized configuration reduced estimated energy consumption and operational carbon intensity by 57.1%, CPU consumption by 50.0%, and cloud cost per 1,000 successful requests by 51.2%. It improved p95 latency from 145 to 115 ms and throughput from 100 to 109 requests/s; macro-F1 changed from 0.918 to 0.914.
Conclusion: Coordinated optimization of scaling, orchestration, caching, and model precision can improve environmental and economic efficiency without materially compromising service quality, while CI/CD sustainability gates can make this evidence actionable.
Keywords: AI/ML systems , CI/CD Sustainability Metrics , Green DevOps , Microservices , Resource Efficiency
Copyright (c) 2026 Likinyo Ayorinde Paul, Ressti Nurfitriani, A. T John-Dewole, V. Esther Jyothi, Tenali Nagamani

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
Agal, S., & Katariya, R. (2026). PipeBench: a benchmarking framework for end-to-end machine learning pipelines. Scientific Reports. https://doi.org/10.1038/s41598-026-53722-x
Ajiga, D., Okeleke, P. A., Folorunsho, S. O., & Ezeigweneme, C. (2024). Methodologies for developing scalable software frameworks that support growing business needs. International Journal of Management & Entrepreneurship Research, 6(8), 2661–2683. https://doi.org/10.51594/ijmer.v6i8.1413
Aneggi, A., Li, X., & Janes, A. (2026). PPTAM$η$: Energy Aware CI/CD Pipeline for Container Based Applications. ArXiv.org. http://arxiv.org/abs/2602.12081
Batoon, J., Evale, D., Bautista, R., Pagtalunan, T., & Wider, W. (2026). A bibliometric analysis of information system development for environmental sustainability. Environmental and Sustainability Indicators, 30, 101230. https://doi.org/10.1016/j.indic.2026.101230
Behl, S. (2025). Advancing Machine Learning Operations (MLOps): A Framework for Continuous Integration and Deployment of Scalable AI Models in Dynamic Environments. Journal of Information Systems Engineering & Management, 10(2), 867–873. https://doi.org/10.52783/jisem.v10i2.9469
Bolón-Canedo, V., Morán-Fernández, L., Cancela, B., & Alonso-Betanzos, A. (2024). A review of green artificial intelligence: Towards a more sustainable future. Neurocomputing, 599, 128096. https://doi.org/10.1016/j.neucom.2024.128096
CEBECİ, K., & Korçak, Ö. (2020). Design of an Enterprise Level Architecture Based on Microservices. Bilişim Teknolojileri Dergisi, 13(4), 357–371. https://doi.org/10.17671/gazibtd.558392
Chen, J., Zhao, X., & Lewis, M. (2022). Supplier motivation to share knowledge: an experimental investigation of a social exchange perspective. International Journal of Operations & Production Management, 43(5), 760–780. https://doi.org/10.1108/ijopm-03-2022-0186
Danushi, O., Forti, S., & Soldani, J. (2024). Environmentally sustainable software design and development: A systematic literature review. In arXiv. https://doi.org/10.48550/arXiv.2407.19901
Fehlis, Y., Crain, C. M., Jensen, A., Watson, M., Juhasz, J. E., Mandel, P., Liu, B., Mahon, S., Wilson, D. K., Lynch-Jonely, N., Leedom, B., & Fuller, D. (2025). Technical Implementation of Tippy: Multi-Agent Architecture and System Design for Drug Discovery Laboratory Automation. In ArXiv.org. https://doi.org/10.48550/arxiv.2507.17852
Gill, S. S., Xu, M., Ottaviani, C., Patros, P., Bahsoon, R., Shaghaghi, A., Golec, M., Stankovski, V., Wu, H., Abraham, A., Singh, M., Mehta, H., Ghosh, S. K., Baker, T., Parlikad, A. K., Lutfiyya, H., Kanhere, S. S., Sakellariou, R., Dustdar, S., … Uhlig, S. (2022). AI for next generation computing: Emerging trends and future directions. arXiv (Cornell University), 19, 100514. https://doi.org/10.1016/j.iot.2022.100514
Harshith, M., Ansari, Z. A., Fatima, S. S., Siddiqui, S., Swarna, S., Reddy, D. R. N., & Mohsin, S. W. (2026). Federated microservices architecture with blockchain for privacy-preserving and scalable healthcare analytics. Scientific Reports, 16(1). https://doi.org/10.1038/s41598-026-39837-1
Henderson, P., Hu, J., Romoff, J., Brunskill, E., Jurafsky, D., & Pineau, J. (2020). Towards the systematic reporting of the energy and carbon footprints of machine learning. J. Mach. Learn. Res., 21(1). https://dl.acm.org/doi/10.5555/3455716.3455964
Herati, D. A., Aderne, M. C., & Kon, F. (2025). The road to sustainable DevOps. In arXiv. https://doi.org/10.48550/arXiv.2503.08845
ISO/IEC. (2024). ISO/IEC 21031:2024 Information technology—Software Carbon Intensity specification. ISO.
Jacob, B., Kligys, S., Chen, B., Zhu, M., Tang, M., Howard, A., Adam, H., & Kalenichenko, D. (2018). Quantization and training of neural networks for efficient integer-arithmetic-only inference. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2704–2713. https://doi.org/10.1109/CVPR.2018.00286
Kruchten, P., & Gregory, P. (2023). Agile Processes in Software Engineering and Extreme Programming – Workshops. In Lecture notes in business information processing. Springer Science+Business Media. https://doi.org/10.1007/978-3-031-48550-3
Lacoste, A., Luccioni, A., Schmidt, V., & Dandres, T. (2019). Quantifying the carbon emissions of machine learning. In arXiv. https://doi.org/10.48550/arXiv.1910.09700
Lago, P., Condorí-Fernández, N., Fatima, I., Funke, M., & Malavolta, I. (2024). The Sustainability Assessment Framework Toolkit: A Decade of Modeling Experience. In arXiv (Cornell University). Cornell University. https://doi.org/10.48550/arxiv.2405.01391
Lannelongue, L., Grealey, J., & Inouye, M. (2021). Green algorithms: Quantifying the carbon footprint of computation. Advanced Science, 8(12), 2100707. https://doi.org/10.1002/advs.202100707
Le, M., Ahmed, S., Williams, D., & Jamjoom, H. (2023). Securing Container-based Clouds with Syscall-aware Scheduling. VTechWorks (Virginia Tech), 812–826. https://doi.org/10.1145/3579856.3582835
Lins, S., Pandl, K. D., Teigeler, H., Thiebes, S., Bayer, C. P., & Sunyaev, A. (2021). Artificial Intelligence as a Service. Business & Information Systems Engineering, 63(4), 441–456. https://doi.org/10.1007/s12599-021-00708-w
Luccioni, A. S., Viguier, S., & Ligozat, A.-L. (2023). Estimating the carbon footprint of BLOOM, a 176B parameter language model. Journal of Machine Learning Research, 24(253), 1–15. https://doi.org/10.48550/arXiv.2211.02001
Maroukian, K., & Gulliver, S. R. (2020). The Link Between Transformational and Servant Leadership in DevOps-Oriented Organizations. 21–29. https://doi.org/10.1145/3393822.3432340
Milewicz, R., Bisila, J., Mundt, M., & Teves, J. (2023). Seeking Enlightenment: Incorporating Evidence-Based Practice Techniques in a Research Software Engineering Team. In arXiv (Cornell University). Cornell University. https://doi.org/10.5281/zenodo.10420969
Mulahuwaish, A., Korbel, S., & Qolomany, B. (2021). Improving Datacenter Utilization Through Containerized Service-Based Architecture. In Research Square. https://doi.org/10.21203/rs.3.rs-899714/v1
Mytton, D. (2020). Assessing the suitability of the Greenhouse Gas Protocol for calculation of emissions from public cloud computing workloads. Journal of Cloud Computing Advances Systems and Applications, 9(1). https://doi.org/10.1186/s13677-020-00185-8
Obbu, S. (2025). Building a Robust CI/CD Pipeline for AI-Powered Cloud Applications. Journal of Computer Science and Technology Studies, 7(3), 215–225. https://doi.org/10.32996/jcsts.2025.7.3.25
Patros, P., Spillner, J., Papadopoulos, A. V, Varghese, B., Rana, O., & Dustdar, S. (2021). Toward Sustainable Serverless Computing. IEEE Internet Computing, 25(6), 42–50. https://doi.org/10.1109/mic.2021.3093105
Patterson, D., Gonzalez, J., Le, Q., Liang, C., Munguia, L.-M., Rothchild, D., So, D., Texier, M., & Dean, J. (2021). Carbon emissions and large neural network training. In arXiv. https://doi.org/10.48550/arXiv.2104.10350
Raitt, D. G., Huseynov, M., Homer‐Vanniasinkam, S., Würdemann, H., & Abad, S.-A. (2024). Soft-Tipped Sensor With Compliance Control for Elasticity Sensing and Palpation. IEEE Transactions on Robotics, 40, 2430–2441. https://doi.org/10.1109/tro.2024.3371691
Raman, R., Pattnaik, D., Lathabai, H. H., Kumar, C., Govindan, K., & Nedungadi, P. (2024). Green and sustainable AI research: an integrated thematic and topic modeling analysis. Journal Of Big Data, 11(1). https://doi.org/10.1186/s40537-024-00920-x
Rodríguez, P., Haghighatkhah, A., Lwakatare, L. E., Teppola, S., Suomalainen, T., Eskeli, J., Karvonen, T., Kuvaja, P., Verner, J., & Oivo, M. (2016). Continuous deployment of software intensive products and services: A systematic mapping study. Journal of Systems and Software, 123, 263–291. https://doi.org/10.1016/j.jss.2015.12.015
Salomoni, D., Campos, I., Gaido, L., Marco, J., Solagna, P., Gomes, J., Matyska, L., Fuhrman, P., Hardt, M., Donvito, G., Dutka, Ł., Płóciennik, M., Barbera, R., Blanquer, I., Ceccanti, A., Cetinić, E., David, M., Dūma, M., García, Á. L., … Żok, T. (2018). INDIGO-DataCloud: a Platform to Facilitate Seamless Access to E-Infrastructures. Journal of Grid Computing, 16(3), 381–408. https://doi.org/10.1007/s10723-018-9453-3
Saputra, D., Risdianto, E., Rezvani, M. Q., & Rahayu, P. W. (2026). Software and Information Systems for Sustainability: A Systematic Literature Review of Models, Applications, and Evaluation Metrics. Journal of Sustainable Software Engineering and Information Systems, 2(1), 16–40. https://doi.org/10.58723/jsseis.v2i1.160
Schwartz, R., Dodge, J., Smith, N. A., & Etzioni, O. (2020). Green AI. Communications of the ACM, 63(12), 54–63. https://doi.org/10.1145/3381831
Treviso, M., Lee, J.-U., Ji, T., Aken, B. van, Cao, Q., Ciosici, M. R., Hassid, M., Heafield, K., Hooker, S., Raffel, C., Martins, P. H., Martins, A. F. T., Forde, J. Z., Milder, P., Simpson, E., Slonim, N., Dodge, J., Strubell, E., Balasubramanian, N., … Schwartz, R. (2023). Efficient Methods for Natural Language Processing: A Survey. Transactions of the Association for Computational Linguistics, 11, 826–860. https://doi.org/10.1162/tacl_a_00577
Venters, C. C., Capilla, R., Betz, S., Penzenstadler, B., Crick, T., Crouch, S., Nakagawa, E. Y., Becker, C., & Carrillo, C. (2017). Software sustainability: Research and practice from a software architecture viewpoint. University of Huddersfield Repository (University of Huddersfield), 138, 174–188. https://doi.org/10.1016/j.jss.2017.12.026
Verdecchia, R., Sallou, J., & Cruz, L. (2023). A systematic review of Green AI. WIREs Data Mining and Knowledge Discovery, 13(4), e1507. https://doi.org/10.1002/widm.1507
Wen, J., Chen, Z., Sarro, F., & Shangguang, W. (2023). Unveiling Overlooked Performance Variance in Serverless Computing. In arXiv (Cornell University). Cornell University. https://doi.org/10.48550/arxiv.2305.04309
Zampetti, F., Tamburri, D. A., Panichella, S., Panichella, A., Canfora, G., & Penta, M. Di. (2022). Continuous Integration and Delivery Practices for Cyber-Physical Systems: An Interview-Based Study. ACM Transactions on Software Engineering and Methodology, 32(3), 1–44. https://doi.org/10.1145/3571854