Troubleshooting a Slow API Client in Golang

Troubleshooting a Slow API Client in Golang

Thursday, Dec 13, 2018

@ Chris Suttles

I'm writing an API client in golang, and while testing the API with curl, my results were reasonable (0.8 seconds REAL time), but when I got my API client working in golang with resty, I found that my response time was very slow (over 75 seconds). This is a true (and ugly) story about figuring out what was wrong and resolving the issue.Here's my boilerplate resty code: resty.SetDebug(true) resty.SetTLSClientConfig(&tls.Config{ InsecureSkipVerify: true }) resp, err := resty.
Certified Kubernetes Administrator

Certified Kubernetes Administrator

Monday, Dec 10, 2018

@ Chris Suttles

I just passed the CNCF (Cloud Native Computing Foundation) CKA (Certified Kubernetes Administrator) exam. Here's some information about how I prepared for the exam and a few tips for people interested in taking the exam. Starting From Scratch For folks who are totally unfamiliar with k8s, edX offers a free, self paced course, which is a great place to start. There's also a list of online training available in the official k8s docs.
Penetration Testing for Newbies

Penetration Testing for Newbies

Friday, Nov 30, 2018

@ Chris Suttles

This is a brief introduction to penetration testing for people new to the subject. I recently started working on rounding out my skills with some security related studies, and I've really enjoyed the time I've spent studying penetration testing.Getting started with pentesting can be a bit daunting. There's a huge ecosystem of people, tools, techniques, and resources. It can be a little overwhelming.Here's some resources and a how I started getting some hands-on experience.
Building Hashicorp Vault in OCI - Part III

Building Hashicorp Vault in OCI - Part III

Saturday, Nov 17, 2018

@ Chris Suttles

This post is the last in a series on deploying the Hashicorp recommended architecture for a single DC deployment of Vault on Oracle Cloud Infrastructure (OCI). Here are some related links: https://github.com/csuttles/oci-vault/ (the code for all of this) http://blog.csuttles.io/getting-started-with-terraform-on-oracle-cloud-infrastructure-oci/ (intro) http://blog.csuttles.io/building-hashicorp-vault-in-oci-part-i/ (part i) http://blog.csuttles.io/building-hashicorp-vault-in-oci-part-ii/ (part ii) http://blog.csuttles.io/building-hashicorp-vault-in-oci-part-iii/ (this article) Create Vault Nodes In the previous articles in the series, we built out prerequisite resources, including compartments, a VCN, subnets, seclists, and finally consul servers.
Building Hashicorp Vault in OCI - Part II

Building Hashicorp Vault in OCI - Part II

Thursday, Nov 8, 2018

@ Chris Suttles

This post is a continuation of a series. The first two posts are here and here[.] The source for this series is available on GitHub. Building Consul in OCI Now that we have defined the IAM and network resources that Vault depends on, it's time to start building Consul nodes, which we will use as the backend for Vault. In order to build Consul, and completely automate the bootstrap, we will take advantage of some OCI and Terraform features.
Building Hashicorp Vault in OCI - Part I

Building Hashicorp Vault in OCI - Part I

Monday, Oct 29, 2018

@ Chris Suttles

This post will continue a previous post on using Hashicorp's Terraform with OCI (Oracle Cloud Infrastructure). Building the Network Resources Let's walk through a single region where we will build out the network resources where our Vault installation will reside. Here's the variables where we define the storage backend and Terraform provider. It's the same basic setup as defined in my previous post. csuttles@cs-mbp15:[~/src/oci-vault/iad/network]:(master) [Exit: 0] 11:19: cat variables.tf variable "tenancy" {} variable "tenancy_ocid" {} variable "user_ocid" {} variable "fingerprint" {} variable "private_key_path" {} variable "region" { default = "us-ashburn-1" } variable "compartment_ocid" {} provider "oci" { tenancy_ocid = "${var.
Getting Started with Terraform on Oracle Cloud Infrastructure (OCI)

Getting Started with Terraform on Oracle Cloud Infrastructure (OCI)

Wednesday, Oct 10, 2018

@ Chris Suttles

Getting started with the OCI terraform provider is easy, particularly since it became an official terraform provider. The [github docs](https://github.com/terraform-providers/terraform-provider-oci/blob/master/docs/Table of Contents.md) [] are also a good resource, with a lot of examples in the repo. Layout the Repository I like to re-use a pattern that I learned from some of my very talented colleagues. It looks like this: csuttles@cs-mbp15:[~/src/oci-vault]:(master) [Exit: 0 0] 12:46: find . -type d | grep -vP '.
Why I sold off my home lab

Why I sold off my home lab

Friday, Sep 7, 2018

@ Chris Suttles

It's been a while since my last post. In that time I moved from the suburb I could not afford that was near Silicon Valley back to Texas. The move has been terrific for my entire family. During that move, I worried a lot about all my home lab gear. It traveled with us cross country along with other things that were too important to trust movers to handle.Now, nearly all of that gear has been sold.
First Book Update 2018

First Book Update 2018

Monday, Feb 19, 2018

@ Chris Suttles

Here's a quick update on some books I've read or listened to recently. Data And Computer Communications Ninth Edition by William Stallings This book was for a class, where my final project was a previous post: a brief comparison of IPv4 and IPv6. It's very dry, but was also very informative. There is a newer version of this book, but I bought the ninth edition because it was for a class.
A Brief Comparison of IPv4 and IPv6

A Brief Comparison of IPv4 and IPv6

Sunday, Jan 28, 2018

@ Chris Suttles

IPv4 and IPv6 This post will explore key differences between IPv4 and IPv6. IPv4 has been around for a long time and is what moves data around the internet. IPv6 has also been around for many years at this point, but is finally seeing adoption now that IPv4 addresses are nearly exhausted world wide. There are many papers and posts discussing why adoption of IPv6 is important, so I will instead focus on the technical details and leave the reader to make their own evaluation of the merits of IPv6 adoption.

Social Links