Take advantage of the reliable and cost-efficient online storage on Google Cloud Platform. 3CX enables you to create storage buckets under your Google Cloud account and use these to store backups and/or archive recordings.
Prerequisites
To configure Google storage buckets, go to “IAM & Admin” > “IAM” in your Google Cloud dashboard and verify that your account has at minimum these roles assigned:

- “Service Account Admin”.
- “Service Account Key Admin”.
- “Project IAM Admin”.
- “Storage Admin”.
Creating a Service Account
To create a Google Cloud Platform storage bucket you need to first create a service account under your project:
- Go to Google Cloud Console and log in with your credentials to view your dashboard.
- Select your project from the top navigation bar, or create a new one and select it.
- Go to “IAM & Admin” > “Service accounts”.

- Click on “Create Service Account” and fill in the info for the new service account in your selected project. Click on “Create”.

- On the “Grant this service account access to project” page, select the “Storage Admin” role,click on “Continue” and then “Done”.
📄 Note: Refer to the Google Cloud roles documentation for more info on roles and their respective permissions.
- Go back to the service account page and "Keys" section and press the "Add Key" > "Create new key". In the “Key type” select “JSON” and click on “Create”.
Creating a Storage Bucket
If you have an active subscription with configured payment options, proceed to create a new storage bucket under your Google cloud project :
- From the main navigation menu, select “Storage” > “Browser” and click on “Create Bucket” to create a new storage bucket.

- On the "Create a bucket" page, configure:
- Name - enter a globally unique permanent name.
- Where to store data - select storage location type according to your requirements.
- Storage class - select the appropriate storage class for your use.
- Access control - set how to control access to the objects in the storage bucket.
- Advanced settings - optionally set encryption and retention policy preferences for the storage bucket.
- Click on “Create” to set up the new storage bucket.
- After creating your storage bucket, you can click on “Create folder” to add new folders for keeping backups and archived recordings in, e.g. “3cx_backups”.
Proceed to use your saved JSON key and set the configured Google Cloud storage bucket as a location to store 3CX backups and archive recordings.
⚠ Important:
- Stored backup files or archived recordings in the “Hold” state or stored/archived due to effective retention policy, cannot be deleted or overwritten by the PBX.