Sonus recommends using the Cloud Formation template for instantiation at Instantiating a Standalone SBC SWe Instance.
To instantiate a standalone 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:
Format of Userdata for Standalone
If the CERole parameter is missing, it represents standalone userdata format.
{ "ReverseNatPkt0" : "False", "ReverseNatPkt1" : "False", "CEName" : "CEName", "SystemName" : "SystemName" }
Example of Userdata for Standalone
If the CERole parameter is missing, it represents standalone userdata format.
{ "ReverseNatPkt0" : "False", "ReverseNatPkt1" : "False", "SystemName" : "vsbcSystem", "CEName" : "vsbc1" }
Click Next: Add Storage.
The Add Storage page opens.
Adding storage:
Select Provisioned IOPS (SSD) as Volume Type.
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.
Use a key-value pair for which you have a .pem file because you will need that for logging (ssh) into the system.
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 HA 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 systemName and local host name can be changed by editing the userdata. For more information, refer to Metadata and Userdata Format, Meta Variables and CLI Configuration on AWS.