In cloud-based, we store the data in an external or third-party cloud-based storage, whereas in on-premise we have to build the infrastructure to save the data.