While both of these are open-source softwares and considered “Infrastructure as Code” (IaC) tools, certain teams or organizations may have a preference between Terraform and Ansible. Generally, you’ll see Terraform recommended for from-scratch infrastructure setups related to cloud services, while Ansible can be preferred for ongoing automation and updates to existing infrastructure. For more in-depth information about specific uses for each of these tools, try out courses from A Cloud Guru or look into the information provided by each software’s developer.