Connecting DigitalOcean S3 Storage
Instructions for connecting DigitalOcean Spaces Object Storage as an S3 storage
Creating a Bucket and Access Keys
Go to the DigitalOcean console (link).
Navigate to Manage → Spaces Object Storage. Click Create a Spaces Bucket to create a new bucket.

On the bucket creation page, under Choose a datacenter region, select the region closest to your MikoPBX server. Choose Standard Storage.

In the Choose a unique Spaces Bucket name field, enter a name of your choice for the bucket.
Click Subscribe & Create Bucket.

Open the page of the newly created bucket by clicking its name in the Buckets section.

Go to the Settings tab.

Scroll down to the Access Keys section. Click Create Access Key to generate a new key pair.

Fill in the required parameters for the new key:
Select access scope — Limited Access.
Buckets — select the bucket you created earlier.
Permissions — Read/Write/Delete.
Give this access key a name — enter an arbitrary name to identify this key pair.
Click Create Access Key.

Your key pair values (Access Key ID and Secret Key) will be displayed. Save these values — you will need them when configuring MikoPBX.

Connecting to MikoPBX
Go to the Maintenance → Storage tab.

Open the S3 Cloud Storage tab and fill in the following fields:
Automatically upload recordings to cloud storage — enable the toggle.
S3 Endpoint URL — enter
https://sgp1.digitaloceanspaces.com, replacingsgp1with your region.S3 Region — enter the region of your DigitalOcean bucket (e.g.
sgp1in this guide).S3 Bucket Name — enter the name of the bucket you created in DigitalOcean (e.g.
mikopbx-s3-storagein this guide).Access Key and Secret Key — paste the values obtained in the first part of this guide.
Use the Local Storage (S3 mode) slider to configure how long recordings are kept locally before being deleted after upload to the cloud.
Click Save.

After saving the settings, click Test Connection. If the connection is successful, you will see the message "S3 connection successful" and synchronization of call recordings will begin.

Last updated
Was this helpful?

