Install Yeastar P-Series Software Edition on Amazon AWS

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

AWS Diagram

The following diagram helps you understand the architecture and the process of building and running Yeastar P-Series Software Edition within AWS.

Procedure

Step 1. Create a VPC

Create a Virtual Private Cloud (VPC) to provision a logically isolated section of the AWS.

  1. Open Amazon VPC console.
    Note: Take note of the region where you will create a VPC. Make sure you stay working in the region before you finish the installation task.

  2. On the left navigation bar, click Your VPCs, then click Create VPC.

  3. Set up the VPC.

    • Resources to create: Select VPC only.
    • Name tag: Enter a name to help you identify the VPC. In this example, enter P-Series Software Edition.
    • IPv4 CIDR block: Select IPv4 CIDR manual input.
    • IPv4 CIDR: Specify an IPv4 CIDR block for the VPC. In this example, enter 10.0.0.0/16.
    • IPv6 CIDR block: Select No IPv6 CIDR block.
    • Tenancy: Select Default.
  4. At the bottom of the page, click Create VPC.

    The VPC is created and displayed on Your VPCs list.

Step 2. Configure the VPC

  1. Create a subnet so that you can launch tasks and services in a subnet.
    1. On the left navigation bar, click Subnets, then click Create Subnet.

    2. Set up a subnet as follows, then click Create subnet at the bottom of the page.

      Table 1.
      Settings Descriptions
      VPC ID Select the VPC that is created for Yeastar P-Series Software Edition.

      In this example, select P-Series Software Edition.

      Subnet name Enter a name to help you identify the subnet.

      In this example, enter subnet-for-p-software.

      Availability Zone Select a zone in which your subnet will reside or leave the default No Preference to let AWS choose an zone for you.

      In this example, select No Preference.

      IPv4 VPC CIDR block Select the VPC's IPv4 CIDR block.

      In this example, select the IPv4 CIDR block you specified when creating the VPC for Yeastar P-Series Software Edition.

      IPv4 subnet CIDR block Specify an IPv4 CIDR block for your subnet.
      Note: The IPv4 block sizes must be between a /16 netmask and /28 netmask, and must be no larger than your VPC's IPv4 CIDR block.

      In this example, enter 10.0.0.0/24.

      The subnet is created and displayed on Subnets list.

  2. Create an Internet gateway to allow the communication between your VPC and the Internet.
    1. On the left navigation bar, select Internet gateways, then click Create internet gateway.

    2. In the Name tag field, enter a name to help you identify the gateway, then click Create internet gateway at the bottom of the page.

      In this example, enter gateway-for-p-software.

      You are redirected to the details page of the created internet gateway.

    3. At the top-right corner, select Attach to VPC from the drop-down list of Actions.

    4. Select the VPC that is created for Yeastar P-Series Software Edition, then click Attach internet gateway.

      The Internet gateway is created and associated with your VPC.

  3. Create a route table, so that network traffic from the subnet can be directed.
    1. On the left navigation bar, select Route tables, then click Create route table.

    2. Configure the new route table, then click Create route table.

      • Name: Enter a name to help you identify the route table. In this example, enter route-table-for-p-software.
      • VPC: Select the VPC that is created for Yeastar P-Series Software Edition. In this example, select P-Series Software Edition.

      You are redirected to the details page of the created route table.

    3. Add a rule to access the Internet through an Internet gateway.
      1. At the top-right corner, select Edit routes from the drop-down list of Actions.

      2. Click Add route, set Destination as 0.0.0.0/0, and set Target to the Internet gateway that you have created.

      3. Click Save Changes.
    4. Associate route table with the subnet for P-Series Software Edition.
      1. At the top-right corner, select Edit subnet associations from the drop-down list of Actions.

      2. Select the subnet for P-Series Software Edition.

      3. Click Save associations.

Step 3. Install Yeastar P-Series Software Edition on an instance

  1. Log in to your Amazon EC2 console.
  2. On the left navigation bar, go to Instances > Instances, choose Launch instances.

  3. In Name and tags section, enter a name to help you identify the instance.

  4. In the Application and OS Images (Amazon Machine Image) section, select the AMI.

    1. In the search bar, enter Yeastar P-Series Software Edition, and press Enter key.
    2. Click the Community AMIs tab.
    3. Click Select beside the desired AMI.
  5. In the Instance type section, choose the instance based on the Extensions (EXT) and Concurrent Calls (CC) of your PBX system.
    1-20 EXT

    (1-5 CC)

    21-50 EXT

    (6-13 CC)

    51-250 EXT

    (14-63 CC)

    251-500 EXT

    (64-125 CC)

    501-1000 EXT

    (126-250 CC)

    EXT > 1000

    (CC > 250)

    Recommended Instance Type t3.small t3.medium c5a.xlarge c5a.2xlarge c5.2xlarge Contact Yeastar

  6. In the Key pair (login) section, set the Key pair name to Proceed without a key pair.

  7. In the Network settings section, click Edit and configure the network settings.

    1. Set up the basic network configurations.

      • VPC: Select the VPC that is created for Yeastar P-Series Software Edition. In this example, select P-Series Software Edition.
      • Subnet: Select the subnet that is created for Yeastar P-Series Software Edition. In this example, select subnet-for-p-software.
      • Auto-assign public IP: Select Enable.
    2. In the Firewall (security groups) section, select Create security group, and configure the following security settings.

      • Security group name: Enter a name to help you identify the security group.
      • Description: Enter a description for the security group.
      • Inbound Security Group Rules: Add the following rule to allow all the IP addresses to access the P-Series Software Edition.
        Type Source Type Source
        All traffic Custom 0.0.0.0/0
  8. In Configure storage section, allocate at least 40 GB to the instance. In this example, allocate 50 GB.
    Note: The total storage space is automatically assigned to partitions as follows:
    • /: 10 GB
    • /swap: 10 GB
    • /home: Remaining Free Space after space for / partition and /swap partition is excluded from the total size.

  9. At the bottom-right corner, click Launch instance.

    The instance is created successfully.

Result

On Instances > Instances, if Status check is displayed as 2/2 checks passed, it indicates that the PBX system is installed successfully.
Note: A public IP address is assigned to the PBX system. To check the public IP address, go to Public IPv4 Address column.

Open a web browser, enter the public IP address of the PBX https://{public IP address}:8088 in the address bar, then press Enter key.

What to do next