Hosting 3CX PBX in Google Cloud
Introduction
Easily host and manage 3CX in your own Google Cloud account and manage all your servers from one place. You will need to have a Google Cloud account before you start 3CX deployment. You can get one here Google Cloud page , click on “Get started for free”.
Step 1 - Enable the Compute Engine API
- Log in to your Google/Gmail account and go to Google’s Console.
- Click on the top left icon to bring out the Navigation Menu and select the “Compute Engine” service.
- In Compute Engine & API click on “Enable API” to allow 3CX to create a 3CX VM instance on your behalf.
- You can create a project - or use Google’s default called “My First Project”.
Step 2 - Deploy 3CX
- Create a 3CX customer account here
- Select “Self Hosted (Private Cloud)” and click “Next”
- Choose your 3CX FQDN and click “Next”
- Set your extension digit length and click “Next”
- Set your System Preferences and click “Next”
- From the drop-down list, choose “Google” and then click on “Authenticate”
- Allow the 3CX Deployment Wizard to manage your Google account to set up the machine
- Give your Google Cloud machine a name and select the previously created Google Cloud project from the drop down list.
- Choose your region, network and machine type. Then click “Next”
- 3CX will now be deployed.
Step 3 - Configure SSH Access
- Login to your Google Console.
- Go to the Navigation Menu on the left and select “VPC Network> Firewall”.
- Select “CREATE FIREWALL RULE”. Give the same name to the rule and to the target tag, ie “ssh”.
- Add the source IP address you want to connect from and add TCP port 22 and click on “Create”.
- Now go to “Compute Engine > VM Instances” find and edit your Instance.
- Go to “Network tags” and type “ssh” (the target tag created above).
- To add your SSH key to the machine you can go to “VM Instances”, edit the instance and then add the public key under “SSH Keys”.
Re-deploying your 3CX?
- Login to the customer portal
- Go to “My Systems” find the subscription you want to have hosted and select "Install"
- Select “Self Hosted (Private Cloud)” and click “Next”
- Select your extension digit length and on the next screen set your System Preferences then click on “Next”. These settings will be overridden if you restore a backup.
- Select “Google” from the drop-down list and click on “Authenticate” to authenticate with your Google account.
- Click “Yes” to upload your existing 3CX configuration backup and click “Next”
- Give your Google machine a name and use the drop-down list to select your project, region, network and machine type. Click “Next”
See Also
- Hosting 3CX in AWS
- Hosting 3CX in Microsoft Azure
- Hosting 3CX in Amazon Lightsail
- Hosting 3CX in DigitalOcean
Last Updated
This document was last updated on 17 July 2024