Uppsats
Bridging the Gap Between ClickOps and DevOps : Exploring Retrieval-Augmented Generation for Infrastructure as Code Generation
Kandidat-uppsats
Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)
Publicerad: 2026
Språk: Engelska
Sammanfattning
Junior software developers transitioning from manual ClickOps workflows to Infrastructure as Code (IaC) face a steep learning curve and elevated risks of misconfigurations and security vulnerabilities. Recent research has explored the use of large language models (LLMs) and intent-based systems to automate infrastructure provisioning, with promising results in intent interpretation and orchestration. However, prior work primarily addresses automation performance and system architecture, with limited attention to how these tools support junior developers or mitigate risks in DevOps workflows. This bachelor thesis in Computer Science builds on this prior work by designing and evaluating a Retrieval-Augmented Generation (RAG)-based artifact for IaC generation, aimed at supporting junior developers. The study empirically compares misconfigurations and security outcomes between RAG-generated and baseline raw LLM-generated Infrastructure as Code configurations using identical prompts. The results suggest that integrating retrieval-augmented generation with supplementary review context and an LLM-based self-evaluation mechanism improves the initial quality of generated IaC relative to a raw LLM baseline. The findings also reveal clear model-dependent differences: Claude-based configurations generally required less refinement effort and achieved lower task difficulty ratings than OpenAI-based configurations. Notably, syntactic correctness and security scores alone were not reliable indicators of deployment readiness, as configurations that passed static validation still failed during execution. Overall, the study suggests that RAG combined with self-evaluation mechanisms can improve IaC generation quality and may offer pedagogical value for junior developers, but they do not eliminate the need for human oversight. The findings reinforce that LLM-based IaC tools should be viewed as assistive systems rather than fully reliable automation solutions.
Information
- Författare
- Sanssi, Beatriz, Prichard-Lybeck, Sabrina
- Lärosäte / institution
- Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)
- Publiceringsdatum
- 2026
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Linköpings universitet/Institutionen för datavetenskap
Pavlov, Marko, Ek, Benjamin
Publicerad: 2025
Kandidat-uppsats, KTH/Skolan för elektroteknik och datavetenskap (EECS)
Uddin, Joel, Wiebe Werner, Nils
Publicerad: 2024
Master-uppsats, Göteborgs universitet/Institutionen för data- och informationsteknik
Ganesh, Sundarakrishnan, Sahlqvist, Robert
Publicerad: 2024-10-16
Master-uppsats, Luleå tekniska universitet/Institutionen för system- och rymdteknik
Mohapatra, Sushanta
Publicerad: 2025
Master-uppsats, KTH/Transportplanering
CHANDER CHANDRASEKAR, TRISHA
Publicerad: 2024
Kandidat-uppsats, Institutionen för tillämpad informationsteknologi
Carl Backman, Viktor Svanström
Publicerad: 2026-07-03