The entire cloud infrastructure was provisioned using Terraform to ensure consistency, scalability, and reproducibility.Reusable Terraform modules were used to create the VPC, subnets, internet gateway, route tables, security groups, key pairs, and EC2 instances.Ansible was employed to automate the configuration and deployment process, following best practices and ensuring modularity and scalability.The approach taken allowed for repeatable, scalable, and consistent deployments across environments.