Launch Instances into the VPC

Now you can launch instances in the VPC for the required servers.

Background information

When launching an instance, you need to complete the required settings listed below:
  • Set up storage volumes for system data and independent PBX recording files.
  • Create a security group to control both inbound and outbound traffic for associated instances.
  • Set up key pairs to secure the login information for your instances.

The following diagram shows the architecture of your VPC after you complete this step.

Requirements

Check the recommended instances and instance types as listed in the following table.

Instance Instance type

Storage

(Root Device)

Storage

(EBS Volume)
Subnet where the instance resides
YCM Server C5.xlarge (4 vCPU 8 GB) 100 GB N/A Public Subnet 1
SBC Server C5.xlarge (4 vCPU 8 GB) 200 GB N/A Public Subnet 1
SBC Proxy Server C5.xlarge (4 vCPU 8 GB) 200 GB N/A Public Subnet 1
PBXHub Server m5.4xlarge (16 vCPU 64 GB) 200 GB 200 GB * 2 Private Subnet

Procedure

  1. Log in to Amazon EC2 Console.
  2. On the left navigation bar, click Instances, then click Launch instances.

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

  4. In Application and OS Images section, select the desired AMI.

    1. Under the Quick Start tab, click Ubuntu.
    2. In the Amazon Machine Image (AMI) drop-down list, search and select Ubuntu Server 20.04 LTS (HVM), SSD Volume Type.
  5. In Instance type section, select an instance type that can meet the performance requirements of your server workload.
    1. Click the Instance type field to expand the instance type list.
    2. Search and select the required instance type for the server.
  6. In Key pair (login) section, set a key pair for instance access.
    To use an existing key pair
    1. Click the Key pair name filed to expand the key pair list.
    2. Search and select the desired key pair.
    To use a new key pair
    1. Click Create a new key pair to create a key pair.
    2. In the Key pair name field, specify a name to help you identify it.
    3. Set the desired key pair type and private key file format according to your need.
    4. Click Create key pair.

      The key pair is created and automatically downloaded onto your computer. Save it securely for later use.

  7. In Network settings section, click Edit to complete the following settings.
    1. Set up the network configuration of the instance.
    2. In Firewall (security groups) section, set up a security group to control the traffic for the instance.
      Note: All the server instances of Yeastar P-Series Cloud PBX should use the same security group.
      To create a new security group
      You need to create a security group for Yeastar P-Series Cloud PBX. To set up the related inbound rules, do as follows:
      1. Click Create security group.

      2. In Security group name field, specify a name to help you identify it.
      3. In Description field, enter a remark or leave the default description.
      4. In Inbound security group rules section, add the following security group rules for the server instance.
        Table 1.
        Type Protocol Port range Source type Source
        Custom TCP TCP 0 - 1021 Anywhere
        Custom TCP TCP 1023 - 65535 Anywhere
        All UDP UDP 0 - 65535 Anywhere
        Custom TCP TCP 1022 Custom Add the IP addresses that are allowed to access the instance.
        Note: Contact Yeastar to obtain the allowed IP addresses.
      To use an existing security group
      Select the same security group created for Yeastar P-Series Cloud PBX for all the servers in the later instance creation.
      1. Click Select existing security group.

      2. In the Common security groups drop-down list, select the desired security group.

  8. In Configure storage section, set up storage for the instance according to the server storage requirements.
    • Configure storage volume for YCM Server.

      1. Change the size of the Root volume to 100.
      2. Set the volume type to gp2.
    • Configure storage volume for SBC Server or SBC Proxy Server.

      1. Change the size of the Root volume to 200.
      2. Set the volume type to gp2.
    • Configure storage volume for PBXHub Server.

      1. Change the size of the Root volume to 200.
      2. Set the volume type to gp2.
      3. Click Add new volume to attach two additional EBS volumes to the server instance, each has a storage size of 200 GiB with a volume type of gp2.
  9. In Summary section, set the Number of instances to 1.
  10. Review and confirm the settings that you've set, then click Launch instance.
  11. Repeat Step 2 - Step 11 to create instances for other servers.

Result

The new created instance is displayed on the Instances list with the Instance state displayed as Running.