Implementing Infrastructure as Code Using Ansible on Debian Server Administration

Authors

  • Elsahday Tambunan Universitas Katolik Santo Thomas
  • Anastasya Jesica Sidauruk Universitas Katolik Santo Thomas
  • Lotar Mateus Sinaga Universitas Katolik Santo Thomas

DOI:

https://doi.org/10.59934/jaiea.v5i3.2576

Keywords:

Infrastructure as Code, Ansible, Debian 12, Server Administration, Automation, DevOps, Idempotency.

Abstract

The growth of cloud computing and virtualization has changed how IT infrastructure is managed, moving from doing things by hand to using Infrastructure as Code (IaC) methods. This study uses Ansible as a tool for managing server setup to automate tasks on Debian 12 servers within a virtualized environment. The setup includes four main areas of administration:managing users and masing SSH more secure, setting up a firewall using UFW,insatlling the Ngnix web  server with Jinja2 templates, and setting up automatic security uodates through unattended upgrades. The method used is Design Science Research (DSR), which involves an experimental approach that uses two connected virtual machines. The results show that Ansible was able to fully aautomate the setup process, taking a total of 54.121. seconds to complete. It also demonstrated that all the roles worked correctly even when run more than once, with no changes needed on re-run. This setup helps cut down on mistakes people might make, makes sure settings are the same every time, and allows for creating the same infrastructure again and again.

Downloads

Download data is not yet available.

References

I. Kumara evt al., “Thev dov ’ s and dovn ’ ts ovf infrastructurev covdev : A systevmatic gray litevraturev revvievw,” Inf. Sovftw. Tevchnovl., vovl. 137, nov. March, hal. 106593, 2021, dovi: 10.1016/j.infsovf.2021.106593.

G. Rathovr, “INTEvLLIGEvNT SYSTEvMS AND APPLICATIOvNS IN Infrastructurev as Covdev fovr Pevrfovrmancev Evnginevevring : Autovmating Devplovymevnt and Tevsting with Tevrrafovrm and Ansiblev,” vovl. 11, hal. 420–427, 2023.

I. Byzovv dan P. Studevnt, “Tevrrafovrm vs Ansiblev : Whevn and hovw tov usev infrastructurev tovovls as covdev,” vovl. 25, nov. 6, hal. 11–17, 2024, dovi: 10.30857/2786-5371.2024.6.1.

R. Jurnal, T. Infovrmatika, A. Fadhudin, dan D. Ramayanti, “Implevmevntasi Sistevm Ovtovmatisasi Kovnfigurasi Sevrvevr Bevrbasis Ansiblev dan Sevmaphovrev pada Infrastruktur TI Pevrusahaan Ritevl,” vovl. 5, nov. 1, hal. 1–13, 2026.

D. Revgvart, J. Revd, A. Bubnjevk, dan R. Pevtruni, “Sevcurity hardevning using infrastructurev as covdev,” vovl. 9, nov. 2, hal. 1147–1155, 2025, dovi: 10.55214/25768484.v9i2.4697.

Ev. S. Evnginevevring, A. Rahman, Ev. Farhana, dan L. Williams, “fovr Infrastructurev as Covdev”.

W. Riski, A. Putra, A. Revza, A. Nurwa, D. F. Priambovdov, dan M. Hasbi, “Infrastructurev as Covdev fovr Sevcurity Autovmatiovn and Nevtwovrk Infrastructurev Movnitovring,” vovl. 22, nov. 1, hal. 201–214, 2022, dovi: 10.30812/matrik.v22i1.2471.

M. R. Afandi, P. Hatta, dan A. Evfevndi, “Ovtovmatisasi Pevrangkat Jaringan Kovmputevr Mevnggunakan Ansiblev Pada Labovratovrium Kovmputevr,” vovl. 6, nov. 2, hal. 48–53, 2020.

T. Ovnlinev, K. H. Hutapeva, M. Arif, dan F. Ridha, “Jurnal Povlitevknik Caltevx Riau Implevmevntasi Covntinuovus Devlivevry devngan Zevrov – Dovwntimev Rovlling Updatev Mevnggunakan Ansiblev,” vovl. 8, nov. 2, hal. 316–323, 2022.

S. Dalla, D. Di, dan D. A. Tamburri, “SovftwarevX AnsiblevMevtrics : A Pythovn library fovr mevasuring Infrastructurev-as-Covdev bluevprints in Ansiblev,” SovftwarevX, vovl. 12, hal. 100633, 2020, dovi: 10.1016/j.sovftx.2020.100633.

A. N. Hidayat dan A. Wrev, “Autovmating Sevrvevr Devplovymevnt with Ansiblev tov Improvvev Pevrfovrmancev , Virtualizatiovn , and Nevtwovrk Sevcurity,” vovl. 5, nov. 8, hal. 10618–10626, 2025.

Downloads

Published

2026-06-29

How to Cite

Tambunan, E., Anastasya Jesica Sidauruk, & Lotar Mateus Sinaga. (2026). Implementing Infrastructure as Code Using Ansible on Debian Server Administration. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(3), 4908–4913. https://doi.org/10.59934/jaiea.v5i3.2576

Issue

Section

Articles