Posts

AWS + StrongSwan

Sometimes you need to connect two AWS networks without using AWS managed VPN services. Most tutorials show a simple tunnel between two instances, but they ignore high availability. That usually leads to asymmetric routing or a single point of failure.

CloudFlare API - list zone records

Easy and fast way get all domains or records via CloudFlare API

Moving WordPress redirects to nginx

We have pretty cool json from WordPress redirect table and we need move this action to nginx.

Merging and Deploying Let’s Encrypt Certificates with Salt

Easy way to merge two files on the fly. The storage backend can be any supported by SaltStack.

Latest Ruby on Debian 8 with Multi‑Site

Setting up a Middleman client API container with Ruby and systemd, plus Nginx configuration for proxying requests.

Salt (SaltStack) dynamic inventory

Salt (SaltStack Inc.) is a powerful automation tool that I’ve been using for many years. This post shows an example of agent‑less usage with salt-ssh , using a dynamic inventory via a roster and an Ansible inventory plugin.

HAProxy in Front of InfluxDB

We have Telegraf sending stats to two InfluxDB servers, but our dashboard should point to only one. Additionally, Nagios monitors InfluxDB health. Here’s how we can combine a script, xinetd, and HAProxy to manage this.