ChatGPT your Project Docs
I mentioned in my last post that I would start updating practical use cases for generative AI. The first example use case is your project documentation. As software engineers, we spend days of our lives writing project docs. The reality is that people learn and consume data differently. Overly detailed docs may cause some people’s eyes to glaze over while …
Open Source Flow Monitoring and Visualization
At the heart of any reasonably sized network, should be a solid strategy around flow collection, querying and visualization. Proper use of flow logs are crucial to SecOps/NetOps from triaging attacks to capacity planning and traffic trending. I remember some 20 years ago, the first time I saw flow logs being visualized in rrdtools it was pretty close to magic. …
Measuring Network Bandwidth using Iperf and Docker
At the heart of any network engineer’s toolkit, are applications that let you peer into the network for performance, congestion and capacity planning. One of the thoroughbreds in the open source network tools collection is iperf. Iperf has been around for a long time. The good folks at ESnet updated the original iperf with new features and what not and …
GoBGP – A Control Plane Evolving Software Networking
If I have talked to you over the past year or two about networking, odds are I have mentioned a project to you called GoBGP. If we have spoken a lot, you are probably sick of me talking to you about GoBGP 🙂 There is a reason, it’s because GoBGP is a missing link in networking that has been for …
Configuring Macvlan and Ipvlan Linux Networking
Macvlan and Ipvlan are both Linux type networking interfaces that are both supported by the Linux kernel. They are unique for a few different reasons. One thing that makes them both very attractive is they do not use bridges in their implementation and natively namespace aware. It solves some painful problems such as getting access to a gateway from a …
Docker on Google Compute Engine Using Docker Machine
Next up in Using Docker Machine across private and public clouds, is Google Compute Engine (GCE). As with the other posts, a diagram of how I view the importance of a Docker Machine abstraction. First, if you don’t already have an account you can get $300 credit expiring after 60-days towards Google GCE that we will use as Docker hosts …
Building Network Tools using Docker
I am going to start pushing out an app every month that fixes some problem in networking. In this case I hacked it up over the past couple of weekends, but other times it will just be me using someones open source awesomeness and demoing it. First some thoughts on where we are in the wild world of networking to …
Running Docker Machine on Digital Ocean
Continuing the series on cloud provider examples using Docker machine, up next is Digital Ocean. As with the other posts here is a diagram of how I view Docker Machine usage. For those who don’t have an account already, you can sign get $10 credit with the following link. When you sign up it requires a credit card that won’t …
10 Examples of how to get Docker Container IP Address
One thing that is so much fun about the need virtualization paradigm we are heading towards is that in the age of “software defined”, the flexibility of how to do things with infra are much more like programming then working with highly opinionated traditional infrastructure. Along that thread, here are 10 different ways to get a container or docker-machine address …
Running Docker Machine on Rackspace Public Cloud
Next up I am giving Docker Machine on Rackspace public cloud a whirl. If you don’t have an account and want to check it out take a look at their developer+ credit. Here is a gif diagram (I’m addicted to making gifs atm, sometimes not even cats doing cute fluffy cat stuff like here) overviewing Docker Machine. To get installed …
Docker Machine Provisioning on AWS
Next up in the docker machine series of integration posts is spinning up some cloud resources on Amazon EC2. The model is the same as previous docker machine posts, boot a VM running as a Docker host, add your cloud credentials for the provider and use your regular docker client commands on the remote Docker host in Amazon. The docker …
Normalizing the Cloud with Docker Machine
Docker machine creates a virtual machine running Docker located in an array of locations that I can then create containers and ship workloads to. The locations and types you can provision to range from the who is who of cloud computing, workstation resources and traditional on prem local resources sitting in the average enterprise DC. What I get from using …
Using Docker Machine to Provision on Microsoft Azure
Microsoft has done a pretty amazing job with Azure over the years. It has been really cool seeing Microsoft embrace Docker and open source in general like they recently have. This post is a continuation of the series on docker machine provisioning to dev hypervisors, DC infra and cloud providers. If you are new to Azure or don’t have an …
Starting OVSDB and vSwitchd in OpenvSwitch with Debugging Enabled
Here are some quick notes on how I went about debugging OVSDB (ovsdb-server) and OVS vSwitchd (ovs-vsctl). There are lots of ways to debug OVS these are what I used to get debug logs generated. Those logs are helpful troubleshooting for OVSDB transactions and OpenFlow commands when using the ovs-vctl or OVSDB and OpenFlow APIs. Dont do this unless you …
Docker Command One Liners
I love the code snippets, it’s how I learn any syntax by rolling up the sleeves, hacking and breaking while taking notes along the way. It’s probably not the most efficient but the muscle memory is how I learn. Here is a list of one liners from my notes in no particular order (even though I tried to in a …