Automatically scale HAProxy with confd and etcd
Load balancing with HAProxy is pretty easy; today we're going to use etcd and confd to automatically configure cluster nodes to make things more elastic. For the unfamiliar, etcd is "a highly-available...
View ArticleRun Docker containers with systemd-nspawn
In this post, we'll look at how to run a Docker container using systemd via systemd-nspawn.
View ArticleCortex - express style routing for Backbone
Ive found Backbone to be one of the most useful client-side frameworks available due to it's lightweight nature. I know of a number of people that dislike it because it doesn't provide everything...
View Articlensenter a systemd-nspawn container
If you run applications in containers, you've probably needed a way to enter the container to debug something. Sure you could run sshd in your container, but its really not necessary. The same thing...
View ArticleHow to build a fault-tolerant redis cluster with sentinel
Today, Im going to show you how to setup a fault-tolerant master/slave redis cluster using sentinel to failover lost nodes. Redis is a very versatile database, but what if you want to run it on a...
View ArticleDeploying Node.JS applications with systemd
You've built a node application and now it's time to deploy and run it. But how do you make sure that if your app crashes, it restarts automatically? Or if the host machine goes down, how do you ensure...
View ArticleBuilding a fedora-based rocket container
Containers are basically taking over the world; Docker, rkt, systemd-nspawn, LXC, etc. Today, we're going to talk about rkt (pronounced "rocket") and how to get started building rkt-runnable containers.
View ArticleHow to run Node.js in a rocket container
How to run Node.js applications using rkt, appc, and CoreOS.
View ArticleGetting started with React and Redux - Part 1
React is pretty awesome, but getting started can be tough. Do you use flux? redux? Do you use the new ES6 features and compile with Babel? How do I compile everything with Webpack?
View ArticleHow to structure a Node.js Express project
"How do I structure my Node.js/Express project?". I see this question come up quite regularly, especially on the Node.js and Javascript subreddits. I also remember thinking the exact same thing years...
View ArticleHow to deploy a NodeJS app to Kubernetes
Previously, Ive talked about how to get a NodeJS app running in a container, and today we're going to deploy that app to Kubernetes. What is Kubernetes? For those that haven't ventured into container...
View ArticleHow to deploy an AWS Lambda with Terraform
Amazon AWS' Lambdas are incredibly powerful, mainly due to their stateless nature and ability to scale horizontally almost infinitely. But once you have written a Lambda function, how do you update it?...
View Article
More Pages to Explore .....