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?
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
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:
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
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.
Puttygen > Load a .rsa key and Save button to save as .ppk file.
Putty > Connection > SSH > Auth > Browce… and select the .ppk file
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.
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.
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.
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. for this operation.