使用大型语言模型生成基础设施即代码的综述
A Survey of using Large Language Models for Generating Infrastructure as Code
AI总结:
本文综述了利用大型语言模型自动生成基础设施即代码的可行性,分析 IaC 平台与挑战、LLM 代码生成能力及实验,并指出未来研究方向。
摘要:
基础设施即代码(IaC)是一种革命性的方法,已在工业界获得显著重视。IaC 通过使用机器可读代码管理和配置 IT 基础设施,实现自动化、跨环境一致性、可复现性、版本控制、错误减少以及可扩展性提升。然而,IaC 编排往往是一项费力的工作,需要专业技能以及大量人工投入。在当前工业条件下,IaC 的自动化是必要的,在本综述中,我们研究应用大型语言模型(LLM)解决这一问题的可行性。LLM 是基于大型神经网络的模型,已展现出显著的语言处理能力,并能在广泛范围内遵循各种指令。最近,它们也已被成功应用于代码理解和生成任务,这使其成为自动生成 IaC 配置的有前景的选择。在本综述中,我们深入探讨 IaC 的细节、IaC 在不同平台中的使用、其面临的挑战、LLM 在代码生成方面的能力以及 LLM 在 IaC 中的重要性,并结合我们自己的实验。最后,我们通过呈现该领域的挑战并强调未来研究的范围来得出结论。
英文摘要:
Infrastructure as Code (IaC) is a revolutionary approach which has gained significant prominence in the Industry. IaC manages and provisions IT infrastructure using machine-readable 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。