Microsoft Azure

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.

Creating a resource group

  1. Open Menu / All services / General / Resource groups

  2. In the Resource groups tab, select Create

  3. Enter the group name, for example MikoPBX_group

  4. Use default values for other fields

  5. After entering the values, click the Review + create button, then the Create button

Creating a storage account

  1. Open Menu / All services / Analyze and transform data / Storage accounts

  2. In the Storage accounts tab, select Create

  3. Specify the created resource group MikoPBX_group

  4. Enter the storage account name, for example pbximgs

  5. Use default values for other fields

  6. After entering the values, click the Review + create button, then the Create button

Configuring the created storage account

  1. Go to the card of the created storage account pbximgs

  2. In the opened tab, go to the Data storage / Containers

  3. Add a new container

  4. Enter the container name, for example imgs

  5. Click the Create button

  1. Open the created container imgs

  2. In the opened tab, select Upload

  3. Select a file from the MikoPBX distribution with the .vhd extension

  4. Click the Upload button

Creating an image

  1. Open Menu / All services / Compute / Images

  2. In the Images tab, select Create, let's create a new image based on the uploaded *.vhd file

  3. Specify the resource group MikoPBX_group

  4. Enter a unique name for the image, for example MikoPBX_Azure

  1. Specify the OS type - Linux

  2. Specify the generation of virtual machines - Gen 1

  3. Select the blob storage object by clicking Browse, Browse / pbximgs / imgs / *.vhd

  4. Specify the account type - Standard HDD

  5. Use default values for other fields

  6. After entering the values, click the Review + create button, then the Create button

Creating a virtual machine

  1. Open Menu / All services / Compute / Virtual machines

  2. In the Virtual machines tab, select Create / Azure virtual machine

  3. Specify the resource group MikoPBX_group

  4. Enter the virtual machine name, for example MikoPBX-vm

  1. Choose the previously created image, See all images / Other items / My images / MikoPBX_Azure

  2. Specify the machine size (combination of CPU / RAM to be at least 1GB / HDD parameters)

  1. Specify the username for the administrator account

If you have an SSH key, do the following

  1. Select the source of the SSH public key - Use existing public key

  2. Specify it in the SSH public key field

If you do not have an SSH key, do the following

  1. Select the source of the SSH public key - Generate new key pair

  2. Specify the key pair name, for example mikopbx_key

Continue with the following instructions:

  1. In the license type field, specify Other

  2. 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

  1. Go to the Disks tab

  2. Specify the OS disk type

  3. Check the Delete with VM checkbox

  1. Create a new data disk

  2. Specify the disk size to be at least 50GB

  3. Use default values for the other fields, click OK

  1. After entering the values, click the Review + create button, then click Create

Configuring ports for incoming connections

  1. Open the virtual machine you created and go to Networking / Network settings / Rules

  2. In the tab, choose Create inbound port rule

  3. Specify the destination port ranges - 0 - 65535

  4. Choose the protocol TCP

  1. Specify a name, for example TCP

  2. Use default values for the other fields

  3. After entering the values, click the Add button

  1. 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

Starting MikoPBX

  1. Open the virtual machine you created and go to the Connect section

  2. In the drop-down menu under More ways to connect, select Serial console

  1. Copy the external address of the created virtual machine and enter it in the browser's address bar

  2. For login use the login and password provided in Serial console

Last updated