Page History
Yes, you need to have a valid license on server and cloud. The licence can be a trial, but for Server needs to be updated to the latest one ( version 5.0.0 or above).
See more Frequently Asked Question about Migration from Server to Cloud:
Content by Label cql label = "migration_server_cloud"