Introduction to Terraform

Basics Terraform is a technology used to create cloud infrastructure from code. It is quickly becoming the industry standard tool and doesn’t have much in the way of competition at this time. Let’s go over some key points: Created and maintained by Hashicorp, known for making great quality tools in the DevOps space Open source…

By kex September 30, 2018 Off

Introduction to Jenkins as Code

Codifying Jenkins Introduction to Jenkins Automation has always been important within the Operations/SRE workflow, typically automation is written using tools such as bash/python and required quite a bit of knowledge to understand. There are a few issues with doing automation this way: These tools do not provide a clear way to represent history unless we…

By kex September 8, 2018 Off

PHP for Platform Engineers

PHP for Platform Engineers Contents Basic Checklist Overview of the Ecosystem History & Going Forward The PHP Interpreter Performance Caching & Opcodes Serving PHP Basic checklist: As Platform Engineers we don’t necersarily need to learn how to write PHP code, however when we design ways to deliver PHP code and how to troubleshoot issues that…

By kex August 3, 2018 Off

Introduction to Hash Functions

Hashing algorithms are at the core of many technologies, password security (use a salt too!), blockchain, peer to peer networking (torrents), verifying downloads and comparing files on a filesystem. Hashes ‘Hashing’ in extremely simple terms means we take an input, run some computation against it and return an output that is representative of the input.…

By kex July 23, 2018 Off

Bind9 DNS on a Rasberry Pi

Recently I’ve found a need for more consistency in my homelab (no more hostfile hacks) so I decided to repurpose a Raspberry Pi as a DNS server. I could’ve used a virtual machine but that would require me to have my main PC on all the time, or use a VPS which costs money so…

By kex December 29, 2017 Off

Getting Started With Terraform & Azure

Terraform is a way of declaratively configuring infrastructure in various cloud platforms. Some benefits are listed below: Solid team behind the project (the same team behind Vagrant/Packer) Integrates well with version control systems Simple and easily readable DSL Clearly defined and straightforward functionality   A example Terraform instruction set could look like this: Use AzureRM…

By kex November 25, 2017 Off

HAProxy Basic Configuration

In this article I’ll briefly go over the haproxy configuration file, then we will make a simple TCP mode configuration followed by a HTTP configuration. Installation: I’ll be using two virtual machines throughout this tutorial, the specs are as follows: Hostname: loadbalancer-01 OS: CentOS 7.3.1611 IP: 192.168.1.181 SELinux: Permissive Hostname: webserver-01 OS: CentOS 7.3.1611 IP:…

By kex November 9, 2017 Off

Introduction: Prometheus

What is it: Prometheus is a monitoring and alerting system, designed for large systems and is highly scalable by its design. It uses the Apache 2.0 license which means it’s free to use in most environments and has its entire source code available on github. Prometheus was created by the team at Soudcloud, the model…

By kex July 10, 2017 Off

Ruby on Rails – Introduction/Setup

Introduction In this guide we will create a base installation for a Ruby on Rails application, to start with we will install a Ruby version manager, then configure the Rails dependencies, set up a database and finally create the application. In this guide I’ll be using CentOS 7, Ruby 2.4.0 and Rails 5.0.1 with MariaDB…

By kex January 11, 2017 Off