Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3704440.3704778acmconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
short-paper
Open access

An LLM-driven Framework for Dynamic Infrastructure as Code Generation

Published: 27 December 2024 Publication History

Abstract

This paper proposes a Large Language Model (LLM)-driven framework for generation of Infrastructure as Code (IaC) in dynamic environments. While IaC simplifies infrastructure management, static templates are often inadequate. Leveraging recent LLM advancements, we design and integrate requirements refinement, retrieval-augmented generation (RAG), and code ensemble methods to improve IaC code accuracy. Preliminary results show that, despite challenges(syntax errors and hallucinations), manual adjustments enable executable code, suggesting potential for dynamic generation.

References

[1]
Cois et al. 2014. Modern DevOps: Optimizing software development through effective system interactions. In 2014 IEEE international professional communication conference (IPCC). IEEE, 1--7.
[2]
Kaddour et al. 2023. Challenges and applications of large language models. arXiv preprint arXiv:2307.10169 (2023).
[3]
Pimparkhede et al. 2024. DocCGen: Document-based Controlled Code Generation. arXiv preprint arXiv:2406.11925 (2024).
[4]
Pujar et al. 2023. Automated code generation for information technology tasks in yaml through large language models. In 2023 60th ACM/IEEE Design Automation Conference (DAC). IEEE, 1--4.
[5]
D. Sokolowski. 2022. Infrastructure as code for dynamic deployments. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering.
[6]
Wang et al. 2024. Grammar prompting for domain-specific language generation with large language models. Advances in Neural Information Processing Systems 36 (2024).

Index Terms

  1. An LLM-driven Framework for Dynamic Infrastructure as Code Generation

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    Middleware '24: Proceedings of the 25th International Middleware Conference: Demos, Posters and Doctoral Symposium
    December 2024
    37 pages
    ISBN:9798400713545
    DOI:10.1145/3704440
    This work is licensed under a Creative Commons Attribution-NonCommercial International 4.0 License.

    Sponsors

    In-Cooperation

    • IFIP: International Federation for Information Processing

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 December 2024

    Check for updates

    Author Tags

    1. Dynamic Generation
    2. IaC
    3. LLM

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Funding Sources

    • Institute of Information & communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT)

    Conference

    MIDDLEWARE '24
    Sponsor:
    MIDDLEWARE '24: 25th International Middleware Conference
    December 2 - 6, 2024
    Hong Kong, Hong Kong

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 45
      Total Downloads
    • Downloads (Last 12 months)45
    • Downloads (Last 6 weeks)45
    Reflects downloads up to 13 Jan 2025

    Other Metrics

    Citations

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media