Authors: Jay Dipak Thakar, Vaishnavi Punalkar, Dr. Deepak Singh
Abstract: Cloud computing has changed how organizations build and run their IT systems. In the traditional way of working, virtual machines, networks, storage and security rules are set up by hand, through a management console or a command line. That is fine for a small setup, but as environments grow it turns repetitive, hard to reproduce and easy to get wrong. Infrastructure as Code (IaC) tackles the problem by describing infrastructure in configuration files that can be reviewed, versioned and applied the same way every time. This paper looks at automated infrastructure management with HashiCorp Terraform on Amazon Web Services (AWS). It walks through IaC principles, how Terraform is put together, provider-based resource management, state files, reusable modules and a typical deployment workflow, and it covers use cases such as virtual networks, compute instances, storage and access policies. The benefits discussed are consistency, repeatability, faster environment creation and better teamwork. The limits discussed are state security, configuration drift, credentials, cost and accidental deletion. We also propose a conceptual workflow for planning, reviewing, deploying and maintaining AWS infrastructure through Terraform. The work rests on a review of technical documentation and established IaC practice. It does not claim measured performance results from a production experiment.