When organisations adopt DevOps methodology within their organisation, the infrastructure must become agile. Hence, infrastructure as a code (IaC) becomes crucial as uniformity between test and production environments, rapid prototyping and testing and predictability in deployment becomes the need of the hour. IaC lowers the costs of managing infrastructure while maintaining quality control.