AUTOMATION OF SERVERLESS APPLICATION DEPLOYMENT USING IAC: CASE OF 'AGRO MONITOR'
Abstract
The article presents the results of research and practical implementation of serverless application deployment automation based on the Infrastructure as Code (IaC) concept. The primary focus is placed on analyzing modern tools and technologies that enable automated infrastructure management in cloud environments, as well as the deployment of serverless applications using IaC in a real-world project. The first part of the article examines the theoretical foundations of serverless architecture, which allows companies to reduce infrastructure maintenance costs, ensure automatic scaling, and pay only for the actual use of computing resources. The advantages and challenges of adopting the serverless approach are analyzed, including component interaction issues, version control, integration complexity, and security concerns. Particular attention is given to Function-as-a-Service (FaaS) platforms such as AWS Lambda, Azure Functions, Google Cloud Functions, and OpenFaaS. The article thoroughly investigates the role of Infrastructure as Code in the context of automating the deployment of serverless solutions. Two primary approaches to infrastructure description are considered-declarative declarative (Terraform, AWS CloudFormation) and imperative (Pulumi), and configuration-management tools (Ansible) – with an overview of their characteristics, benefits, and limitations. The key advantages of IaC for ensuring standardization, infrastructure reproducibility, CI/CD process integration, version control, and enhanced system security are highlighted. The practical section of the article focuses on the deployment automation of the «Agro Monitor» system, which is built on serverless architecture in the Microsoft Azure cloud environment. The Pulumi tool, which enables infrastructure definition using programming languages and provides flexibility in creating complex infrastructure scenarios, is applied. The system architecture, key components, API-based interaction mechanisms, as well as processes for automatic scaling, data processing, and report generation are described in detail. It is demonstrated that the proposed approach enables rapid deployment of new environments, reduces maintenance costs, enhances system stability, and improves scalability. The results confirm the effectiveness of combining serverless architecture and Infrastructure as Code for developing modern information systems characterized by high flexibility, stability, and economic feasibility. The developed solution can be beneficial for enterprises in various industries seeking to optimize infrastructure and accelerate the deployment of innovative IT products.
References
2. Shahrad M., Fonseca R., Zhang I., et al. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider. Proceedings of the 2020 USENIX Annual Technical Conference (USENIX ATC ’20). 2020. С. 205–218.
3. Schirmer T., Japke N., Greten S., Pfandzelter T., Bermbach D. The Night Shift: Understanding Performance Variability of Cloud Serverless Platforms. The 1st Workshop on SErverless Systems, Applications and MEthodologies (SESAME ’23), Rome, Italy, 8 May 2023. Стаття 7. DOI: 10.1145/3592533.3592808.
4. Scheuner J., Bertilsson M., Grönqvist O., et al. TriggerBench: A Performance Benchmark for Serverless Function Triggers. 2022 IEEE International Conference on Cloud Engineering (IC2E), Monterey, CA, USA, 28 Sept. 2022. DOI: 10.1109/IC2E55432.2022.00018.
5. Wen J., Chen Z., Jin X., Liu X. Rise of the Planet of Serverless Computing: A Systematic Review. ACM Transactions on Software Engineering and Methodology. 2023. Т. 32. № 5. Стаття 131. DOI: 10.1145/3579643.
6. Rahman A., Mahdavi-Hezaveh R., Williams L. A Systematic Mapping Study of Infrastructure as Code Research. Information and Software Technology. 2019. Т. 108. С. 65–77. DOI: 10.1016/j.infsof.2018.12.004.
7. Begoug M., Chouchen M., Ouni A. TerraMetrics: An Open Source Tool for Infrastructure-as-Code (IaC) Quality Metrics in Terraform. Proceedings of the 2024 IEEE/ACM 32nd International Conference on Program Comprehension (ICPC) – Tool Demonstrations. 2024. DOI: 10.1145/3643916.3644439.
8. Sokolowski D., Spielmann D., Salvaneschi G. Automated Infrastructure as Code Program Testing. IEEE Transactions on Software Engineering. 2024. Т. 50. № 6. С. 1585–1599. DOI: 10.1109/TSE.2024.3393070.
9. Rahman A., Parnin C., Williams L. The Seven Sins: Security Smells in Infrastructure as Code Scripts. Proceedings of the 41st International Conference on Software Engineering (ICSE ’19). 2019. С. 164–175. DOI: 10.1109/ICSE.2019.00033.
10. Hassan M. M., Salvador J., Santu S. K. K., Rahman A. State Reconciliation Defects in Infrastructure as Code. Proceedings of the ACM on Software Engineering. 2024. Т. 1 (FSE). Стаття 83. DOI: 10.1145/3660790.
11. Shrestha R., Ali A. A. N. Configuration Management in Kubernetes Environments: A GitOps Approach. 2024 IEEE/ACM 17th International Conference on Utility and Cloud Computing (UCC 2024), Sharjah, UAE, 16–19 Dec. 2024. С. 497–502. DOI: 10.1109/UCC63386.2024.00077.
12. Janes A., Li X., Lenarduzzi V. Open Tracing Tools: Overview and Critical Comparison. Journal of Systems and Software. 2023. Т. 204. Стаття 111793. DOI: 10.1016/j.jss.2023.111793.

This work is licensed under a Creative Commons Attribution 4.0 International License.
ISSN 



