Studi Komparatif Kombinasi Terraform-Chef, Terraform-Ansible, dan CloudFormation dalam Otomatisasi Provisioning dan Konfigurasi Web Server pada Platform AWS
Infrastructure as Code (IaC) is commonly applied in two layers, with Terraform for provisioning and Ansible or Chef for configuration management, while AWS CloudFormation offers a native single-tool approach. No quantitative study has compared these three approaches as two-layer (provisioning and configuration) combinations that include Chef. This study deployed an identical Multi-AZ WordPress site on AWS with Terraform-Chef, Terraform-Ansible, and CloudFormation, 10 times each, measuring deployment time, error rate, and idempotency. Terraform-Chef was significantly faster than Terraform-Ansible in total time (1751.73 vs 1894.24 s; d = 1.79) and configuration time (161.70 vs 269.60 s; d = 2.54), while infrastructure time did not differ. The advantage held after Holm-Bonferroni correction and in timing-marker and outlier sensitivity analyses. CloudFormation had the fastest configuration time (68.20 s) but the slowest infrastructure time, so its total time was not faster than Terraform-Chef. No configuration failures occurred under clean conditions. Both Terraform combinations were idempotent in 5 of 5 iterations, while CloudFormation showed no changes or drift at the declarative layer, a different construct not compared directly. Terraform-Chef excels in configuration speed, while CloudFormation suits AWS-only environments.
Authors
- Haeruddin Haeruddin (ORCID: https://orcid.org/0000-0003-0377-2244)
- Hardy Setiawan
- Stefanus Prasetyo
Institutions
- Universitas Internasional Semen Indonesia (ID)
- International University of Batam (ID)
Publication Details
- Journal
- JTIM Jurnal Teknologi Informasi dan Multimedia
- Published
- 2026-11-27
- DOI
- https://doi.org/10.35746/jtim.v8i4.1248
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00