Hetzner Cloud allows you to run virtual machines in the cloud. Standard images include various generic Linux distributions, but it is also possible to run RouterOS CHR with a little workaround. You have to boot the cloud server in the rescue system, download the CHR raw disk image and write it over the system disk of the cloud server. It can be done in just a few steps.
- Create a new Hetzner Cloud server (any of the offered)
- In the cloud admin interface activate the rescue system and restart the server (ENABLE RESCUE & POWER CYCLE), choose 'linux64' as the Rescue OS. A username and passwoord will be shown. Use that to log into the rescue system via SSH
- The following command will:
- Download the CHR raw disk image from the download page using 'curl'
- Extract the image from the zip archive using 'funzip'
- Write ir over the system disk (/dev/sda) of the cloud server using 'dd'
curl -L https://download.mikrotik.com/routeros/7.1/chr-7.1.img.zip | funzip | dd of=/dev/sda bs=1M(replace the disk image link with the newest available version on the download page)
- Restart the server by issuing
rebootcommand and log into the RouterOS CHR with the default user - admin
- Please secure your RouterOS right away