server on cloud - what to install?

Hello,
I want to run a mikrotik server on Amazon cloud
from what I read and understadn I need to first install any version of Linux then install the mikrotik image - is this correct?
or I can upload image to the cloud?

can I work according to this guide:
https://medium.com/@kvapss/easy-way-for-install-mikrotiks-cloud-hosted-router-on-any-cloud-vm-fb1cf7302b85
is this the right way to do this?

is there anything I need to know ?

Thanks ,

In AWS you can select Mikrotik CHR at VM creation time. No need to install Linux or anything else… Just choose Mikrotik CHR instead of Windows, Ubuntu or any other thing

Enviado desde mi Redmi 3 mediante Tapatalk

OK

Today I have been inform that we are not going to work with Amazon ,but with Oracle Cloud
can I do the same thing there?

I have look on the “ready to use” images \ OS - and ther is no mikrotik there

Yes there are images on mikrotik.com download page, under CHR section.
we have plenty of guides for different clouds, maybe you can read all of them, and will be able to use that knowledge to understand how your oracle cloud works:

https://wiki.mikrotik.com/wiki/Manual:CHR

great - it’s working!

I have notice that the lisence is free
are there any limitations?
for example - how may l2tp client can the server have ?

Thanks ,

Its free for 1Mbit…

https://wiki.mikrotik.com/wiki/Manual:CHR#CHR_Licensing

Hello,

How did you manage to install a CHR instance on Oracle Cloud? I’m unable to get this working.

yes , without any problem
uplaod the image to the backet and install from there
make sure you open the port ssh\winbox in the security list
it’s working for me for 5 months now

Tricky process.
My Steps:

Register with Oracle Cloud, select your Region, finish with Debet/Credit Card.
https://www.oracle.com/cloud/

  • Menu > Object Storage > Object Storage
    Here we add new bucket-10GB (free)
    Download a CHR in vmdk from mikrotik.com
    Upload a chr-*vmdk file here on OCI.
  • Menu > Compute > Custom Images
    Import Image from Bucket-10GB, vmdk image type, paravirtualized mode.
    This will in progress few minutes !
    Click at this “Custom Image” you create and press the “Edit Details” button → ENABLE compatibility with VM.Standard.E2.1.Micro and save changes.
  • Menu > Compute > Instances
    Create a new VM and you must check all AD1, AD2, AD3 locations, because maybe only one of them can run VM.Standard.E2.1.Micro
    Remember change password, add other security policy when you connect to it.
    Download all .key and .pub files because they are necessary for future recovery access to console or vnc !!!.
  • Menu > Networking > Virtual Cloud Networks > click at name > below “Resources” > Security List - Here you can add new rule to enable access to WinBox/VPN etc services to ALL INSTANCES.

Tips: To use Putty with instance private key you must convert it to PPK: https://ocikb.com/2020/08/convert-oci-compute-instance-keys-to-rsa-and-ppk

  1. openssl rsa -in ssh-key-2020-07-29.key -out ssh-key-2020-07-29.rsa
  2. Puttygen > Load a .rsa key and Save button to save as .ppk file.
  3. Putty > Connection > SSH > Auth > Browce… and select the .ppk file
  4. Putty > Connection > Data > Auto-login username: opc or ubuntu (remember, MikroTik not use that key at all, it;s only for other image).

If you use KeePassXC then you can create a new entry, in advance add a .key as attachment. Agent SSH, here you can assign a attachment key as private key. OK. Run panget.exe and in KeePassXC RMB and assign key. Now you can login remotely.

All in one screenshot

BTW.
Oracle give us additional architecture ARM, the vm with 2 OCPU have 1Gb network (480/480Mbps Internet), 4 OCPU have 2Gb network (1/1Gbps Internet). 24GB RAM.
I prefer Ubuntu 20.04 LTS.
We not have a CHR for ARM 64 - we must wait for that option.

custom images is only available for trial account, first 30 days. after that, you cannot create a virtual machine from the image :frowning:

please help me install mikrotik chr in oracle cloud

Hi,

I tried this method and it worked great.
Recently Oracle added the A1.Flex compute type in AlwaysFree. It’s ARM based. it has more cores and more memory and also more bandwidth.
I tried installing Mikrotik on it using CHR images and also ISO images but I wasn’t successful. Have you tried the A1.Flex type with Mikrotik? I’m guessing because it’s ARM based Mikrotik Cloud can not be installed on it. I’d appreciate your help. If somehow I can get it installed on it, it would be great. I would have a free Mikrotik in the cloud with 1gbps bandwidth.

Thanks

Yes, this is good news. Sorry but you must try by yourself that new platform, maybe a vmdk image of stable release will work at that platform.
My setup use both vm and they works for me as “production” and I not have a external account to test this new platform.

I tried it and it doesn’t work. I don’t know Mikrotik supports ARM-based CPUs yet. They have their own ARM-based RouterOS products, but as for installing an image or ISO file, they only support x86 architecture. All the Cloud Hosted Router images in their download section is for x86 servers. I hope they release an ISO/Image file for ARM-based servers too.

Hello

I had a free Oracle Clout but converted to an “paid” version. Uploaded Custom Image of CHR, created a free VM, updated network to open ports and CHR is running and accesible!.

Finaly, I deleted custom image and until now, no extra costs. :slight_smile: for this operation.

Thank you (Dzięki) SiB for your help! :slight_smile:

Has anyone done a comparison between AWS EC2 running CHR and the oracle method, not to clear on which one yet LOL.