Security hardening using infrastructure as code

https://doi.org/10.55214/25768484.v9i2.4697

Authors

  • Damir Regvart Department of System Engineering and Cybersecurity, Algebra University, Zagreb, Croatia.
  • Jasmin Redžepagić Department of System Engineering and Cybersecurity, Algebra University, Zagreb, Croatia. https://orcid.org/0009-0004-7184-0987
  • Adriano Bubnjek Department of System Engineering and Cybersecurity, Algebra University, Zagreb, Croatia.
  • Robert Petrunić Department of System Engineering and Cybersecurity, Algebra University, Zagreb, Croatia. https://orcid.org/0000-0002-0486-4151

This paper examines Infrastructure as Code (IaC) with Ansible to automate and enhance security hardening in Linux environments. As IT infrastructures grow more complex, manual security configurations become error-prone, inefficient, and inconsistent. IaC addresses these issues by allowing organizations to define and deploy infrastructure configurations as code, ensuring a consistent security baseline. Focusing on key settings for Firewalld, SELinux, and SSH, the study demonstrates how Ansible enforces these configurations in a scalable, repeatable, and resilient manner. Results show that using Ansible for security hardening reduces deployment times, minimizes manual errors, and ensures uniform security standards across diverse systems. This research offers a practical foundation for organizations seeking to improve their cybersecurity posture, emphasizing IaC's transformative potential in achieving secure, efficient, and adaptable infrastructure management.

Section

How to Cite

Regvart, D. ., Redžepagić, J. ., Bubnjek, A. ., & Petrunić, R. . (2025). Security hardening using infrastructure as code. Edelweiss Applied Science and Technology, 9(2), 1147–1155. https://doi.org/10.55214/25768484.v9i2.4697

Downloads

Download data is not yet available.

Dimension Badge

Download

Downloads

Issue

Section

Articles

Published

2025-02-10