Filip Chabik

DevOps Engineer, Husband & Dad.

Dynamic upstreams in NGINX w/ Consul

8th December 2019

I already briefly wrote about the idea of having dynamically discoverable upstreams in NGINX when I covered the topic of NGINX Extended. With the boom of microservices and containers scattered all over the place there was suddenly a need for something that would serve as a single source of truth. When solutions like Mesos/Marathon or Kubernetes kicked in, notion of having services statically assigned to particular address and/or port went straight to the trash. That’s exactly where Consul comes into play. I first crossed my paths with it years ago when it was both relatively new concept and software. These days I think it’s safe to say that, along etcd, it became industry’s standard. But even with its mature state, it solves only half of the problem – it registers and allows services to discover each other for variety of connection purposes, but if there’s anything that needs to serve as an application for HTTPs reverse-proxy, it has to be relatively static. Or does it?

Read More

Restic 0.9.6 →

Backups are one of those things that are usually afterthought. Maybe reason for that was a bit too much of necessary configuration or not enough sensible default choices to fit the bill in the older apps I’ve been trying. Either way – this small, single-binary go application simply nails it. All backups are automagically encrypted and deduplicated. These days I tend to setup backups and then just forget about them – they are taken over by restic and it performs its magic on my behalf. Saved my butt few times already.

This release brings no spectacular changes nor features. Which is good, I don’t want my backup solution to have exciting releases – I want bug fixes and small changes and minor enhancements to its matured, stable state. 0.9.6 bring exactly that 🎉

NepTunes 1.7.0 →

One of the things I really love about Mac is the availability of the nifty small utilities that aim at solving one problem and doing it right. Maybe it’s simply my admiration of UNIX philosophy.1 I’m an avid user2 and I stumbled upon NepTunes while looking for something integrating iTunes with it. With the release of Catalina and introduction of the new, NepTunes stopped working and my scrobbles failed to be noted on With 1.7.0 release this is now fixed and everything is back to normal! 🎉

  1. “Do one thing well”

  2. Be sure to check my “monthly-updated” Now page for more details. 

Ansible 2.9.0 →

Ansible 2.9 “Immigrant Song” has just been released. Back in May I already mentioned how slowly but surely Ansible won my heart and I must admit that I’m constantly impressed with what can be done with this tool. It’s a huge release yet again, but there are no major changes – which is good. It means that the project focused on bug fixing and improving on things already present.

It also coincide with release of my new Ansible Role: Rsyslog. I’ve been working on it for past few days and found it good enough for shipping today. Should you look for something handling rsyslog on Ubuntu/Debian, give it a spin! 😊

Ni No Kuni Wrath of the White Witch →

I’ve been playing Ni no Kuni II: Revenant Kingdom for a while now and I still think it’s the best RPG I played in years. I’m also a big fan of Studio Ghibli and while NNKII wasn’t done in collaboration, the style and inspiration is clear.

Some time ago I received as a gift Ni No Kuni Wrath of the White Witch DS version. Reason is simple – as I have 3DS I can play old DS games just fine. The problem was with… Translation. First Ni No was published with PlayStation 3 in mind, but due to large popularity of DS system in Japan at that time, it was ported there as well. I have a wonderful deluxe edition, with book inside and what not, but everything is in… Japanese.

I’ve been following this fan translation attempt1 for quite some time, but recently I noticed that there is a new, remastered version of Ni No Kuni coming to the PC! And now it’s available on Steam, fully translated! 🎉

  1. Which was finally released by the end of last year and titled Ni No Kuni: The Jet Black Mage