Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Tutorials
    • All tutorials
    • Architecture and protection of a basic internet service
    • Cost analysis by resource using Object Storage
      • Configuring time synchronization using NTP
      • DHCP settings for working with a corporate DNS server
      • Installing the Cisco CSR 1000v virtual router
      • Installing a Mikrotik CHR virtual router

In this article:

  • Prepare your cloud
  • Required paid resources
  • Create a VM with Mikrotik Cloud Hosted Router
  • Change the administrator password on the router
  • Create a test VM
  • Check the connection between the router and test VM
  • Delete the resources you created
  1. Basic infrastructure
  2. Network
  3. Installing a Mikrotik CHR virtual router

Installing a Mikrotik CHR virtual router

Written by
Yandex Cloud
Updated at May 7, 2025
  • Prepare your cloud
    • Required paid resources
  • Create a VM with Mikrotik Cloud Hosted Router
  • Change the administrator password on the router
  • Create a test VM
    • Check the connection between the router and test VM
  • Delete the resources you created

In Yandex Cloud, you can deploy a virtual Mikrotik Cloud Hosted Router from a ready-made VM image. To install Mikrotik Cloud Hosted Router and check its operability:

  1. Before you start.
  2. Create a VM with Mikrotik Cloud Hosted Router.
  3. Log in to your VM and change your password.
  4. Create a test VM.
  5. Check the connection between the router and test VM.

If you no longer need these resources, delete them.

Prepare your cloudPrepare your cloud

Sign up in Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or register a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can navigate to the cloud page to create or select a folder for your infrastructure to operate in.

Learn more about clouds and folders.

Required paid resourcesRequired paid resources

Alert

When you use a Mikrotik Cloud Hosted Router image without a license, the router throughput is limited to 1 Mbps. To remove this limit, install a license.

The cost of using a virtual router and test VM includes:

  • A fee for the disks and continuously running VMs (see Yandex Compute Cloud pricing).
  • A fee for using a public IP address (see Yandex Virtual Private Cloud pricing);

Create a VM with Mikrotik Cloud Hosted RouterCreate a VM with Mikrotik Cloud Hosted Router

  1. Open your folder and click Create resource. Select Virtual machine.
  2. Enter a name for the VM, like mikrotik-router.
  3. Select an availability zone with a subnet. If you don't know which availability zone you need, leave the default.
  4. Under Image/boot disk selection, go to the Cloud Marketplace tab and select the Cloud Hosted Router image.
  5. Under Computing resources:
    • Select the VM's platform.
    • Specify the number of vCPUs and amount of RAM:
      • Platform: Intel Ice Lake.
      • Guaranteed vCPU share: 100%
      • vCPU: 2.
      • RAM: 2 GB.
  6. In the Network settings section, choose the required network and subnet and assign a public IP to the VM either by selecting it from the list or automatically. If you don't have a network or subnet, create them on the VM creation screen.
  7. In the Access field, enter the login and SSH key to access the VM. Note that you only need this data for VM creation. You can't use the data for router access.
  8. Click Create VM.

Creating the VM may take several minutes. When the VM's status changes to RUNNING, you can log in.

Alert

Set a complex administrator password immediately after VM creation.

Change the administrator password on the routerChange the administrator password on the router

The router is created with a public IP address, so you need to change the default administrator password for security reasons.

  1. Open the mikrotik-router VM page in the management console.
  2. Copy the VM's public address and open it in your browser. The initial router setup screen opens.
  3. Enter the VM's internal IP address in the IP Address field.
  4. On the page that opens, enter the new administrator password, confirm it, and click Apply Configuration. You can make other setting later.

Create a test VMCreate a test VM

Create a test VM in the subnet that hosts the router, to test connectivity between the router and VM.

  1. On the management console folder page, click Create resource and select Virtual machine.

  2. In the Name field, enter the VM name: test-vm.

  3. Choose the same Availability zone that the mikrotik-router is in.

  4. Under Image/boot disk selection, click the Cloud Marketplace tab and select Ubuntu as your image.

  5. Under Computing resources:

    • Select the VM's platform.
    • Specify the necessary number of vCPUs and amount of RAM.
    • Platform: Intel Ice Lake.
    • Guaranteed vCPU share: 20%
    • vCPU: 2.
    • RAM: 1 GB.
  6. Under Network settings, select the network and subnet hosting the mikrotik-router VM.

  7. In the Public address field, choose No address:

  8. In the Access field, enter the login and SSH key to access the VM.

  9. Click Create VM.

Check the connection between the router and test VMCheck the connection between the router and test VM

Alert

If you use WinBox to access the router, connect to the router using the VM's IP address. MAC access is not supported in Yandex Cloud.

Make sure that a network connection has been established between the router and test VM:

  1. Open the router's administrative interface in the browser.
  2. Click Terminal.
  3. In the terminal that opens, run ping <internal IP address of the test VM>.

If the packets reach the test VM, you can start configuring the router. To learn how to work with the router, see the Mikrotik documentation.

Delete the resources you createdDelete the resources you created

To stop paying for your deployed resources, delete the mikrotik-router and test-vm VMs.

If you reserved a public static IP address, delete it.

Was the article helpful?

Previous
Installing the Cisco CSR 1000v virtual router
Next
Solution architecture
© 2025 Direct Cursus Technology L.L.C.