Create Load Balancers

Create a public load balancer in both primary and secondary OCI regions to direct traffic to your File Server instances.

For more information on load balancer prerequisites, see Load Balancer Management.

To create a load balancer:

  1. Log in to your Oracle Cloud Infrastructure Console, and select the required region from the Regions drop-down list at the top of the page.

  2. For the full list of tasks to create a load balancer, see Load Balancer Management . The following steps list the important configurations:

    1. On the Add Details page of the Create Load Balancer dialog:

      1. Leave Public and Ephemeral IP Address selected in the visibility type and IP address sections, respectively.

      2. In the Bandwidth section, choose the required bandwidths.

      3. In the Choose Networking section, select the appropriate VCN and subnet.

    2. On the Choose Backends page, specify the details for the backend set:

      1. Select the required load balancing policy.

      2. Do not add a backend at this time.

      3. In the Specify Health Check Policy section:

        1. In the Protocol field, select TCP.
        2. In the Port field, enter the port number of the File Server instance corresponding to the region.
        3. Enter the required interval, timeout, and retry values.
    3. On the Configure Listener page:

      1. Select TCP as the protocol.
      2. Enter 22 as the port on which to listen for incoming traffic.
    4. On the Manage Logging page:

      1. Select the compartment in which you want to store the log file.

      2. Select the log group in which to store the log file. You can either select the default log group or create a new log group. If you choose to create a new group, enter a name and description for the group.

      3. Enter a name for the log file, and choose a retention period.

      4. Click Submit.

    After the system provisions the load balancer, the load balancer record appears on the page.

  3. Add the IP address of the File Server as a backend to the load balancer. For complete details, see Backend Server Management.

    1. On the Load Balancers page, click the name of the load balancer record to open it.

    2. On the Load Balancer Details page, scroll down to the Resources section, and click Backend Sets. The backend set you configured while creating the load balancer is listed on the page.

    3. Click the name of the backend set to open it.

    4. On the Backend Set Details page, click Backends in the Resources section on the left.

    5. Click Add Backends.

    6. In the Add Backends dialog:

      1. Select the IP Addresses option.

      2. Enter the IP address and port number of the File Server instance corresponding to the region.

      3. Click Add.

After the load balancer is updated, test your sFTP connection using the load balancer’s IP address and port number (22).

Note:

A Warning indicator may be displayed in the Overall Health field of the load balancer record. If you’ve already tested the connection, no further action is required.