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.
The EC2 Dashboard page displays.
From the left pane under Images click AMIs.
The AMI ID page displays.
Choosing an AMI ID:
Enter the AMI ID to search.
The AMI entered displays.
Select the AMI ID and click Launch.
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.
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" }
Click Add Storage.
For more information on creating IAM role, see Creating Identity and Access Management (IAM) Roles.
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.
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.
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.
The Review Instance Launch page displays.
Reviewing an instance:
Review the instance details and click 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.
The new instance will launch.
Click the instance ID to view the instance.
The new Instance details displays. Wait until the Instance State changes from Pending state to running state.
Stopping an instance:
Right-click the instance and select Instance State > Stop.
A message appears to confirm stopping the instance.
Click Yes, Stop.
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.
Select the HA0 interface and click Attach.
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.
Click Yes, Start.
A message appears to confirm starting the 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.