From the course: Learning Chef

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Chef Supermarket

Chef Supermarket

From the course: Learning Chef

Start my 1-month free trial

Chef Supermarket

- [Instructor] Returning back to the infrastructure we're concerned with building in this class, we've been talking about adding a load balancer to our Chef server. This load balancer is going to allow us to expand or scale our infrastructure. When it receives requests from the internet, it will relay those requests to an available web server. It's a great way to see how we can actually work with some more complex cookbooks. Now what needs to be done to actually set up this new load balancer? Well we have to write a cookbook that's full of the load balancer instructions. Here you see that I'm actually going to talk about using a protocol called haproxy. Haproxy is an easy way to set up a software-based load balancer. Now to run out new load balancer cookbook, I'll also need a new note, which you saw me managing in EWS earlier in the class. But do we really want to reinvent the wheel? You should understand that there's a lot of code out there that people have already pulled apart and…

Contents