Setting up Marathon-lb

First, we should understand why we need Marathon-lb set up. We already deployed a WordPress container in the previous section. So, you have one instance, you know the server name and the port, and, when you click on the link, it will bring up the output page—the WordPress landing page. If you are working on only one instance, then you don't have to use Marathon-lb; you can just have your public IP map to another DNS name and you can access that. In our case, our server is mesos-master2, so what we can do is we can just access the mesos-master2 server on a specific port and then it will get access. You can just configure a load balancer and point to this server on this port and your work is done. In that scenario, you ...

Get Learn Apache Mesos now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.