# Google Cloud Маркетплейс

Авторизуйтесь на платформе <https://console.cloud.google.com/>

MikoPBX в Google Cloud Маркетплейс: <https://console.cloud.google.com/marketplace/product/mikopbx-public/mikopbx>

{% embed url="<https://vkvideo.ru/video-100268702_456239039>" %}

Приступим к настройке

{% hint style="info" %}
Для быстрого и удобного поиска на платформе Google Cloud используйте панель поиска
{% endhint %}

### **Добавление** ролей с**ервисной** учетной записи

Если у вас есть сервисная учетная запись, проверьте наличие нужных ролей, в случае необходимости добавьте их

Если сервисной учетной записи нет, создайте и добавьте ей нужные роли

1. Откройте Navigation menu / Products & solutions / Management / **IAM & Admin**
2. Перейдите к вкладке Service accounts и нажмите на **CREATE SERVICE ACCOUNT**
3. Введите имя сервисной учетной записи, например *mikopbx-service-account*
4. Нажмите кнопку **CREATE AND CONTINUE**

<figure><img src="/files/oAAKtUFP1ayfrp2nbXfs" alt=""><figcaption></figcaption></figure>

5. Добавьте роли **Cloud Infrastructure Manager Agent, Compute Admin, Compute Network Admin, Service Account User**

<figure><img src="/files/CocCW5ylvnCVVLC06Bnb" alt=""><figcaption></figcaption></figure>

6. Нажмите кнопку **DONE**

<figure><img src="/files/ORAUk1EBJKkxmWv1GfvP" alt=""><figcaption></figcaption></figure>

### **Создание виртуальной машины**

1. Откройте Marketplace и введите в поисковой строке **MikoPBX**
2. Выберите образ [MikoPBX](https://console.cloud.google.com/marketplace/product/mikopbx-public/mikopbx)
3. На открытой вкладке выберите **LAUNCH**

<figure><img src="/files/3yJMaG6ekvKldJ1YVlqA" alt=""><figcaption></figcaption></figure>

4. В поле Deployment name введите имя, например *mikopbx-vm*
5. В разделе Deployment Service Account установите флажок Existing account и выберите созданный ранее сервисный аккаунт

<figure><img src="/files/2x7WH2H75avdrcDzZh3O" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Для развертывания АТС используйте **два** диска:

* диск объемом **1 Гб** для основной системы
* диск объемом **50+ Гб** для хранения записей разговоров
  {% endhint %}

6. При необходимости измените размер диска для хранения данных в разделе Data Storage, по умолчанию его размер - 50Гб

<figure><img src="/files/Geq916MtLeKCptWYJzND" alt=""><figcaption></figcaption></figure>

7. В разделе Networking все необходимые правила Firewall настраиваются автоматически

<figure><img src="/files/YB3sZ2txF9cePBQjISGf" alt=""><figcaption></figcaption></figure>

8. Для других полей используйте значения по умолчанию
9. Завершив ввод значений, нажмите кнопку **DEPLOY**

<figure><img src="/files/TRWl9R0A08NhBH3uNSJ2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/NDGjz2kd0fpXyrRueVho" alt=""><figcaption></figcaption></figure>

### **Запуск АТС MikoPBX**

1. Откройте вкладку Compute Engine и перейдите в раздел Virtual machines / VM Instance
2. Перейдите к созданной виртуальной машине *mikopbx-vm-mikopbx-vm*
3. На открытой вкладке перейдите к Logs / Serial port 1 (console)

<figure><img src="/files/AfE87Gr8W0F6EyKl8dZs" alt=""><figcaption></figcaption></figure>

4. Скопируйте внешний адрес созданной виртуальной машины и введите его в строке браузера
5. Для входа используйте указанные в Serial port 1 (console) логин и пароль

<figure><img src="/files/mlse5fWZCB6cQWoN8Vsc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mikopbx.com/mikopbx/setup/cloud/google-cloud/marketplace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
