Configure IAM Access for SBC Proxy Servers

To deploy a High Availability (HA) architecture for your SBC Proxy Servers, you need to create a dedicated service account and configure the necessary IAM access permissions to enable automated failover.

Background information

The high availability of SBC Proxy Servers is achieved through a failover mechanism that automatically switches the Elastic IP (EIP) between primary and backup server instances. To enable this automated process, you must create a dedicated IAM user with specific permissions, and provide its access key pair to Yeastar Support for assistance in configuring the HA functionality. The system will then use these credentials to automatically perform EIP switching and traffic redirection in the event of a failure, ensuring service continuity without manual intervention.

Procedure

Create a custom IAM policy

Create a custom IAM policy that allows querying Elastic IP and server instance status, and performing IP address association and disassociation operations.

  1. Log in to AWS IAM Console.
  2. On the left navigation pane, go to Access management > Policies.

  3. At the top-right corner, click Create policy.
  4. On the Specify permissions page, configure the required permission policy.

    1. Select the JSON tab.
    2. Copy and paste the following content to completely replace the default template.
      {
        "Version": "2012-10-17",
        "Statement": [
          {
            "Effect": "Allow",
            "Action": [
              "ec2:AssociateAddress",
              "ec2:DisassociateAddress",
              "ec2:DescribeAddresses",
              "ec2:DescribeInstances"
            ],
            "Resource": "*"
          },
          {
            "Effect": "Allow",
            "Action": [
              "ec2:DescribeNetworkInterfaces"
            ],
            "Resource": "*"
          }
        ]
      }
    3. Click Next.
  5. On the Review and create page, do as follows.
    1. In the Policy details, specify a policy name to help you identify it, and enter a description as needed.

    2. Retain the other default settings.
    3. At the bottom-right corner, click Create policy.

      The policy is successfully created and displayed in the Policies list.

Create an IAM User and attach the policy

Create a dedicated IAM service account and attach the custom policy defined in the previous step to grant it the necessary permissions.

  1. On the left navigation pane, go to Access management > Users.
  2. At the top-right corner, click Create user.

  3. On the Specify user details page, do as follows:

    1. In the User name field, enter a name to help you identify the user.
    2. At the bottom-right corner, click Next.
  4. Set permissions for the IAM user.

    1. In the Permission options section, select Attach policies directly.
    2. In the Permissions policies section, search and select the policy you have created.
    3. At the bottom-right corner, click Next.
  5. On the Review and create page, review the IAM user settings, and click Create user to proceed.

    The IAM user is successfully created and displayed in the Users list.

Generate access key pair for the user

Generate an access key pair for the service account. This key pair will be used for secure, automated access to your specified AWS resources during SBC Proxy High Availability failover events.

  1. In the User list, click the user you have created.

    You are redirected to the user details page.

  2. In the Summary section, click Create access key in the Access key field.

  3. Do as follows to generate an access key pair.

    1. In the Use case section, select Other, then click Next.
    2. Optional: In the Description tag value, enter a brief description for the access key pair.
    3. Click Create access key.
      The access key is generated successfully.
      Note: The secret access key is displayed only once on this page. You must download and securely save it before leaving this page, as you will not be able to view or retrieve it again.

  4. On the Retrieve access keys page, click Download .csv file.

    A CSV file containing the access key is downloaded to your local computer.

  5. Click Done to exit the current page.

Result

You have successfully configured the necessary IAM access for SBC Proxy Server High Availability.

What to do next

To proceed with the configuration, provide the deployment environment details along with the following SBC Proxy Server High Availability-specific information to Yeastar Support, who will then facilitate the final deployment and configuration.

Category Detail
Instance information (for both Primary and Secondary servers)
  • Instance ID (can be retrieved on the instance details page)

  • The ID of the Elastic IP associated with the instance (can be retrieved on the specific Elastic IP address details page)

Deployment region
  • AWS Region (e.g., ap-southeast-2)

Authentication credentials
  • IAM User Access Key and Secret Access Key (you may directly provide the downloaded .csv file)