Sonus recommends using the Cloud Formation template to instantiate. Refer to Instantiating an SBC SWe HA Instance for additional details.
To instantiate a HA instance:
Log onto AWS.
Click the Services drop-down list.
The Services list is displayed.
From the left pane click EC2.
Amazon Services
The EC2 Dashboard page displays.
From the left pane under Images click AMIs.
The AMI ID page displays.
AMI ID Page
Choosing an AMI ID:
Enter the AMI ID to search.
The AMI entered displays.
Select the AMI ID and click Launch.
AMI ID
The Choose an Instance Type page displays.
Choosing an instance type:
Select an instance type that meets the requirements.
Sonus recommends c4.2xlarge or higher instance type if this instance type is available in your zone. Use c4.2xlarge instance type or higher to handle more calls with transcoding.
You can use m4.xlarge instance type if the number of calls are less and does not require transcoding.
Chose an Instance Type
Click Configure InstanceDetails.
The Configure Instance Details page displays.
Configuring an instance:
Select the Network (VPC) and Management Subnet from the list.
This creates the mgt0 network interface and is attached as eth0.
Select a Placement group from the list.
A placement group ID is a logical grouping of instances within a single Availability Zone. This is an optional field and can be blank.
Select Tenancy from the list.
Dedicated instances have a dedicated hardware isolated at host hardware level from the non-dedicated instances and instances that belong to other AWS accounts.
It accepts default
- for instances running on shared hardware or dedicated
- for instances running on a single-tenant hardware.
In the User data section select As text.
Enter the user data information in the following format for an Active Instance:
Format of Userdata for HA
If the CERole parameter is Active/Standby, it represents HA userdata format.
{ "CERole" : "CERole", "ReverseNatPkt0" : "False", "ReverseNatPkt1" : "False", "CEName" : "CEName", "SystemName" : "SystemName", "PeerCEName" : "PeerCEName", "PeerCEHa0IPv4Prefix" : "PeerCEHa0IPv4Prefix" }
Example of Userdata for HA
If the CERole parameter is Active/Standby, it represents HA userdata format.
{ "CERole" : "ACTIVE", "ReverseNatPkt0" : "False", "ReverseNatPkt1" : "False", "ALT_Mgt0_00" : "LOGICAL_MGMT_IP", "ALT_Pkt0_00" : "VIP1", "ALT_Pkt1_00" : "VIP2", "CEName" : "vsbc1", "SystemName" : "vsbcSystem", "NodeName" : "SD-test-HA-510A654", "PeerCEName" : "vsbc2", "PeerCEHa0IPv4Address" : "10.54.20.133" }
User data format for a standby instance is:
{ "CERole" : "STANDBY", "ReverseNatPkt0" : "False", "ReverseNatPkt1" : "False", "ALT_Mgt0_00" : "LOGICAL_MGMT_IP", "ALT_Pkt0_00" : "VIP1", "ALT_Pkt1_00" : "VIP2", "CEName" : "vsbc2", "SystemName" : "vsbcSystem", "NodeName" : "SD-test-HA-510A654", "PeerCEName" : "vsbc1", "PeerCEHa0IPv4Address" : "10.54.20.218" }
Userdata Parameter Description
Parameter | Length | Format | Description |
---|---|---|---|
CERole | N/A | Active | Assigned role of SBC instance. Allowed Value:
|
ReverseNatPkt0 / ReverseNatPkt1 | Reverse NAT flag for Pkt0 and Pkt1 Default value - False | True/False | Values:
|
CEName | 64 | vsbc1 | Specifies the actual CE name of the SBC instance. For more information, see System and Instance Naming Conventions. CEName Requirements:
|
SystemName | 26 | vsbcSystem | Specifies the actual system name of the SBC instance. For more information, see System and Instance Naming Conventions. System Requirements:
|
Node Name | 64 | SD-AWS-HA-510A654 | Specifies a unique name for the instance in a node. |
PeerCEName | 64 | vsbc2 | Specifies the name of the peer SBC node. For more information, see System and Instance Naming Conventions. Peer CEName Requirements:
|
PeerCEHa0IPv4Address | N/A | 10.1.0.3 | Specifies the IPv4 address of the HA port for the peer SBC node. This parameter is applicable only in case of instance is launched in HA mode. |
Click Add Storage.
For more information on creating IAM role, see Creating Identity and Access Management (IAM) Roles.
Configure Instance Details
The Add Storage page displays.
Adding a storage:
Select Provisioned IOPS (SSD) as Volume Type.
By default, the IOPS value is set to 1950. Sonus recommends you to use the default IOPS value.
Click Tag Instance.
Add Storage
The Tag Instance page displays.
Tagging an instance:
Enter a key name and value.
Click Create Tag to create more than one tag.
Click Configure Security Group.
Tag Instance
The Configure Security Group page displays.
Configuring security group:
Click Select an existing security group.
Select the management security group from the list.
Click Review and Launch.
Configure Security Group
The Review Instance Launch page displays.
Reviewing an instance:
Review the instance details and click Launch.
Review Instance Launch
You will be prompted to select a key pair.
Selecting a key pair:
Select Choose an existing key pair from the drop-down and select the key pair.
Click Launch Instances.
Selecting a Key Pair
The new instance will launch.
Click the instance ID to view the instance.
Launch Status
The new Instance details displays. Wait until the Instance State changes from Pending state to running state.
New Instance Details
Stopping an instance:
Right-click the instance and select Instance State > Stop.
Stopping an Instance
A message appears to confirm stopping the instance.
Click Yes, Stop.
Instance Stop Confirmation
Attaching network interface:
Right-click the instance and select Networking > Attach Network Interface.
The network interface must be attached with the instance in the order of HA, PKT0, and PKT1.
Attaching a Network Interface
Select the HA0 interface and click Attach.
Attaching HA Network Interface
Repeat step 15 to attach PKT0 and PKT1 network interfaces.
In instance details, the attached network interfaces are listed as eth0, eth1, eth2, and eth3. Sonus refers to these as MGT0, HA, PKT0, and PKT1 respectively.
Starting an instance:
Right-click the instance and select Instance State > Start.
The system takes approximately 6-8 minutes to start.
Starting the Instance
Click Yes, Start.
A message appears to confirm starting the instance.
Instance Start Confirmation
New Instance
The system name and local host name can be changed by editing the userdata. For more information on editing the userdata, refer to Metadata, Userdata and MetaVariable Formats on AWS.