Microsoft Azure
Last updated
Last updated
First, log in to the Microsoft Azure portal https://portal.azure.com/
Let's proceed with the setup.
For quick and convenient searching on the Azure portal, use the search bar.
Open Menu / All services / General / Resource groups
In the Resource groups tab, select Create
Enter the group name, for example MikoPBX_group
Use default values for other fields
After entering the values, click the Review + create button, then the Create button
Open Menu / All services / Analyze and transform data / Storage accounts
In the Storage accounts tab, select Create
Specify the created resource group MikoPBX_group
Enter the storage account name, for example pbximgs
Use default values for other fields
After entering the values, click the Review + create button, then the Create button
Go to the card of the created storage account pbximgs
In the opened tab, go to the Data storage / Containers
Add a new container
Enter the container name, for example imgs
Click the Create button
Open the created container imgs
In the opened tab, select Upload
Select a file from the MikoPBX distribution with the .vhd extension
Click the Upload button
Open Menu / All services / Compute / Images
In the Images tab, select Create, let's create a new image based on the uploaded *.vhd file
Specify the resource group MikoPBX_group
Enter a unique name for the image, for example MikoPBX_Azure
Specify the OS type - Linux
Specify the generation of virtual machines - Gen 1
Select the blob storage object by clicking Browse, Browse / pbximgs / imgs / *.vhd
Specify the account type - Standard HDD
Use default values for other fields
After entering the values, click the Review + create button, then the Create button
Open Menu / All services / Compute / Virtual machines
In the Virtual machines tab, select Create / Azure virtual machine
Specify the resource group MikoPBX_group
Enter the virtual machine name, for example MikoPBX-vm
Choose the previously created image, See all images / Other items / My images / MikoPBX_Azure
Specify the machine size (combination of CPU / RAM to be at least 1GB / HDD parameters)
Specify the username for the administrator account
If you have an SSH key, do the following
Select the source of the SSH public key - Use existing public key
Specify it in the SSH public key field
If you do not have an SSH key, do the following
Select the source of the SSH public key - Generate new key pair
Specify the key pair name, for example mikopbx_key
Continue with the following instructions:
In the license type field, specify Other
Use default values for the other fields
To deploy the PBX use two disks:
A 1 Gb disk for the main system
A 50+ Gb disk for storing call recordings
Go to the Disks tab
Specify the OS disk type
Check the Delete with VM checkbox
Create a new data disk
Specify the disk size to be at least 50GB
Use default values for the other fields, click OK
After entering the values, click the Review + create button, then click Create
Open the virtual machine you created and go to Networking / Network settings / Rules
In the tab, choose Create inbound port rule
Specify the destination port ranges - 0 - 65535
Choose the protocol TCP
Specify a name, for example TCP
Use default values for the other fields
After entering the values, click the Add button
Similarly, create a rule for UDP. Specify the destination port ranges - 0 - 65535, protocol UDP, and name
Make sure to configure the Firewall on the MikoPBX
Open the virtual machine you created and go to the Connect section
In the drop-down menu under More ways to connect, select Serial console
Copy the external address of the created virtual machine and enter it in the browser's address bar
For login use the login and password provided in Serial console