Easy way for install Mikrotik’s Cloud Hosted Router on any Cloud VM

Many cloud providers not allows uploading ISOs and not provides any option for install custom OS. This is not a problem, because I’ll show you how you can prepare Mikrotik VM on any cloud in easy 5 steps.

  1. Create new cloud VM (Ubuntu or Debian it does not matter…)
  2. Boot, then mount tempfs to /tmp
mount -t tmpfs tmpfs /tmp/

3. Now we need to go https://www.mikrotik.com/download and download “Cloud Hosted Router” image

cd /tmp
wget https://download2.mikrotik.com/routeros/6.39.3/chr-6.39.3.img.zip

4. Next step, extract our image and flash it to HDD

unzip chr-6.39.3.img.zip
dd if=chr-6.39.3.img of=/dev/vda bs=4M

5. Now force reboot

echo 1 > /proc/sys/kernel/sysrq 
echo b > /proc/sysrq-trigger