Alibaba Cloud
Installing MikoPBX using the Alibaba Cloud platform
Last updated
Was this helpful?
Installing MikoPBX using the Alibaba Cloud platform
Last updated
Was this helpful?
This guide applies to MikoPBX version 2024.2.135 and later!
This step-by-step guide will walk you through installing MikoPBX on the Alibaba Cloud platform.
Before starting, download the latest .raw MikoPBX image from MikoPBX’s GitHub releases.
First, create a bucket for storing your image. Go to the OSS Management Console (link).
Go to Buckets.
Click Create Bucket:
Specify the following:
Bucket name – a custom name for your storage.
Region – pick the region where your image will be stored.
The bucket region for your image must match the region of your future virtual machine!
Click OK.
Go to your newly created bucket by clicking its name in the Buckets section:
Click Upload object and upload the previously downloaded .raw disk image file (leave other parameters at default).
Once the disk image file is uploaded, copy its link. Click View Details to the right of the file name; in the opened menu, copy the URL field.
Return to the ECS Console (link) and go to Images.
Click Import Image:
Select Linux Operating System and click Next.
Enter/select the following image parameters:
Image File URL – Paste the link to the disk image file you uploaded.
Image Name – A custom, unique name for your image.
OS Type – Linux
OS Version – Others Linux
Architecture – 64-bit OS
Uncheck "Check After Import"
Click OK to create the image. Wait until the process finishes (the Status will show Available).
Next, create and add an SSH key pair in Alibaba Cloud.
In the ECS Console, go to Network Security → Key Pairs:
Click Create SSH Key Pair:
Generate an SSH key pair. For details on how to generate a key pair, see this guide. Fill in the required parameters:
Name – A custom name for your key pair.
Creation Mode – Import
Public Key – Paste your public key, generated earlier.
Resource Group – Choose your resource group.
Click OK to create the key pair in the cloud.
Before creating the virtual machine, you must set up a security group (firewall).
Go to Network & Security → Security Groups:
Click Create Security Group:
Specify the following security group parameters:
Security Group – A custom name for your security group.
Network – Your selected network. If it doesn’t exist yet, click "Create VPC" to the right.
Security Group – Basic Security Group.
Resource Group – Your resource group.
Allow all inbound connections (see example below). Outbound is allowed by default.
Be sure to configure the firewall within MikoPBX itself as soon as possible after creating the virtual machine. Read more about that here.
Click Create Security Group.
Go to Instances & Images → Instances:
Click Create Instance to create a new virtual machine:
Select your VM parameters:
Billing Method – Choose how you’ll pay for the VM.
Region, Network, and Zone – Select the region and zone to match your needs.
Instance – Pick a configuration for your VM.
Configure additional VM parameters:
Image – Custom Images → Choose the previously imported image.
Storage – Select the type and size of the System Disk (20 GB is the minimum for Alibaba Cloud).
Add a second disk by clicking Add Data Disk, specifying its type and size.
We recommend a minimum of 50GB for call recordings.In this guide we use 30GB as an example.
Choose the network parameters for your VM. The security group created earlier will be assigned automatically:
Click Create Order.
In the Instances section, open the newly created VM by clicking its name.
Click Connect.
Select VNC. A new tab will open in your browser with console access.
For more information on SSH connections, refer to this set of articles. In this guide, we demonstrate SSH access via PowerShell.
Enter the following command to connect via SSH:
Replace:
C:\Users\username\.ssh\id_ed25519
with the path to your SSH key,
root
if you changed the default user when creating the VM,
ip-adress
with the external IP address of your MikoPBX instance.
You will then connect via SSH:
On the VM’s main page, you’ll see important parameters for logging into the MikoPBX web interface.
Paste the IP address into your browser’s address bar to access the MikoPBX web interface login page.
Login credentials:
Username: admin
Password: Your Virtual Machine’s ID