Cloud-based infrastructure can be more secure than on-prem solutions if properly deployed and configured. In the cloud, the cloud provider manages and secures the underlying infrastructure, meaning that patches and updates may be applied more quickly than with on-prem solutions. However, configuration errors and a failure to deploy cloud security solutions can leave cloud-based infrastructure vulnerable to attack.