Troubleshooting with lsof

Often I am asked to help troubleshoot various application running in a client’s environment that I have never run before. One of my front pocket tools is lsof. What process is listening on port 443? In this case -s TCP:LISTEN limits the request to only those files that are open Read more…

Deleting DNS records in route53 with the CLI

I could not find a good tutorial for deleting route53 records in DNS. This requires that you have jq installed first Find my hosted zones id $ aws –region us-west-1 –profile client-terraform \ route53 list-hosted-zones-by-name –dns-name example.net \ |jq .HostedZones[].Id \ "/hostedzone/MYZONEID" Get the actual record $ aws –region us-west-1 Read more…

Using JMX on Vagrant

Getting JMX remote from my desktop to a Vagrant machine took a few tries. Vagrant file configuration to add more memory and forward the HTTP and JMX ports Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "ubuntu/xenial64" config.vm.network "forwarded_port", guest: 8080, host: 8080 config.vm.network "forwarded_port", guest: 9010, host: 9010 config.vm.provider "virtualbox" do |vb| Read more…

Getting started with VimWiki

VimWiki is an excellent tool for creating both a personal knowledgebase and journal.  I use it everyday to keep track of new techniques that I learn as well as to keep notes on how I perform tasks everyday.  Because it is completely text based with minimal formatting, it is possible Read more…

Opensource Infrastructure Revisited

In a previous article, I detailed the open source projects that I used to implement a PaaS infrastructure. Since that time the number of instances in the infrastructure has grown by 2.5X and several of the components needed to be rethought. Capacity/Performance Management Previous: Collectd/Visage Replacement: Collectd/Graphite Reasons: The collectd Read more…

Upgrading to Puppet 3.0

After spending a few days at PuppetConf and talking with Eric S. and Jeff McC. of puppetlabs, I felt compelled to upgrade the latest version of our architecture to Puppet 3.0 from 2.7. Mainly to fix plugin sync issues and for the increased performance. Here is my list of gotchas: Read more…