Fortinet black logo

Creating a load balancer

Copy Link
Copy Doc ID fe963d19-9275-11e9-81a4-00505692583a:654286

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. Add Details

    Name

    Enter a name for the load balancer.
    Shape Specify the SHAPE based on your traffic bandwidth

    Assign a public IP address

    Select whether to assign a public IP address.

    Visibility Type Choose visibility type based on your own needs. For more information on the OCI load balancer, see this article.
    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 Select the subnet where the FortiWeb-VMs are deployed.
    Choose Backends
    Load Balancing Policy Select the traffic distribution algorithm.
    Select backend servers Select the HA instances from the list, or you can add instances after the load balancer is created.

    Specify Health Check Policy

    Select the health check policy as you desire.

    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.

    Configure Listener
    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.

  6. Click Submit.

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. Add Details

    Name

    Enter a name for the load balancer.
    Shape Specify the SHAPE based on your traffic bandwidth

    Assign a public IP address

    Select whether to assign a public IP address.

    Visibility Type Choose visibility type based on your own needs. For more information on the OCI load balancer, see this article.
    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 Select the subnet where the FortiWeb-VMs are deployed.
    Choose Backends
    Load Balancing Policy Select the traffic distribution algorithm.
    Select backend servers Select the HA instances from the list, or you can add instances after the load balancer is created.

    Specify Health Check Policy

    Select the health check policy as you desire.

    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.

    Configure Listener
    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.

  6. Click Submit.