A Survey of using Large Language Models for Generating Infrastructure as Code

K. Srivatsa Ganesh, Mukhopadhyay Sabyasachi, Katrapati Ganesh, Shrivastava Manish


Abstract
Infrastructure as Code (IaC) is a revolutionary approach which has gained significant prominence in the Industry. IaC manages and provisions IT infrastructure using machinereadable code by enabling automation, consistency across the environments, reproducibility, version control, error reduction and enhancement in scalability. However, IaC orchestration is often a painstaking effort which requires specialised skills as well as a lot of manual effort. Automation of IaC is a necessity in the present conditions of the Industry and in this survey, we study the feasibility of applying Large Language Models (LLM) to address this problem. LLMs are large neural network-based models which have demonstrated significant language processing abilities and shown to be capable of following a range of instructions within a broad scope. Recently, they have also been adapted for code understanding and generation tasks successfully, which makes them a promising choice for the automatic generation of IaC configurations. In this survey, we delve into the details of IaC, usage of IaC in different platforms, their challenges, LLMs in terms of code-generation aspects and the importance of LLMs in IaC along with our own experiments. Finally, we conclude by presenting the challenges in this area and highlighting the scope for future research.
Anthology ID:
2023.icon-1.48
Volume:
Proceedings of the 20th International Conference on Natural Language Processing (ICON)
Month:
December
Year:
2023
Address:
Goa University, Goa, India
Editors:
D. Pawar Jyoti, Lalitha Devi Sobha
Venue:
ICON
SIG:
SIGLEX
Publisher:
NLP Association of India (NLPAI)
Note:
Pages:
523–533
Language:
URL:
https://aclanthology.org/2023.icon-1.48
DOI:
Bibkey:
Cite (ACL):
K. Srivatsa Ganesh, Mukhopadhyay Sabyasachi, Katrapati Ganesh, and Shrivastava Manish. 2023. A Survey of using Large Language Models for Generating Infrastructure as Code. In Proceedings of the 20th International Conference on Natural Language Processing (ICON), pages 523–533, Goa University, Goa, India. NLP Association of India (NLPAI).
Cite (Informal):
A Survey of using Large Language Models for Generating Infrastructure as Code (Ganesh et al., ICON 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.icon-1.48.pdf