The do's and don'ts of infrastructure code: A systematic gray literature review

Indika Kumara, Martín Garriga, Angel Urbano Romeu, Dario Di Nucci, Damian Andrew Tamburri, Willem-Jan van den Heuvel, Fabio Palomba

Research output: Contribution to journalReview articlepeer-review

30 Citations (Scopus)

Abstract

Context: Infrastructure-as-code (IaC) is the DevOps tactic of managing and provisioning software infrastructures through machine-readable definition files, rather than manual hardware configuration or interactive configuration tools. Objective: From a maintenance and evolution perspective, the topic has picked the interest of practitioners and academics alike, given the relative scarcity of supporting patterns and practices in the academic literature. At the same time, a considerable amount of grey literature exists on IaC. Thus we aim to characterize IaC and compile a catalog of best and bad practices for widely used IaC languages, all using grey literature materials. Method: In this paper, we systematically analyze the industrial grey literature on IaC, such as blog posts, tutorials, white papers using qualitative analysis techniques. Results: We proposed a definition for IaC and distilled a broad catalog summarized in a taxonomy consisting of 10 and 4 primary categories for best practices and bad practices, respectively, both language-agnostic and language-specific ones, for three IaC languages, namely Ansible, Puppet, and Chef. The practices reflect implementation issues, design issues, and the violation of/adherence to the essential principles of IaC. Conclusion: Our findings reveal critical insights concerning the top languages as well as the best practices adopted by practitioners to address (some of) those challenges. We evidence that the field of development and maintenance IaC is in its infancy and deserves further attention.
Original languageEnglish
Article number106593
Pages (from-to)106593
Number of pages1
JournalInformation and Software Technology
Volume137
DOIs
Publication statusPublished - Sept 2021

Keywords

  • Infrastructure-as-code
  • DevOps
  • Grey literature review

Fingerprint

Dive into the research topics of 'The do's and don'ts of infrastructure code: A systematic gray literature review'. Together they form a unique fingerprint.

Cite this