Connecting AWS S3 Storage
Instructions for connecting AWS S3 as cloud storage for automatic uploading of call recordings from MikoPBX
Creating a Bucket
Go to the AWS console (link). Navigate to "All services" -> "Storage" -> "S3".

Click "Create bucket".

Enter any name for the bucket (field "Bucket name"). Leave all other parameters as default and click "Create bucket".

Creating an IAM User and Access Keys
Go to "All services" -> "Security, Identity, & Compliance" -> "IAM".

Next, create a new IAM user. Go to the "Access Management" tab, then "Users". Click "Create user".

Enter the name of the IAM user in the "User name" field.
Click "Next".

Select "Attach policies directly" as the "Permissions options". Scroll down the page.

In the "Permissions policies" section click "Create policy".

In the newly opened tab, in the "Policy editor", select "JSON" as the format and paste the following content into the parameters field:
Click "Next".

Next, specify any name for the policy being created.
Click "Next".

Return to the user creation tab, refresh the policy list, and select the previously created policy (in this guide — "access-mikopbx").
Click "Next".

Confirm user creation: click "Create user".

Open the page of the created user by clicking on the username.

Go to the "Security credentials" section. Click "Create access key".

Select "Application running outside AWS". Click "Next".

Enter a description for the key so that you can identify it later. Click "Create access key".

The Access key and Secret access key will be displayed. Save them — they will be needed later when configuring MikoPBX.

Connecting to MikoPBX
Go to the "Maintenance" -> "Storage" tab.

Open the "S3 Cloud Storage" tab and fill in the following fields:
Automatic recording upload to cloud storage — enable the switch.
S3 endpoint URL — enter the S3 AWS endpoint depending on the region of your bucket (link to the table with all URLs). In this guide —
https://s3.ap-southeast-1.amazonaws.comS3 region — specify the region of your bucket. In this guide —
ap-southeast-1S3 bucket name — enter the name of the bucket created in AWS (for example
aws-s3-mikopbxstoragein this guide)Access key and Secret key — paste the values obtained when creating the service account access key.
Configure the “Local storage period (S3 mode)” slider — choose how long recordings will be stored locally before being deleted after uploading to the cloud.
Click “Save”.

After saving the settings, click "Test connection". If the connection is successful, the message “S3 connection successful” will appear and synchronization of call recordings will begin.

Last updated
Was this helpful?

