How to host 3CX PBX on Google Cloud
pixel500w-500x1
Zero Admin
With the new Dashboard
pixel500w-500x1
Bulletproof Security
With SSL certs and NGINX
pixel500w-500x1
Install on $100 Appliance
Intel MiniPC architecture
pixel500w-500x1
New, Intuitive Windows Client
More themes, more UC
pixel500w-500x1
More CRM Integrations
Scripting Interface to add your own
pixel500w-500x1
Improved Integrated Web Conferencing
iOS and Android apps included
pixel500w-500x1
Personal Click2Meet URLs

Hosting 3CX on Google Cloud

Hosting 3CX on Google Cloud

On this topic

Hosting 3CX on Google Cloud

Setting up Google Cloud

Installing the Google Cloud SDK

Verifying your Google Cloud SDK setup

Creating the Google Cloud instance

Outbound SMTP

See Also

Setting up Google Cloud

In order to be able to create virtual machines hosted by Google a Google Cloud Platform account needs to be created:

  1. Login to your Gmail Account
  2. Go to https://cloud.google.com
  3. Enter the “Try it Free” program and complete the registration.

Installing the Google Cloud SDK

Now you need to Install the Google Cloud SDK on a Windows machine. This enables you to run scripts against your Google Cloud account:

  1. Download the SDK from here https://cloud.google.com/sdk/docs/quickstart-windows
  2. Complete the setup and first time initialization of the SDK.
  3. IMPORTANT: during the “init” you set the default “project” to the account you created above. The “project ID” is shown in the dashboard of the Google Cloud Platform. Double check that this is the one that has been pre-populated.

Verifying your Google Cloud SDK setup

Now check that all is installed and working:

  1. Open a CMD and enter: gcloud auth login
  2. A browser window will open and you will be prompted to choose the associated google account. This must be an administrator or owner of the above project!
  3. After this, the machine is authenticated and the Google Cloud SDK can perform actions in the Google Cloud Service on behalf of your account.

Creating the Google Cloud instance

You are now ready to run the script that will create the Google Cloud instance for 3CX. This script will create a debian vm in your google cloud account.

  1. Download this sample script and extract the ZIP content into a folder.
  2. Run createinstance.bat
  3. The script will ask for a name for the VM.
  4. Select in which location to create the instance. Select the closest location to you:
  1. USA Central
  2. USA East
  3. USA West
  4. Europe (West)
  5. Asia (East)
  1. Select what size of VM you want. Small is sufficient for up to 8/16 sim calls, standard for up to 32 sim calls, high for larger.
  2. The script will now create the VM, assign a public IP, boot the machine, validate/update firewall rules and install 3CX. This should take between 2 and 4 minutes.
  3. When ready, the script will automatically launch your browser. You can now proceed to configure 3CX using the configuration tool documented here.

Within the ZIP we have also included a script “createinstance24h.bat” which creates a VM for 24 hours only. Note that the public ordered IP address will not be deleted with the VM and will be billed while not in use!

Outbound Mail (SMTP)

Google Compute Engine does not allow outbound connections on ports 25, 465, and 587. In order to allow outbound mails from 3CX (while hosted on Google Compute Engine) a mail server is requiered to relaying mails for your domain on a non standard SMTP port. More information can be found here:  https://cloud.google.com/compute/docs/tutorials/sending-mail/

See Also


Ask a Question

Please only post questions in regards to the document you are currently reading.
Technical support or pre sales questions must be posted via the support or sales channels and such comments will be deleted. Thank you for understanding
<