# AWS Marketplace

Sign in to the service Amazon Web Services [https://aws.amazon.com](https://aws.amazon.com/)

MikoPBX in AWS Marketplace: <https://aws.amazon.com/marketplace/pp/prodview-ota6fb2tftuhw>

{% embed url="<https://youtu.be/HdsX1UEJ8zE?si=EPlwDQHO8bXqhrQe>" %}

Let's get started with the setup

{% hint style="info" %}
For quick and convenient navigation within the Amazon service, use the search panel
{% endhint %}

### Creating a virtual machine <a href="#creating-a-virtual-machine" id="creating-a-virtual-machine"></a>

1. Open Services / Compute / **EC2** and navigate to Images / AMI Catalog
2. In the open tab enter **MikoPBX** in the search bar
3. In the AWS Marketplace AMIs section select the [MikoPBX](https://aws.amazon.com/marketplace/pp/prodview-ota6fb2tftuhw) image by clicking the **Select** button
4. On the opened tab click **Subscribe now**
5. Click the **Launch an instance from AMI** button to create a virtual machine

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FayHPt4FLy4r8MA1f0eXu%2FMikoPBXAmazonInstallation_s_12.png?alt=media&#x26;token=b772339c-003b-4dee-b176-425ffed07bfd" alt=""><figcaption></figcaption></figure>

6. Enter the virtual machine name, for example *mikopbx-vm*

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FMifiARBql2sS2OOSQ0MH%2FMikoPBXAmazonInstallation_s_2.png?alt=media&#x26;token=b007f185-2de2-4083-aef9-fe51ff2a81d8" alt=""><figcaption></figcaption></figure>

If you have an SSH key

7. Specify the SSH key in the Key pair field

If you don't have an SSH key

7. Select **Create new key pair** and specify the key pair name, for example *mikopbx\_key*

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FZqWB0kngJvDVJmZGM4Zv%2FMikoPBXAmazonInstallation_s_3.png?alt=media&#x26;token=049617f6-b189-4b6c-86df-df2639f5be32" alt=""><figcaption></figcaption></figure>

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FyjIh1rNoiyCe6AJfYm4D%2FMikoPBXAmazonInstallation_s_4.png?alt=media&#x26;token=139aae7e-3145-411e-86d1-e1bcbdfa078a" alt=""><figcaption></figcaption></figure>

Follow the instructions further

{% hint style="danger" %}
To deploy the PBX use **two** disks:

* A **1 Gb** disk for the main system
* A **50+ Gb** disk for storing call recordings
  {% endhint %}

8. If necessary, change the size of the storage disk in Configure storage, default size is 50Gb

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fv6avHUgT9pUpmce1Upov%2FMikoPBXAmazonInstallation_s_7.png?alt=media&#x26;token=bc452f11-a831-4e29-b8f1-093cf3a6c7ca" alt=""><figcaption></figcaption></figure>

9. Under Network settings, all required Firewall rules are configured automatically

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FPKc9mlhAmaLMuye9Gqoq%2FMikoPBXAmazonInstallation_s_6.png?alt=media&#x26;token=6facb149-a376-4ab4-ba79-eb944d53e187" alt=""><figcaption></figcaption></figure>

10. For other fields use default values
11. Click **Launch instance**

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FtgaJAps6dLesz1Vx51o0%2FMikoPBXAmazonInstallation_s_8.png?alt=media&#x26;token=d23260b0-1f54-4b13-ba52-ea882d0b98ae" alt=""><figcaption></figcaption></figure>

### Starting MikoPBX <a href="#starting-mikopbx" id="starting-mikopbx"></a>

1. Go to the created virtual machine *mikopbx-vm*
2. On the opened tab, select Connect / EC2 serial console, wait for the system to fully load until the authentication parameters are displayed

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FU3E1z1jTLbRqce6NSSX5%2FMikoPBXAmazonInstallation_s_9.png?alt=media&#x26;token=eabaa533-f480-48d1-9b51-e2884fc08103" alt=""><figcaption></figcaption></figure>

3. Copy the external address of the created virtual machine and enter it in the browser's address bar
4. Use the login and password provided in EC2 serial console for login

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FSQysxosmhtjeapuY1vfe%2FMikoPBXAmazonInstallation_s_11.png?alt=media&#x26;token=5131d7d0-3c5b-4f30-9723-8deefb24d8c4" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Make sure to configure the Firewall on the MikoPBX
{% endhint %}
