📜 ⬆️ ⬇️

Posting 3CX on Google Compute Engine

Today, we will explain in detail how the integrator, the 3CX partner, should prepare the Google cloud infrastructure for hosting 3CX entities (instances). Placing the 3CX server on the Google cloud eliminates the need for the integrator (or end user) to invest in server hardware and waste resources on maintaining it. Google is one of the largest and most reliable cloud providers, and the Google Compute Engine service is great for hosting PBXs for small (and large) companies.


To place 3CX on Google Compute Engine, you need to follow a few simple steps:



Creating a Google Account and the Google Platform Project


If you do not have a Google account, create one. You can use not only the gmail domain, but also your own email address. Please note that in the future, after the trial period expires, this account will be used for billing for the service provided. After creating an account:



image



image


Creating an instance of a template


Create a virtual machine that will serve as a template for new virtual machines, which you then transfer to end users:



image



image



image



image



Installing 3CX on a template instance



image



  sudo su - 


  apt update - updates the list of available packages 

  apt upgrade - upgrade packages 


  apt-get install tcpdump 


  wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key |  apt-key add -
 echo “deb http://downloads.3cx.com/downloads/3cxpbx/ /” |  tee /etc/apt/sources.list.d/3cxpbx.list
 apt update
 apt-get install -y $ (apt-cache depends 3cxpbx | grep Depends | sed “s /. ends: \ //” | tr '\ n' ') 


image



image



image


Creating an instance of VM 3CX for a customer


Now you can create a virtual machine instance to install the 3CX server and transfer it to the customer.



image



image



image



image



image


Installing 3CX software on a virtual machine



  sudo apt-get install 3cxpbx 

image



  http://104.199.62.254 ro01 

At this point, setting up an instance of VM 3CX is complete. It can be transferred to the customer.


')

Source: https://habr.com/ru/post/325508/


All Articles