Fortinet Document Library

Version:


Table of Contents

6.3.2
Download PDF
Copy Link

Creating a load balancer

  1. Take note of the private IP addresses of the FortiWeb-VMs. You will use it in the following steps.
    1. Go to Core Infrastructure > Compute > Instance
    2. Select the VM instances you have created. Find the private IP address on Instance Information tab.
  2. Select Core Infrastructure > Networking > Load Balancers
  3. Click Create Load balancer.
  4. Configure the following settings.
  5. Load Balancer Information

    NAME

    Enter a name for the load balancer.
    SHAPE Specify the SHAPE based on your traffic bandwidth
    VISIBILITY TYPE Choose visibility type based on your own needs. For more information on the OCI load balancer, see this article.

    Network Information

    VIRTUAL CLOUD NETWORK Select the virtual cloud network in which the Load balancer will be deployed. It should be the same virtual cloud network where the two FortiWeb-VMs are deployed.
    SUBNET 1 Select the subnet where the FortiWeb-VMs are deployed.
    SUBNET 2 Select the subnet where the FortiWeb-VMs are deployed. Skip this option if the two FortiWeb-VMs are deployed in the same subnet.
    Listener Information
    PROTOCOL

    The Listener listens for the web connection requests using the specified protocol.

    To specify more protocols, you need to create another load balancer.

    PORT

    Specify the port number from which the Load Balancer listens for the connection requests. You can enter any number you want. It's recommended to enter the default port numbers for HTTP (80) and HTTPS (443) access, so that the users do not need to type the port numbers in the browser when they visit your web application.

    Backend Set Information
    TRAFFIC DISTRIBUTION POLICY Select the traffic distribution algorithm.
    BACKEND SERVER IP ADDRESSES Select "Enter a compute instance private or public IP address".
    PRIVATE OR PUBLIC IP ADDRESS

    Enter the private IP address of the FortiWeb-VM.

    The port number should be the port where FortiWeb listens for the web services (Server Object > Service).

    If you want to deploy FortiWeb-VMs in Active-Active mode, click + Additional Backend to enter the private IP address of the second FortiWeb-VM.

    TAGS

    TAG NAMESPACE

    Select a tag namespace.

    TAG KEY

    Enter a key, such as "Name".

    VALUE

    Enter a value, such as "FortiWebHA-Load Balancer".

  6. Click Create.

Creating a load balancer

  1. Take note of the private IP addresses of the FortiWeb-VMs. You will use it in the following steps.
    1. Go to Core Infrastructure > Compute > Instance
    2. Select the VM instances you have created. Find the private IP address on Instance Information tab.
  2. Select Core Infrastructure > Networking > Load Balancers
  3. Click Create Load balancer.
  4. Configure the following settings.
  5. Load Balancer Information

    NAME

    Enter a name for the load balancer.
    SHAPE Specify the SHAPE based on your traffic bandwidth
    VISIBILITY TYPE Choose visibility type based on your own needs. For more information on the OCI load balancer, see this article.

    Network Information

    VIRTUAL CLOUD NETWORK Select the virtual cloud network in which the Load balancer will be deployed. It should be the same virtual cloud network where the two FortiWeb-VMs are deployed.
    SUBNET 1 Select the subnet where the FortiWeb-VMs are deployed.
    SUBNET 2 Select the subnet where the FortiWeb-VMs are deployed. Skip this option if the two FortiWeb-VMs are deployed in the same subnet.
    Listener Information
    PROTOCOL

    The Listener listens for the web connection requests using the specified protocol.

    To specify more protocols, you need to create another load balancer.

    PORT

    Specify the port number from which the Load Balancer listens for the connection requests. You can enter any number you want. It's recommended to enter the default port numbers for HTTP (80) and HTTPS (443) access, so that the users do not need to type the port numbers in the browser when they visit your web application.

    Backend Set Information
    TRAFFIC DISTRIBUTION POLICY Select the traffic distribution algorithm.
    BACKEND SERVER IP ADDRESSES Select "Enter a compute instance private or public IP address".
    PRIVATE OR PUBLIC IP ADDRESS

    Enter the private IP address of the FortiWeb-VM.

    The port number should be the port where FortiWeb listens for the web services (Server Object > Service).

    If you want to deploy FortiWeb-VMs in Active-Active mode, click + Additional Backend to enter the private IP address of the second FortiWeb-VM.

    TAGS

    TAG NAMESPACE

    Select a tag namespace.

    TAG KEY

    Enter a key, such as "Name".

    VALUE

    Enter a value, such as "FortiWebHA-Load Balancer".

  6. Click Create.