Install Yeastar P-Series Software Edition on AWS Lightsail via Command Line

Install Yeastar P-Series Software Edition on AWS Lightsail via Command Line

CommsPlus Distribution


Install Yeastar P-Series Software Edition on AWS Lightsail via Command Line





You can host and manage Yeastar P-Series Software Edition on AWS Lightsail using command line and leverage your Lightsail knowledge to stay in full control of your PBX deployment.


Create a Lightsail instance

  1. Log in to AWS Management Console.
  2. At the top of AWS console page, search for and select Lightsail service.

  1. Click Create instance.


Set up the instance


  1. In the Instance location section, click Change AWS Region and Availability Zone to change the region and availability zone according to your needs.

Note:By default, the instance will be created in the region that you have selected when you first log in to AWS Management Console.

A screenshot of a computerDescription automatically generated



  1. In the Pick your instance image section, select Linux/Unix platform, then select Ubuntu system with version 20.04.

A screenshot of a computerDescription automatically generated


  1. In the Choose your instance plan section, select a network type and an instance size.










  1. Select the Dual-stack type.
  2. Select an instance size based on the Extensions (EXT) and Concurrent Calls (CC) of your PBX system.


A screenshot of a computerDescription automatically generated


  1. In the Identify your instance section, enter a name to help you identify the instance, then click Create instance.

A screenshot of a computerDescription automatically generated







You will be redirected to the Lightsail home page. When the instance status changes to Running, it indicates that the instance is created.

A screen shot of a computerDescription automatically generated


Attach Static IP


In Networking Tab a Public IPv4 address will be shown

Select Attach Static IP

Enter a name to identify the public IP (example the customer name)

Select Attach


A screenshot of a computerDescription automatically generated


Install Yeastar P-Series Software Edition on the instance

  1. Click the console tab to open the console window.

A screenshot of a computer loginDescription automatically generated

  1. Run sudo -i to switch to the root user.
  2. Run the following commands sequentially to install Yeastar P-Series Software Edition.

A screenshot of a computer programDescription automatically generated

  1. wget https://update-ys2015-alicloud.oss-cn-hongkong.aliyuncs.com/YeastarSupport/pseinstallscripts/lightsail-install-pse.sh
  2. chmod +x lightsail-install-pse.sh
  3. ./lightsail-install-pse.sh


Important:If a You have been disconnected prompt is displayed, it indicates that the system has restarted and Yeastar P-Series Software Edition is being installed. Do NOT click Reconnect, as it will interrupt the installation process. Close the console window.




A screenshot of a computer screenDescription automatically generated


Add firewall rules

By default, Lightsail only allows SSH and HTTP access to your instance, you need to add firewall rules to ensure PBX access to your instance.

  1. Click on the instance.

You will be redirected to the instance management page.

A hand pointing at a buttonDescription automatically generated


  1. Click the Networking tab, then click Add rule under the IPv4 Firewall tab to create and configure the required firewall rules.

A screen shot of a computerDescription automatically generated















A screenshot of a computerDescription automatically generated





Access Yeastar PBX

Open a web browser, enter the PBX's IP address in the address bar, then press Enter. (NOTE: if it does not automatically open with port 8088 then added it on and refresh)

Note:You can obtain the PBX's IP address from the Public IPv4 address field on the instance management page.

A screenshot of a computerDescription automatically generated


If an installation wizard page appears, it indicates that Yeastar P-Series Software Edition is installed successfully.

Note:If you cannot access the PBX, wait a few minutes for the installation process to complete, then try again.


A screenshot of a computerDescription automatically generated


Result

Yeastar P-Series Software Edition is installed successfully, but it is inactivated and not ready for use, you need to Activate and Initially Set up Yeastar P-Series Software Edition.


Follow the Guide: Activate and Initially Set up Yeastar P-Series Software Edition.docx


Important:With P-Series Software Edition activated, next time you want to access the PBX via SSH, you should use the username support and the console password configured on PBX web portal (Security > Security Settings > Console/SSH Access > Console > Console Password).

A screenshot of a computerDescription automatically generated



    • Related Articles

    • Yeastar P-Series Self-Hosted Migration to Different Platform

      Yeastar P-Series Self-Hosted Migration to Different Platform On the current Yeastar P Series PBX Check for new firmware and if available upgrade the Yeastar to the latest firmware Select Maintenance – Upgrade – Check for New Firmware Select Upgrade ...
    • Activate and Initially Set up Yeastar P-Series Software Edition

      Activate and Initially Set up Yeastar P-Series Software Edition After you install Yeastar P-Series Software Edition, you need to activate and finish initial configurations for the system using the Installation Wizard. Prerequisites You have accessed ...
    • Auto Provision Avaya IP Phone with Yeastar P-Series Software Edition

      Auto Provision Avaya IP Phone with Yeastar P-Series Software Edition https://help.yeastar.com/en/p-series-software-edition/ip-phone-configuration-guide/auto-provision-avaya-ip-phone-with-yeastar-p-series-pbx-system.html
    • Yeastar - P-Series Software Edition Server Migration

      P-Series Self Hosted Server Migration You can migrate the database of a Software Edition Yeastar P-Series. Procedure 1. Take up backup for current system, enable 'License Code and FQDN Settings' option accordingly. 2. Install new server, in wizard ...
    • Yeastar P-Series Software Edition -Activate and Initially Set up

      Activate and Initially Set up Yeastar P-Series Software Edition After you install Yeastar P-Series Software Edition, you need to activate and finish initial configurations for the system using the Installation Wizard. Prerequisites You have accessed ...