Creating a cloud PBX 3CX on any Openstack-compatible hosting

Often you want to install a 3CX PBX in the cloud, but your chosen cloud provider is not on the list supported 3CX (for example, Mail.ru Cloud Solutions). It's OK! It is not difficult to do this, you just need to find out if the provider supports the Openstack infrastructure. 3CX, among other companies, sponsors development of Openstack and supports the Openstack API and the standard Horizon interface for monitoring and control. 

So, to install 3CX you will need:

  • Cloud provider Openstack API Compliant with activated account
  • API access credentials for PBX Express service, including Openstack API URL

Consider installing cloud 3CX using the Dreamhost provider as an example.

Create an OpenStack hosting account

1. Go to https://www.dreamhost.com/ and go to Hosting & Servers > Cloud. On the page that opens, click Get started with DreamCompute.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

2. Fill in your credentials. The Compute API requires a separate password, which is used by the PBX Express service to communicate with the Dreamhost Openstack platform. Any Openstack provider will ask for about the same information.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

3. After registration, you will receive an e-mail with the information required to verify and activate your account. As a rule, operators request a scanned copy of the passport or credit card details.

OpenStack account configuration for 3CX PBX Express

4. After verifying your account, go to the control panel, go to the Cloud Services section and click DreamCompute.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

5. Here you will see the Tenant ID and Username. Fix them - you will need this data when installing 3CX through the PBX Express service. Then click View Dashboard.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

6. In the Control Panel, go to Access & Security > Access API Page. Here, fix the URL in the Identity line - this URL is used by PBX Express to access the Dreamhost OpenStack cloud.

Creating a cloud PBX 3CX on any Openstack-compatible hosting 
7. In the same place in the Access & Security section, go to the Key Pairs tab and click Create Key Pair.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

8. In the window that appears, enter a name for the key pair and click Create Key Pair. The keys will be generated and downloaded to your disk.

Creating a cloud PBX 3CX on any Openstack-compatible hosting

Installing cloud 3CX through the PBX Express service

9. Now everything is ready to install the 3CX cloud PBX through the service 3CX PBX Express. At one of the stages of the PBX Express Wizard, you will be prompted for the parameters of your Openstack hosting. Using these settings, PBX Express automatically creates a VPS with 3CX installed. For Dreamhost, the following parameters are specified:

  • Select Hosting - VPS cloud provider (OpenStack API v2 compliant)
  • Cloud Provider API URL - URL from step 6
  • User name - username from step 5
  • Password - tenant ID from step 5

Creating a cloud PBX 3CX on any Openstack-compatible hosting

10. On the next page, if you don't know what to enter, just click Next. If you are familiar with these parameters, you can specify the location of the server, server power and the SSH key pair you are using. The image to be installed must be Debian-9 only.

Creating a cloud PBX 3CX on any Openstack-compatible hosting
Then click Next and enter your personal details. In a short time, your cloud PBX will be ready - you will receive a notification by E-mail. Save it - it contains important information. 

Now you can continue setting up the PBX - connect users, external lines etc.

Source: habr.com

Add a comment