Install Yeastar P-Series Software Edition on Alibaba Cloud

Elastic Compute Service (ECS) is one of the services provided by Alibaba Cloud, where you can create and run instances (virtual machines). This topic describes how to install and run Yeastar P-Series Software Edition on an Alibaba Cloud instance.

Alibaba Cloud Diagram

Procedure

Step1. Create a VPC

Create a Virtual Private Cloud (VPC) to provision a logically isolated section of the Alibaba Cloud for Yeastar P-Series Software Edition.

  1. Log in to the VPC console.
  2. In the top navigation bar, select the region where you want to deploy the VPC.
    Important: Make sure you stay working in the region before you finish the installation task.

  3. On the VPCs page, click Create VPC.
  4. Set up the VPC and the vSwitch.
    1. Set up the VPC.
      • Name: Enter a name to help you identify the VPC. In this example, enter Yeastar-P-Series-Software-Edition.
      • IPv4 CIDR Block: Specify an IPv4 CIDR block for the VPC. In this example, enter 192.168.0.0/16.
      • IPv6 CIDR Block: Select Do Not Assign.
      • Description: Optional. Enter a description for the VPC.
      • Resource Group: Select a resource group to group the VPC. In this example, select default resource group.
    2. Set up the vSwitch. vSwitch will be used to create a subnet of the VPC.
      • Name: Enter a name to help you identify the subnet. In this example, enter Yeastar-P-Series-Software-Edition-subnet.
      • Zone: Select a zone for the subnet.
      • IPv4 CIDR Block: Specify an IPv4 CIDR block for the vSwitch. In this example, enter 192.168.0.0/24.
  5. Click OK.

    The VPC and vSwitch are created and displayed on the VPCs list and vSwitch list.

Step2. Create a security group

Create a security group to control the traffic that is allowed to reach and leave the ECS instance.

  1. Log in to the ECS console.
  2. In the left-side navigation pane, click Network & Security > Security Groups.
  3. In the top navigation bar, select the same region as the created VPC, then click Create Security Group.

  4. Configure the security group.
    1. In the Basic Information section, set the following parameters:

      • Security Group Name: Enter a name to help you identify the security group. In this example, enter Yeastar-P-Series-Software-Edition-security-group.
      • Network: Select the VPC created for Yeastar P-Series Software Edition. In this example, select Yeastar-P-Series-Software-Edition.
      • Security Group Type: Select Basic Security Group.
    2. In the Access Rule section, set up access rules for the ECS instance.

      By default, basic security groups allow all outbound traffic and deny all inbound traffic. You need to set up an inbound access rule to allow the traffic to reach your instance.

      1. Click Inbound tab, and then click Quick Add.

      2. On the Quick Add page, select All (1/65535) as the port range, and click OK.
        Tip: The default values of Action (Allow) and Authorization Object (0.0.0.0/0) indicate that all IP addresses are allowed to access your instance.

  5. Click Create Security Group.

Step3. Install Yeastar P-Series Software Edition on an instance

  1. Log in to the ECS console.
  2. In the left-side navigation pane, click Instances & Images > Instances, then click Create Instance.
  3. On the Basic Configurations page, set the following parameters, then click Next.
    • Billing Method: Select a billing method for the instance.

      For more information, see Billing Methods Overview.

    • Region: Select the same region as the created VPC.
    • Instance Type: Select an instance based on the Concurrent Calls (CC) for your PBX system.
      Table 1.
      0-75 CC 76-125 CC 126-250 CC 251-500 CC 501-750 CC 751-1000 CC CC>1000
      vCPU 4 8 8 16 48 64 Contact Yeastar
      Memory 4 GB 8 GB 16 GB 16 GB 32 GB 32 GB
    • Selected Instance Type Quantity: Retain the default value 1.
    • Image: Click Shared Image and select Yeastar-P-Series-Software-Edition.

    • Storage: Select a system disk type and storage capacity based on the Concurrent Calls (CC) and whether to enable Call Recording.
      Table 2.
      0-75 CC 76-125 CC 126-250 CC 251-500 CC 501-750 CC 751-1000 CC CC>1000
      Storage Call Recording Disabled 50 GB 100 GB 200 GB 300 GB 500 GB 500 GB Contact Yeastar
      Call Recording Enabled Recommended: 1 TB
      Tip: 1 GB of storage holds approximately 1000 minutes of recorded calls. You can set up the storage based on your recording usage.
  4. On the Networking page, set up the networking for the instance, then click Next.
    • Network Type: Select the VPC and the vSwitch created for Yeastar P-Series Software Edition.
    • Public IP Address: Do NOT select the checkbox of Assign Public IPv4 Address.
      Tip: We will use Elastic IP Address (EIP) for network access instead of the assigned public IP address, as the assigned IP address will be changed every time the ECS instance is restarted from being stopped.
    • Security Group: Select the security group created for Yeastar P-Series Software Edition.
    • Elastic Network Interface and IPv6: Retain the default value.
  5. On the System Configurations page, set up the system configurations, then click Next.
    • Logon Credentials: Set a password or an SSH key pair as a credential for this instance.

      For more information, see Configure Logon Credentials.

    • Instance Name: Specify the instance name that will display in the ECS console.
    • Host: Specify the host name that will display within the operating system.
  6. On the Grouping page, add tags or and group the instance to simplify future management, then click Next.
  7. Read and select ECS Terms of Service and click Create Order.

    The instance is created and displayed in the Instances list, and Yeastar P-Series Software Edition was installed on the instance successfully.

Step4. Create an EIP and associate it with ECS instance

An Elastic IP Address (EIP) is a reserved public IP address that can be associated with the ECS instance, allowing the PBX on the instance to communicate with the Internet.

  1. Log in to the Elastic IP Address console .
  2. On the Elastic IP Addresses page, click Create EIP.
  3. Configure and create the EIP.
    1. On the purchase page, set the following parameters, and click Buy Now.
      • Billing Method: Select a billing method for the EIP. In this example, Pay-As-You-Go is selected.
      • Region and Zone: Select the same region as the created VPC.
      • Max Bandwidth: Specify a maximum bandwidth value for the EIP.
      • Network Traffic: Select a metering method for the EIP.
      • Name: Enter a name to help you identify the EIP.
      • Resource Group: Specify a resource group for the EIP.
      • Quantity: Retain the default value 1.
    2. Review the order and select the checkbox of Terms of Service, then click Activate Now.

      The EIP is created and displayed on your Elastic IP Addresses list.

  4. Associate the EIP with the ECS instance where the Yeastar P-Series Software Edition is installed.
    1. In the Actions column of the desired EIP, click Bind Resource.

    2. Bind the EIP to the ECS instance created for Yeastar P-Series Software Edition.

      1. In the Instance Type drop-down list, select ECS Instance.
      2. In the Resource Group drop-down list, select the resource group to which the ECS instance belongs.
        Note: If the ECS instance is not grouped, then select All.
      3. In the Select an instance to associate section, select the ECS created for Yeastar P-Series Software Edition.
      4. Click OK.

Result

On the Instances page of Alibaba Cloud ECS console, if the Status is displayed as Running and the EIP is displayed in the IP Address column, this means the PBX system is installed successfully and able to communicate with the Internet.

Note: The EIP in IP Address is the IP address of the PBX.

Open a web browser, enter the IP address of the PBX in the address bar, then press Enter.

What to do next