Keepalived and HAProxy in AWS: An Exploratory Guide
This article originally published on the Logentries Blog.
We're going to explore high availability and load balancing
using Keepalived and HAProxy.
Keepalived is a routing software designed to provide simple and robust
facilities for load balancing and high-availability to Linux systems and
HAProxy is an open source load balancer/reverse proxy generally used for
load balancing web services, but also has the functionality to load balance
Together, Keepalived and HAProxy provide some unique benefits
Specifically, they provide a low cost solution for high availability
compared to proprietary hardware-based load balancers.
Keepalived uses the VRRP protocol to detect when HAProxy is down and fails
with minimal downtime.
The following documentation is focused on setting up Keepal... (more)
I recently came across a blog post on OpenOpsIQ asking the question: "With
the introduction of real-time logging, why cant we have a single solution for
monitoring the entire stack?" In my opinion, you can! As we have seen lately
from a survey we carried out across a sample of the Logentries' 25,000+ user
base, organizations are starting to apply logs for a wider range of use
cases. So why would you do this, and why does using log data to create
real-time dashboards for different views into your system make so much sense?
Here's a few reasons why I think creating dashboards from y... (more)
Last month, Mark Lacomber wrote a post describing how to use D3.js
visualization library at Logentries. I am following up to show how to combine
D3 with the AngularJS framework. As we all know, Angular and D3 frameworks
are very popular, and once they work together they can be very powerful and
helpful when creating dashboards. But, they can also be challenging and
confusing especially when new to these frameworks. The right way to
incorporate D3 with Angular is to use custom directives. Directives in
Angular are essentially functions that are executed on a DOM element. Let's
"Diamonds never lie to me,
For when love's gone,
They'll luster on." -Shirley Bassey
If you haven't heard, Diamond is a fantastic Python daemon that lets you
collect system metrics. With Diamond, you can collect metrics like CPU,
memory, network, i/o, load and disk usage, all in readable form.
Even better, is that all this data can be sent to Logentries where you can
take advantage of our powerful search, alerting, and graphing tools! Now,
supporting direct integration has never been simpler to send detailed system
Want to correlate fatal log errors against your system... (more)
It takes a lot of will power, in our data obsessed world to say "too much!"
However, there are many ways where too much information is destroying
productivity, and actually causing bad decision making, not good. But it is
hard to avoid the world of opportunities that has been opened in data
collection and analysis. So how do you balance the two? The first step is to
understand there is a big difference between data collection, and it's
utilization. While it seems subtle, the difference is key, and utilization is
where many make mistakes.
Many confuse data collection and data uti... (more)