Learn Terraform: infrastructure as code in HCL, providers and resources, plan and apply, state and locking, modules, drift and safe workflows.
Declare servers, networks and DNS in .tf files. terraform plan shows what will change, terraform apply does it, and the code is the record.