{"@attributes":{"version":"2.0"},"channel":{"title":"BBHoss","link":"https:\/\/bbhoss.io\/","description":"Recent content on BBHoss","generator":"Hugo -- gohugo.io","language":"en-us","lastBuildDate":"Thu, 30 Jul 2020 10:00:00 -0400","item":[{"title":"Transparent SSH Access using Google Cloud's Identity-Aware Proxy","link":"https:\/\/bbhoss.io\/posts\/transparent-ssh-using-gcp-iap\/","pubDate":"Thu, 30 Jul 2020 10:00:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/transparent-ssh-using-gcp-iap\/","description":"What is Identity-Aware Proxy? Recently I&rsquo;ve been working a lot more with cloud infrastructure, in particular on Google Cloud Platform. GCP has a ton of nice security features, and integrates amazingly well with the rest of the Google Cloud offerings, namely GSuite. One of the most helpful security features on GCP is their Identity-Aware Proxy. Identity-Aware proxy (IAP) is a tool for building cloud infrastructure following the BeyondCorp security model, which encourages the use of secure perimeters around every internal service instead of one big firewall with a VPN or bastion host as the gate into the soft underbelly of your internal network."},{"title":"Announcing Cainophile","link":"https:\/\/bbhoss.io\/posts\/announcing-cainophile\/","pubDate":"Thu, 25 Jul 2019 10:00:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/announcing-cainophile\/","description":"Today I&rsquo;m announcing Cainophile, a library to assist you in building change data capture (CDC) systems in Elixir. With Cainophile, you can quickly and easily stream every change made to your PostgreSQL database, with no plugins, Java, or Zookeeper required.\nWhy Cainophile Cainophile was created with small companies and startups in mind. Often, these companies don&rsquo;t have the the engineer time needed to operate a proper change data capture system using a popular tool like Debezium, which typically involves standing up a Zookeeper distributed database cluster for configuration, and a Kafka cluster for storing and publishing the messages."},{"title":"About","link":"https:\/\/bbhoss.io\/about\/","pubDate":"Thu, 13 Jun 2019 11:43:40 -0400","guid":"https:\/\/bbhoss.io\/about\/","description":"Coming soon."},{"title":"Simple Secure Access to the Kubernetes Dashboard with RBAC","link":"https:\/\/bbhoss.io\/posts\/securely-accessing-the-kubernetes-dashboard-with-rbac\/","pubDate":"Tue, 13 Feb 2018 13:52:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/securely-accessing-the-kubernetes-dashboard-with-rbac\/","description":"The kubectl command line is great, but sometimes it&rsquo;s nice to have a dashboard to click around and see basic graphs, view logs, etc. Out of the box, new Kubernetes clusters (I am using Google Kubernetes Engine here) have legacy authentication disabled, and RBAC is required. Having used Kubernetes prior to this, it wasn&rsquo;t clear to me how to access the dashboard with RBAC.\nStarting out To begin, simply spin up the Kubernetes Proxy with kubectl proxy."},{"title":"Remote IEx Access via SSH","link":"https:\/\/bbhoss.io\/posts\/remote-iex-access-via-ssh\/","pubDate":"Thu, 14 Jan 2016 13:01:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/remote-iex-access-via-ssh\/","description":"I was excited when I read how easy it was to access a remote erlang node via ssh alone, as the traditional way can be a bit of a challenge. Naturally, I wondered if it was possible to do this with Elixir, and it&rsquo;s quite easy!\nEssentially, follow the instructions on the post above (translating to Elixir). The main change is that you have to start the ssh application first (:ssh."},{"title":"Easy Pub-sub Event Dispatch with :gproc and Elixir","link":"https:\/\/bbhoss.io\/posts\/easy-pub-sub-event-dispatch-with-gproc-and-elixir\/","pubDate":"Thu, 08 Oct 2015 21:37:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/easy-pub-sub-event-dispatch-with-gproc-and-elixir\/","description":"Prologue I recently came across the need to do pubsub inside of one of my Elixir applications. Initially I hand-rolled a system using GenEvent, but after I finished I realized how brittle the system was, even with all of the handholding I was doing with add_mon_handler. I was already using :gproc for a process registry, when I remembered reading something about it being able to do pubsub.\n:gproc is Awesome For my application, I needed to publish a message and have it received by multiple subscribers."},{"title":"Ansible Filters With Items","link":"https:\/\/bbhoss.io\/posts\/ansible-filters-with-items\/","pubDate":"Mon, 02 Mar 2015 18:58:00 -0400","guid":"https:\/\/bbhoss.io\/posts\/ansible-filters-with-items\/","description":"Today I ran into an issue where I needed to use Ansible&rsquo;s with_items feature on the registered result of a previous task, one that also ran with_items. To be more clear, here&rsquo;s what my object looked like (in JSON for clarity):\n{ &#34;changed&#34;: false, &#34;msg&#34;: &#34;All items completed&#34;, &#34;results&#34;: [ { &#34;machines&#34;: [ { &#34;ip&#34;: &#34;127.0.0.1&#34;, &#34;name&#34;: &#34;machine1&#34; }, { &#34;ip&#34;: &#34;127.0.0.1&#34;, &#34;name&#34;: &#34;machine2&#34; } ] }, { &#34;machines&#34;: [ { &#34;ip&#34;: &#34;127."}]}}