Need help to migrate from centOS tu Ubuntu

We have a centOS 7 with zerotier service and others, so we need to migrate the OS to ubuntu because of the EOL of centOS. The problem is that the easiest option is to reinstall in a new machine but we don’t have that option. How we could to migrate Zerotier service to ubuntu server?