Ask Your Question

Openstack Octavia - How to Load balance Web Applications

asked 2020-08-18 09:38:11 -0500

kums gravatar image

I am trying to fire up Octavia Load balancer to balance user requests over 5 servers running a web application. I have been searching for a tutorial on this as the OpenStack API does not give a detailed guideline.

A brief background to my current OpenStack setup. We have OpenStack installed using juju and Octavia was installed also using juju, this link and this is the overlay bundle used ( After this installation, to bring Octavia up is my problem. I followed this tutorial (, but it seems to be doing what the juju commands did, so I am at a loss to how I am supposed to start up an Octavia instance.

Can someone point me to a resource that explains this or guide me through it?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-08-18 10:57:13 -0500

johnsom gravatar image

Hi there, glad to have you trying out Octavia.

The document you are looking for is the load balancing cookbook:

It is included in our end-user section of the Octavia documentation here:


edit flag offensive delete link more


Hi, thank you for your response.

kums gravatar imagekums ( 2020-08-24 09:25:32 -0500 )edit

Hi @johnsom , thank you for your response.

I am now at a stage where I need some clarifications, please. I want to create clusters of a virtual machine, I saw that Senlin has its own kind of load balancing, am I right? From what I have read, Octavia can be used for many separate

kums gravatar imagekums ( 2020-08-24 09:26:12 -0500 )edit

virtual machines but when it comes to clusters, then the Senlin load balancing option is what to use.

My experimental setup will look somewhat like this, 2 to 3 clusters having a minimum of 5 nodes (virtual machines), each cluster will have a load balancer balancing load to nodes in the cluster,

kums gravatar imagekums ( 2020-08-24 09:27:18 -0500 )edit

then a general load balancer that will redirect requests to a different cluster.

Does this sound doable/worthwhile?

Thank you.

kums gravatar imagekums ( 2020-08-24 09:27:34 -0500 )edit

To my knowledge Senlin does not provide network load balancing, but it does have a load-balancing policy that configures Octavia for a cluster. See for information on that policy.

johnsom gravatar imagejohnsom ( 2020-08-31 16:26:03 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-08-18 09:38:11 -0500

Seen: 80 times

Last updated: Aug 18 '20