How to Resize a Vultr Load Balancer

Updated on September 25, 2024

Resizing a Vultr Load Balancer by increasing the number of nodes involves updating the load balancer’s configuration to incorporate additional servers. This adjustment distributes incoming traffic across a greater number of nodes, which enhances both performance and reliability by reducing the load on individual servers and improving overall capacity. By scaling up the number of nodes, you ensure that your application can handle higher traffic volumes and maintain optimal performance.

Follow this guide to resize a Vultr Load Balancer on your Vultr account using the Vultr Customer Portal or API.

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Products and click Load Balancer.

    Load Balancer option in products menu

  2. Click your target Load Balancer to open its management page.

    Selection of a target Load Balancer

  3. Click Configuration.

    Button to open Load Balancer configuration window

  4. Click Nodes.

    Button to open Load Balancer Nodes window

  5. Increase the number of nodes.

    Field to increase the Load Balancer nodes

  6. Click Apply.

    Button to apply the Load Balancer Node change

  1. Send a GET request to the List Load Balancer endpoint and note the target Load Balancer's ID.

    console
    $ curl "https://api.vultr.com/v2/load-balancers" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update Load Balancer endpoint to increase the node size of the target Load Balancer.

    console
    $ curl "https://api.vultr.com/v2/load-balancers/df59428d-1c75-4d2f-bf49-0711db10d83f" \
        -X PATCH \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "nodes": 3
        }'
    

    Visit the Update Load Balancer page to view additional attributes you can add to your request.