Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Sign in to the service Amazon Web Services https://aws.amazon.com
To follow the instructions, install the Amazon Command Line Utility by opening Terminal and entering the following command
Let's get started with the setup
For quick and convenient navigation within the Amazon service, use the search panel
Go to your account
From the dropdown menu, select Security credentials
If you don't have an access key, do the following
Under the Access keys table, select Create access key
Copy the Access key and Secret access key
If you already have an access key, simply copy the Access key and Secret access key
Open Services / Storage / S3
On the tab select Create bucket
Enter a unique bucket name
Use default values for other fields
After entering the values, click Create bucket
Open the created bucket and select Upload
On the opened tab select Add files
Upload the file from the MikoPBX distribution with the .raw extension
Click Upload
Wait for the file to finish uploading
If not done previously for this cloud
Create a separate folder for files on your computer
Create a file named trust-policy.json in the folder
Open Terminal and navigate to the created folder
Run the command vi trust-policy.json
Enter editing mode by pressing i and paste the text
Press ESC and type :wq to save the file
Similarly, create a file named role-policy.json and change the bucket name value in the text to the name of your created bucket
Similarly, create a file named import-image.sh, change the DEFAULT_BUCKET parameter value to the name of your created bucket and the DEFAULT_IMAGE parameter value to the name of the image uploaded to the bucket
Run the command aws configure, specify the region and copied Access key and Secret access key
Run the command
Run the command
Run the command
If the command executes successfully, a unique AMI identifier will be generated
Open Services / Compute / EC2 and navigate to Images / AMIs
Select the created image and click Launch an instance from AMI to create a virtual machine
Enter the virtual machine name, for example mikopbx-vm
Specify the instance type - t3.micro
If you have an SSH key
Specify the SSH key in the Key pair field
If you don't have an SSH key
Select Create new key pair and specify the key pair name, for example mikopbx_key
Follow the instructions further
In the Network settings section, check Allow SSH traffic and Allow HTTPS traffic
To deploy the PBX use two disks:
A 1 Gb disk for the main system
A 50+ Gb disk for storing call recordings
If necessary, change the size of the storage disk in Configure storage, default size is 50Gb
For other fields use default values
Click Launch instance
Go to the created virtual machine mikopbx-vm
On the opened tab, select Connect / EC2 serial console, wait for the system to fully load until the authentication parameters are displayed
Copy the external address of the created virtual machine and enter it in the browser's address bar
Use the login and password provided in EC2 serial console for login
Make sure to configure the Firewall on the MikoPBX
Sign in to the service Amazon Web Services https://aws.amazon.com
MikoPBX in AWS Marketplace: https://aws.amazon.com/marketplace/pp/prodview-ota6fb2tftuhw
Let's get started with the setup
For quick and convenient navigation within the Amazon service, use the search panel
Open Services / Compute / EC2 and navigate to Images / AMI Catalog
In the open tab enter MikoPBX in the search bar
In the AWS Marketplace AMIs section select the MikoPBX image by clicking the Select button
On the opened tab click Subscribe now
Click the Launch an instance from AMI button to create a virtual machine
Enter the virtual machine name, for example mikopbx-vm
If you have an SSH key
Specify the SSH key in the Key pair field
If you don't have an SSH key
Select Create new key pair and specify the key pair name, for example mikopbx_key
Follow the instructions further
To deploy the PBX use two disks:
A 1 Gb disk for the main system
A 50+ Gb disk for storing call recordings
If necessary, change the size of the storage disk in Configure storage, default size is 50Gb
Under Network settings, all required Firewall rules are configured automatically
For other fields use default values
Click Launch instance
Go to the created virtual machine mikopbx-vm
On the opened tab, select Connect / EC2 serial console, wait for the system to fully load until the authentication parameters are displayed
Copy the external address of the created virtual machine and enter it in the browser's address bar
Use the login and password provided in EC2 serial console for login
Make sure to configure the Firewall on the MikoPBX
Installing MikoPBX in Google Cloud can be done in two ways: using an image from the Google Cloud Marketplace or from an image based on a file uploaded from the MikoPBX distribution. The first method provides quick and easy deployment of the standard version of MikoPBX, while the second is suitable for intermediate releases.
The simplest way to install MikoPBX is by deploying a ready-made image from the AWS Marketplace. If you wish to launch a custom version of MikoPBX, please refer to the detailed instructions where we describe step-by-step how to create an AMI image from any MikoPBX distribution.
Log in to the platform at
MikoPBX on Google Cloud Marketplace:
Let's start with the setup
For quick and easy search on the Google Cloud platform, use the search bar
If you have a service account, check if it has the necessary roles, and add them if needed
If you do not have a service account, create one and add the necessary roles
Open the Navigation menu / Products & solutions / Management / IAM & Admin
Go to the Service accounts tab and click on CREATE SERVICE ACCOUNT
Enter a name for the service account, for example mikopbx-service-account
Click the CREATE AND CONTINUE button
Add the roles Cloud Infrastructure Manager Agent, Compute Admin, Compute Network Admin, Service Account User
Click the DONE button
Open the Marketplace and enter MikoPBX in the search bar
On the opened tab select LAUNCH
In the Deployment name field, enter a name, for example mikopbx-vm
In the Deployment Service Account section, check the Existing account option and select the previously created service account
To deploy the PBX, use two disks:
A 1 GB disk for the main system
A 50+ GB disk for storing call recordings
If necessary, change the size of the data storage disk in the Data Storage section. By default, its size is 50 GB
Under Networking, all required Firewall rules are configured automatically
For other fields, use the default values
After entering the values, click the DEPLOY button
Open the Compute Engine tab and go to the Virtual machines / VM Instance section
Go to the created virtual machine mikopbx-vm-mikopbx-vm
On the opened tab, go to Logs / Serial port 1 (console)
Copy the external address of the created virtual machine and enter it in the browser address bar
Use the login and password provided in Serial port 1 (console) to log in
Select the image
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
Authorize on the platform https://console.cloud.google.com/
Let's start configuring
For quick and convenient navigation on the Google Cloud platform, use the search pane
Open Navigation menu / Products & solutions / Storage / Cloud Storage
On the Cloud Storage tab select Create
Enter the storage name, for example miko-images
Use default values for other fields
After entering the values, click the Create button
Open the created miko-images storage
On the opened tab select UPLOAD FILES
Upload the file from the MikoPBX distribution with the .vhd extension
Wait for the file upload to complete
Open Navigation menu / APIs & Services / Library / Google Enterprise API / Cloud Build API
On the opened tab select ENABLE
Check the roles for the Cloud Build service account:
Open the IAM page https://console.cloud.google.com/projectselector2/iam-admin/iam.
Select your Google Cloud project
Check the Include Google-provided role grants checkbox
In the table, find the row with the email address ending with @cloudbuild.gserviceaccount.com
Select Edit principal
The roles to be granted to the Cloud Build service account are Compute Admin and Service Account User
If the required roles are not present, add them and click SAVE
Open Navigation menu / APIs & Services / Library / Google Enterprise API / Compute Engine API
On the opened tab select ENABLE
Open Navigation menu / Products & solutions / Compute / Compute Engine
Go to the Storage / Images section
Select CREATE IMAGE to create a new image
Enter the image name, for example mikopbx-new-image
Specify the source type - Virtual disk (VMDK, VHD)
Select Virtual disk file under the BROWSE link, Browse / miko-images / .vhd
Uncheck the Install guest packages checkbox
In the Operating system on virtual disk field specify - No operating system. Data only.
Use default values for other fields
After entering the values, click the Create button and wait for the image creation to complete
In the Compute Engine tab go to the Virtual machines / VM Instance section
Select CREATE INSTANCE
Enter the virtual machine name, for example mikopbx-vm
In the Machine configuration / General purpose table select Series - N1
In the Machine type section choose Shared-core / f1-micro from the dropdown menu
To deploy the PBX use two disks:
A 1 Gb disk for the main system
A 50+ Gb disk for storing call recordings
In the Boot disk section select CHANGE
On the opened tab go to CUSTOM IMAGES
In the Image field select the previously created mikopbx-new-image
Use default values for other fields on the tab
Click the SELECT button
In the Advanced options / Disks section select ADD NEW DISK
On the opened tab enter the disk name for data storage, for example disk-storage-mikopbx
Specify the disk size of at least 50GB
Use default values for other fields on the tab
Click the SAVE button
If you have an SSH key, proceed as follows:
In the Advanced options / Security / MANAGE ACCESS section, select ADD ITEM
Specify it in the SSH key field
If you don't have an SSH key, proceed directly to step 18
Use default values for other fields
After entering the values, click the CREATE button
Open Navigation menu / VPC network / Firewall
Select CREATE FIREWALL RULE to create a new rule for incoming connections
Enter the name of the new rule, for example internal-allow
Specify Direction of traffic - Ingress
Specify Targets
From the Source filter dropdown menu select IPV4 ranges and in the Source IPv4 ranges field enter 0.0.0.0/0
In the Protocols and ports section check the TCP (Ports - 0-65535) and UDP (Ports - 0-65535) checkboxes
Use default values for other fields
After entering the values, click the CREATE button
Make sure to configure the Firewall on the MikoPBX
Open the Compute Engine tab and go to the Virtual machines / VM Instance section
Go to the created virtual machine mikopbx-vm
On the opened tab navigate to Logs / Serial port 1 (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 port 1 (console)
Авторизуйтесь на платформе https://console.cloud.google.com/
Приступим к настройке
Для быстрого и удобного поиска на платформе Google Cloud используйте панель поиска
Откройте Navigation menu / Products & solutions / Storage / Cloud Storage
На вкладке Cloud Storage выберите Create
Введите имя хранилища, например miko-images
Для других полей используйте значения по умолчанию
Завершив ввод значений, нажмите кнопку Create
Откройте созданное хранилище miko-images
На открывшейся вкладке выберите UPLOAD FILES
Загрузите файл из дистрибутива MikoPBX с расширением .vhd
Дождитесь окончания загрузки файла
Откройте Navigation menu / APIs & Services / Library / Google Enterprise API / Cloud Build API
На открывшейся вкладке выберите ENABLE
Проверьте роли учетной записи службы Cloud Build, для этого
Откройте страницу IAM https://console.cloud.google.com/projectselector2/iam-admin/iam
Выберите свой проект Google Cloud
Установите флажок Include Google-provided role grants
В таблице найдите строку с адресом электронной почты, заканчивающимся на @cloudbuild.gserviceaccount.com
Выберите Править (Edit principal)
Роли, которые должны быть предоставлены учетной записи службы Cloud Build, - Сompute Admin и Service Account User
Если нужных ролей нет, добавьте и нажмите SAVE
Откройте Navigation menu / APIs & Services / Library / Google Enterprise API / Compute Engine API
На открывшейся вкладке выберите ENABLE
Откройте Navigation menu / Products & solutions / Compute / Compute Engine
Перейдите в раздел Storage / Images
Выберите CREATE IMAGE для создания нового образа
Введите имя образа (Name), например mikopbx-new-image
Укажите тип источника (Source) - Virtual disk (VMDK, VHD)
Выберите Virtual disk file по ссылке BROWSE, *Browse / miko-images / .vhd
Уберите флажок Install guest packages
В поле Operating system on virtual disk укажите - No operating system. Data only.
Для других полей используйте значения по умолчанию
Завершив ввод значений, нажмите кнопку Create и дождитесь окончания создания образа
Во вкладке Compute Engine перейдите в раздел Virtual machines / VM Instance
Выберите CREATE INSTANCE
Введите имя виртуальной машины (Name), например mikopbx-vm
В таблице Machine configuration / General purpose ****выберите ****Series - N1
В разделе Machine type в выпадающем меню выберите Shared-core / f1-micro
В разделе Boot disk выберите CHANGE
На открытой вкладке перейдите к CUSTOM IMAGES
В поле Image выберите созданный ранее образ mikopbx-new-image
Для других полей на вкладке используйте значения по умолчанию
Нажмите кнопку SELECT
В разделе Firewall ****разрешите HTTP трафик, установите флажок Allow HTTP traffic
В разделе Advanced options / Disks выберите ADD NEW DISK
На открытой вкладке введите имя диска для хранения данных (Name), например disk-storage-mikopbx
Укажите размер диска (Size) не менее 50Гб
Для других полей на вкладке используйте значения по умолчанию
Нажмите кнопку SAVE
Если у вас есть ключ SSH, выполните следующее
В разделе Advanced options / Security / MANAGE ACCESS выберите ADD ITEM
Укажите его в поле SSH key
Если у вас есть нет ключа SSH, сразу перейдите к пункту 19
Для других полей используйте значения по умолчанию
Завершив ввод значений, нажмите кнопку CREATE
Откройте Navigation menu / VPC network / Firewall
Выберите CREATE FIREWALL RULE для создания нового правила для входящего соединения
Введите имя нового правила (Name), например http-80
Укажите Direction of traffic - Ingress
Укажите Targets
Из выпадающего меню в поле Source filter выберите IPV4 ranges и в поле Source IPv4 ranges укажите 0.0.0.0/0
В разделе Protocols and ports установите флажок TCP и в поле Ports укажите 80
Для других полей используйте значения по умолчанию
Завершив ввод значений, нажмите кнопку CREATE
Аналогично создайте правило для HTTPS. Укажите имя, Direction of traffic - Ingress, Targets, Source filter - IPV4 ranges, Source IPv4 ranges - 0.0.0.0/0, Protocols and ports - TCP, Ports - 443
Аналогично создайте правило для SIP сигнализации TCP. Укажите имя, Direction of traffic - Ingress, Targets, Source filter - IPV4 ranges, Source IPv4 ranges - 0.0.0.0/0, Protocols and ports - TCP, Ports - 5060
Аналогично создайте правило для SIP сигнализации UDP. Укажите имя, Direction of traffic - Ingress, Targets, Source filter - IPV4 ranges, Source IPv4 ranges - 0.0.0.0/0, Protocols and ports - UDP, Ports - 5060
Аналогично создайте правило для передачи звука RTP. Укажите имя, Direction of traffic - Ingress, Targets, Source filter - IPV4 ranges, Source IPv4 ranges - 0.0.0.0/0, Protocols and ports - UDP, Ports - 10000-10200
Откройте вкладку Compute Engine перейдите в раздел Virtual machines / VM Instance
Скопируйте External IP созданной виртуальной машины
Введите в строке браузера External IP
Откройте созданную виртуальную машину
Скопируйте Instance Id - это пароль для входа в АТС по умолчанию
Логин для входа по умолчанию - admin
Google Cloud Marketplace
Instructions for installing a ready-made image from Google Cloud Marketplace