NavigationContentFooter
Jump toSuggest an edit

How to create and manage Load Balancer flexible IPs

Reviewed on 10 June 2024Published on 05 December 2023

This page shows you how to use Load Balancer flexible IP addresses. A flexible IP address is a public IP address for your Load Balancer.

  • A flexible IP address can either be IPv4 or IPv6.
  • You can create and hold flexible IP addresses independently of any Load Balancer.
  • When you create a Load Balancer with public accessibility, it must have a public IPv4 address. You can choose whether to create a new flexible IPv4 address for it, or use an existing one that you hold. The addition of a public IPv6 address is optional. If you would like to add one, you can choose whether to create a new flexible IPv6 address, or use an existing one that you hold.
  • When you delete the Load Balancer, you can choose to also delete its flexible IP address(es), or else hold the address(es) in your account to use with a future Load Balancer you create.
Note

The following limitations apply to Load Balancer flexible IPs:

  • A public Load Balancer must have an IPv4 address, and optionally an IPv6 address as well. It cannot have only an IPv6 address.
  • You cannot currently change the flexible IP address of an existing Load Balancer, that is to say you cannot detach its flexible IP after creation to attach a different one. You can attach a flexible IPv6 to a Load Balancer that does not already have one, but you cannot modify or change this address once attached.
  • Flexible IPs are associated with a particular product and cannot be moved to a different type of resource. For example, a flexible IP for Load Balancer can be used with another Load Balancer, but it cannot be used with other resource types like Instances or Elastic Metal servers.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Created a Load Balancer

How to create a flexible IP address

When you create a Load Balancer, the creation wizard lets you create a new flexible IPv4 address (and, optionally, an IPv6 address as well) that will be automatically attached to the Load Balancer in question. See the How to create a Load Balancer for full details. However, if you wish to create a flexible IP address to hold independently of any Load Balancer, follow the steps below:

  1. Click Load Balancers in the Network section of the Scaleway console side menu.

  2. Click the Flexible IPs tab.

    Tip

    You must have already created a Load Balancer in order for this tab to be visible.

  3. Click Create flexible IP.

    The flexible IP creation wizard displays.

  4. Choose the Availability Zone you want to create your flexible IP in.

  5. Select a protocol for the flexible IP address: either IPv4 or IPv6.

  6. Optionally, select a Load Balancer if you want to attach the flexible IP to it directly.

  7. Check the estimated cost, and click Create flexible IP.

    Your flexible IP address is created. You are returned to the flexible IPs tab, where your list of IPs displays.

How to edit the reverse DNS of a flexible IP address

When you create a flexible IP address, a reverse DNS record is created for it, using an auto-generated domain. You can edit the reverse DNS of any of your flexible IP addresses at any time. This allows you to replace the automatically-generated domain with your own domain name, so that, with the correct configuration of your domain’s DNS, you can resolve your domain to the IP address of the flexible IP and vice versa.

  1. Click Load Balancers in the Network section of the Scaleway console side menu.

  2. Click the Flexible IPs tab.

  3. Click «See more Icon» next to the flexible IP whose reverse DNS you want to edit, and select Edit reverse.

    A pop-up displays.

  4. Replace the automatically-generated domain (e.g. 51-158-59-249.lb.fr-par.scw.cloud) with your own (sub)domain (e.g. blog.mydomain.com) and click Edit reverse.

    The reverse DNS of your flexible IP address is updated, and you are returned to the list of your flexible IPs.

How to delete a flexible IP address

You can delete any flexible IP address that is not attached to a Load Balancer. The only way to delete a flexible IP address that is attached to a Load Balancer, is to delete the Load Balancer itself, and check the Delete IP box when prompted.

The steps below show how to delete a flexible IP that is not attached to a Load Balancer.

  1. Click Load Balancers in the Network section of the Scaleway console side menu.

  2. Click the Flexible IPs tab.

  3. Click «See more Icon» next to the flexible IP that you want to delete, and select Delete.

    A pop-up displays, warning you that this action is irreversible and will permanently delete this flexible IP from your account.

  4. Click Delete flexible IP to confirm.

    The flexible IP is deleted.

See also
How to set up a customized error pageHow to resize a Load Balancer
Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway