In this section:
- two EIPs for use with MGT0 of each of the SBC instances (1 EIP for each SBC instance in the HA pair)
- one EIP for MGT0 secondary IP of ACTIVE SBC
- one EIP for PKT0 of the HA SBC instance pair (if required per customer deployment)
- one EIP for PKT1 network interfaces (if required per customer deployment)
To create an Elastic IP for the Management (MGT0) interface, perform the following steps:
- Navigate to the EC2 Management Console
- Select NETWORK & SECURITY > Elastic IPs
The Elastic IPs page displays. - Click Allocate new address.
The Allocate new address page displays. - Click the radio button next to IPv4 address pool > Amazon pool unless you have a private IPv4 address pool pre-defined by Amazon.
- Click Allocate to complete the creation.
- Assign your IP address a name tag by hovering the mouse over the "Name" field in the Network interface list and click on the pencil, then type in a name.
- Repeat to allocate Elastic IPs for the 2nd SBC instance's MGT0 and PKT0 and/or PKT1 if required per customer networking needs.
Create Network Interfaces
Create network interfaces for HA0, MGT0, PKT0, and PKT1 of each of the SBC Instances in the HA pair to be able to route IP packets to/from the subnets created in the prior step. To instantiate the SBC SWe HA instance, add a secondary IP address to MGT0, PKT0, and PKT1 network interfaces.
To create a network interface for HA0, perform the following steps:
Navigate to EC2 Management Console.
Select NETWORK & SECURITY > Network Interfaces.
The Network Interface page displays.Click Create Network Interface.
The Create Network Interface displays.In the Create Network Interface screen:
Enter the network interface description such as HA0.
Select the Subnet and Security groups from the drop-down list.
Click Yes, Create.
The new network interface displays in the list.
- By default, the network interface does not have a name. Name it by hovering the mouse over the "Name" field in the Network interface list and click on the pencil. The user will be prompted to enter a name.
- Repeat steps 3 through 4 to create network interfaces for MGT0, PKT0, and PKT1 of the active SBC instance.
- Repeat steps 3 through 4 to create network interfaces for the HA0, MGT0, PKT0, and PKT1 interfaces of the standby SBC instance.
Add Secondary IP Addresses to MTG0, PKT0, PKT1 Network Interfaces
To instantiate the SBC SWe HA instance, add a secondary IP address to the MGT0, PKT0, and PKT1 network interfaces that will be associated with the active SBC SWe instance.
When the switch-over occurs, the secondary IP address and the EIP address (associated with these Secondary IPs) move to the new active instance's corresponding interfaces.
To add a secondary IP address:
Right-click the network interface and select Manage Private IP Addresses.
The Manage Private IP Addresses window displays.Click Assign new IP.
Enter the secondary IP address.
NoteBy default, if you do not enter a secondary IP address, the IP address gets auto-assigned.
Click Yes, Update.
The attached address displays.
Associate an Elastic IP Address to Private IPs
Associate an elastic IP (EIP) address to MGT0 private primary IP and secondary private IP addresses.
Based on the network requirement, associate EIPs to secondary IP addresses of PKT0 and PKT1 network interfaces if those networks require external access.
To associate an elastic IP address to MTG0 of the active SBC instance:
- Right-click the network interface and select Associate Address.
The Associate Elastic IP Address screen displays. - Click the Address drop-down list and select an elastic IP address from the list.
- Click the Associate to Private IP Address drop-down list and select the private IP address.
Click Associate Address.
Launch an HA SBC Instance Pair from EC2
To launch the SBC HA instance pair from the AWS EC2 control panel, do the following:
While logged into the target AWS account, 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.
Choose an AMI ID
This account may own the SBC AMI ID, or it may be a private image.
- If this account owns the AMI, select Owned by me from the drop-down next to the search bar.
- If this account does not own the AMI, select Private images from the drop-down next to the search bar.
- In the search bar, enter the AMI ID of the image and press enter. The AMI entered displays.
- Select the AMI ID and click Launch.
The Choose an Instance Type page displays.
Choose an Instance Type
Ribbon recommends m5.xlarge or higher instance type if this instance type is available in your zone. Use c5.2xlarge instance type or higher to handle more calls with transcoding.
- Select an instance type that meets the requirements.
- Click Next: Configure InstanceDetails.
The Configure Instance Details page displays. The page is quite long and has a scroll bar at right.
Configure the Active SBC Instance
Select the Network (VPC) and Management Subnet from the list.
This creates the mgt0 network interface and attaches as eth0.Select the checkbox Add instance to Placement group and click on the radio button next to Add to a new placement group. There is an option to give the placement group a name.
NoteA placement group ID is a logical grouping of instances within a single Availability Zone. The choices are "cluster" or "spread". This is an optional field and can be blank.
Select the IAM role that was created earlier in the procedure.
Scroll down and select Tenancy from the list.
NoteDedicated instances have dedicated hardware isolated at host hardware level from the non-dedicated instances and instances that belong to other AWS accounts.
It accepts shared, for instances running on shared hardware, or dedicated or dedicated host, for instances running on single-tenant hardware.
- Scroll down to Network interfaces and expand the section.
- Choose to auto-assign a Public IP address by selecting New network interface next to the eth0 device or Select the mtg0 Network Interface that was allocated in a prior step from the drop-down.
Click Advanced Details section to expand.
NoteIf the CERole parameter in user data is Active/Standby, it represents the HA userdata format. Otherwise, it represents the standalone userdata format.
In the User data section select As text.
Enter the user data corresponding to the ACTIVE SBC instance per the following format:
{ "CERole" : "<ACTIVE | STANDBY>", "ReverseNatPkt0" : "<True | False>", "ReverseNatPkt1" : "<True | False>", "ALT_Mgt0_00" : "LOGICAL_MGMT_IP", "ALT_Pkt0_00" : "VIP1", "ALT_Pkt1_00" : "VIP2", "CEName" : "<CEName>", "SystemName" : "<SystemName>", "PeerCEName" : "<PeerCEName>", "PeerCEHa0IPv4Address" : "<PeerCEHa0IPv4Address>", "ClusterIp" : "<PeerCEHa0IPv4Address>" "SbcPersonalityType" : "isbc", "SbcHaMode" : "1to1", "IAM_ROLE" : "<AWS IAM Role Name>", "AdminSshKey" : "<public key>", "ThirdPartyCpuAlloc" : "<vcpu>", "ThirdPartyMemAlloc" : "<mb>" }
{ "CERole" : "ACTIVE", "ReverseNatPkt0" : "<True | False>", "ReverseNatPkt1" : "<True | False>", "ALT_Mgt0_00" : "LOGICAL_MGMT_IP", "ALT_Pkt0_00" : "VIP1", "ALT_Pkt1_00" : "VIP2", "CEName" : "<CEName>", "SystemName" : "<SystemName>", "PeerCEName" : "<PeerCEName>", "PeerCEHa0IPv4Address" : "<PeerCEHa0IPv4Address>", "ClusterIp" : "<PeerCEHa0IPv4Address>" "SbcPersonalityType" : "isbc", "SbcHaMode" : "1to1", "IAM_ROLE" : "<AWS IAM Role Name>", "AdminSshKey" : "<public key>", "ThirdPartyCpuAlloc" : "<vcpu>", "ThirdPartyMemAlloc" : "<mb>" }
{ "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", "ClusterIp" : "<PeerCEHa0IPv4Address>" "SbcPersonalityType" : "isbc", "SbcHaMode" : "1to1", "IAM_ROLE" : "SWe", "AdminSshKey" : "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCJnrFMr/RXJD3rVLMLdkJBYau+lWQ+F55Xj+KjunVBtw/zXURV38QIQ1zCw/GDO2CZTSyehUeiV0pi2moUs0ZiK6/TdWTzcOP3RCUhNI26sBFv/Tk5MdaojSqUc2NMpS/c1ESCmaUMBv4F7PfeHt0f3PqpUsxvKeNQQuEZyXjFEwAUdbkCMEptgaroYwuEz4SpFCfNBh0obUSoX5FNiNO/OyXcR8poVH0UhFim0Rdneo7VEH5FeqdkdGyZcTFs7A7aWpBRY3N8KUwklmNSWdDZ9//epEwgaF3m5U7XMd4M9zHURF1uQ/Nc+aiyVId9Mje2EU+nh6npaw/tEOPUiC1v", "ThirdPartyCpuAlloc" : "0", "ThirdPartyMemAlloc" : "0" }
Do not change the values entered for ALT_Mgt0_00, ALT_Pkt0_00, ALT_Pkt1_00.
- ALT_Mgt0_00 - Renames the first alternate IP for management port as "LOGICAL_MGMT_IP".
- ALT_Pkt0_00 - Renames the first alternate IP for PKT0 port as "VIP1".
- ALT_Pkt0_01 - Renames the first alternate IP for PKT1 port as "VIP2".
{ "CERole" : "STANDBY", "ReverseNatPkt0" : "<True | False>", "ReverseNatPkt1" : "<True | False>", "ALT_Mgt0_00" : "LOGICAL_MGMT_IP", "ALT_Pkt0_00" : "VIP1", "ALT_Pkt1_00" : "VIP2", "CEName" : "<CEName>", "SystemName" : "<SystemName>", "PeerCEName" : "<PeerCEName>", "PeerCEHa0IPv4Address" : "<PeerCEHa0IPv4Address>", "ClusterIp" : "<PeerCEHa0IPv4Address>" "SbcPersonalityType" : "isbc", "SbcHaMode" : "1to1", "IAM_ROLE" : "<AWS IAM Role Name>", "AdminSshKey" : "<public key>", "ThirdPartyCpuAlloc" : "<vcpu>", "ThirdPartyMemAlloc" : "<mb>" }
{ "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", "ClusterIp" : "<PeerCEHa0IPv4Address>" "SbcPersonalityType" : "isbc", "SbcHaMode" : "1to1", "IAM_ROLE" : "SWe", "AdminSshKey" : "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCJnrFMr/RXJD3rVLMLdkJBYau+lWQ+F55Xj+KjunVBtw/zXURV38QIQ1zCw/GDO2CZTSyehUeiV0pi2moUs0ZiK6/TdWTzcOP3RCUhNI26sBFv/Tk5MdaojSqUc2NMpS/c1ESCmaUMBv4F7PfeHt0f3PqpUsxvKeNQQuEZyXjFEwAUdbkCMEptgaroYwuEz4SpFCfNBh0obUSoX5FNiNO/OyXcR8poVH0UhFim0Rdneo7VEH5FeqdkdGyZcTFs7A7aWpBRY3N8KUwklmNSWdDZ9//epEwgaF3m5U7XMd4M9zHURF1uQ/Nc+aiyVId9Mje2EU+nh6npaw/tEOPUiC1v", "ThirdPartyCpuAlloc" : "0", "ThirdPartyMemAlloc" : "0" }
Do not change the values entered for ALT_Mgt0_00, ALT_Pkt0_00, ALT_Pkt1_00.
- ALT_Mgt0_00 - Renames the first alternate IP for management port as "LOGICAL_MGMT_IP".
- ALT_Pkt0_00 - Renames the first alternate IP for PKT0 port as "VIP1".
- ALT_Pkt0_01 - Renames the first alternate IP for PKT1 port as "VIP2".
The following table gives descriptions of Userdata Parameters:
Add Storage
Click Next: Add Storage.
- The Add Storage page opens.
- The Add Storage page opens.
Select Provisioned IOPS SSD (io1) as Volume Type.
Enter volume size in GiB.
NoteThe minimum size is 65 GiB. Ribbon recommends using the default IOPS value.
Add Tags
- Click on Next: Add Tags. The Add Tags page displays:
- Enter a key name and value.
- Click Add another tag to create more than one tag.
Configure Security Groups
- Click Next: Configure Security Group. The Configure Security Group page appears:
- Click Select an existing security group.
- Select the management security group from the list.
- Click Review and Launch.
Review the Instance
- Review the instance details. Choose to Edit any of the prior specified instance specifications.
- Click Launch. A prompt to select a key pair will appear.
Select Key Pair
Select Key Pair option
Select Choose an existing key pair and select the key pair or specify the key pair name if one is already defined.
OR
Select Create a new key pair name from the drop-down and give the key-pair a name. Be sure to click "Download Key Pair" to save the private key file (*.pem). This will be required to have ssh access into the created SBC after the instance launches.
- Click Launch Instances. The new instance will start launching, and the Launch Status page appears.
Click the instance ID to view the instance.
Attach Network Interfaces
Stop the instance to attach the network interfaces. Right-click the instance and select Instance State > Stop.
A message appears to confirm stopping the instance.
The Launch Instance screen displays again.- NoteNote
At this point, you can optionally change the systemName and local host name by editing the userdata.
- Re-Start the instance to continue the instantiation.
- Right-click the instance and select Instance State > Start.
A message appears to confirm starting the instance. - Click Yes, Start.
The user returns to the Launch Instance screen.
- Right-click the instance and select Instance State > Start.
Launch Standby SBC Instance
Repeat the procedures under Launch an HA SBC Instance Pair from EC2 to Launch the Standby SBC Instance.