HomeNetworkLoad BalancersHow to
Manage frontends and backends
Jump toUpdate content

How to manage frontends and backends

Reviewed on 09 May 2023 • Published on 26 May 2021

When you create your Load Balancer, you set up one frontend and one backend (which is attached to one or several backend servers). This page shows you how you can add additional frontends and backends to your Load Balancer, for example to balance several different applications by creating frontends listening on different ports each of which forwards traffic to its own backend or set of backends.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:

How to add frontends

  1. Click Load Balancers in the Network section of the Scaleway Console side menu. The Load Balancer dashboard displays.
  2. Click the Load Balancer you want to add frontends to. The Load Balancer information page displays.
  3. Click the Frontends tab.
  4. Click the green + button.
  5. Enter a name, port and (if necessary) SSL certificate(s) for your new frontend. Note that each frontend must listen on a different port. For help configuring your frontend, see our dedicated reference documentation.
  6. Choose between using an existing backend or creating a new backend.
    • If using an existing backend, click Use an existing Backend and select the backend of your choice from the dropdown list.
    • If creating a new backend, click Create a new Backend and enter the required information and advanced settings as required. For help configuring your backend, see our dedicated reference documentation
  7. Under Advanced Settings, optionally use the «Toogle Icon» to enable HTTP/3. The availability of this setting depends on your Load Balancer’s configuration
  8. Click Create Frontend.
Note:
  • By default, each Load Balancer is created using round-robin balancing rules. To modify the balancing algorithm, you must use the forward-port-algorithm parameter in the Scaleway API, CLI or Terraform.

How to edit frontends

  1. Click Load Balancers in the Network section of the Scaleway Console side menu. The Load Balancer dashboard displays.
  2. Click the Load Balancer you want to edit. The Load Balancer information page displays.
  3. Click the Frontends tab.
  4. Click «See more Icon» next to the frontend you want to edit
  5. Click Edit.
  6. Make your edits. You can change:
    • Frontend name
    • Port
    • SSL Certificate(s)
    • Attached backend
    • HTTP/3 activation (under Advanced Settings)
  7. Click Edit Frontend.

How to add backends

  1. Click Load Balancers in the Network section of the Scaleway Console side menu. The Load Balancer dashboard displays.
  2. Click the Load Balancer you want to add backends to. The Load Balancer information page displays.
  3. Click the Backends tab.
  4. Click the green + button.
  5. Enter a name, protocol, port, TLS encryption setting, proxy, health check type, server IP(s) and advanced settings as required for your new backend. For help configuring your backend, see our dedicated reference documentation
  6. Click Create Backend.

How to edit backends

  1. Click Load Balancers in the Network section of the Scaleway Console side menu. The Load Balancer dashboard displays.
  2. Click the Load Balancer you want to edit. The Load Balancer information page displays.
  3. Click the Backends tab.
  4. Click the pen icon next to the backend you want to edit.
  5. Make your edits.
  6. Click Edit backend once your edits are done.
See Also