Recent Posts

Using the ESP8266 WiFi Module with Arduino Uno publishing to ThingSpeak

I’ve got this ESP8266 WiFi module hanging around that I’ve never really used. I also have a few Arduino UNOs sitting here not getting any use at the moment. I thought this would be a great time to put the two together for a project I’m working on. It wasn’t easy. There was a ton of conflicting and confusing content that made it much mor »

About a blog

About this blog This blog will someday be something awesome. For now it’s more of a playground for me to work with hugo and github pages. Why Hugo? Good Question. All the cool kids are out there publishing static sites free using github pages. You can use Github’s fancy site generator if you’d like. More advanced users are using t »

cgrant

Global Kubernetes in 3 Steps

Global Kubernetes in 3 Steps Creating a globally federated kubernetes cluster may sound daunting but it really only takes a few small steps. Create the project and clusters Install and Join to kubefed Deploy globally The kubefed utility takes most of the effort out of this process. If you want to dig in and understand what’s going on under the co »

Deis on Google Container Engine with Private GCR.io registry

Deis allows you to quickly deploy applications using just a few short commands: Create, Configure and Pull. Since your app is deployed as standard Kubernetes pods, you can take advantage of all the robust capabilities k8s offers, coupled with the simplicity of deploying to a Paas. In this tutorial we’ll walk through the initial setup of Deis on Go »

Using Google’s Private Container Registry with Docker

Overview Using Google’s Private Container Registry with Docker Google’s Container Registry provides a managed and private repository for storing your Docker images. With a simple gcloud command you can push and pull to your private google project repository. Example: gcloud docker -- push [HOSTNAME]/[YOUR-PROJECT-ID]/[IMAGE] However you may find a »

7 Tips For a Better Resume

Someone just asked me for some advice about their resume. After writing it up I figured you all might find some value from it as well. Here are 7 tips I’ve picked up after years and years of writing and reviewing resumes. 1. Sell Yourself Above the Fold Above the fold is a newspaper term for the stories that appeared above the fold on the first pag »

cgrant

Analyzing Google Billing Data with Bigquery

In this tutorial we’ll walk through how to export your billing data to big query. We’ll then explore the schema and answer some common questions by querying the data. Before you begin You’ll need to setup billing export to big query for your project. Review the process here or watch the brief video below Schema Overview Lets get acquainted with th »

Google Cloud Initial Project Creation

Overview Google Cloud Platform offers a free tier for many of their products. Additionally they offer a $300 credit on top of that. Its a great way to dip your toes in and try out everything they offer. To get started though you’ll need to setup a billing account for anything that goes over the free tier, and also setup your first project where you »

Deployment Strategies and Release Best Practices

In this article we’ll be covering various options and considerations for deploying code and releasing features. We’ll discuss patterns for deploying to a fixed set of servers as well as variations where multiple groups of servers can be utilized. We’ll wrap up with strategies for releasing features to targeted groups of users. Whi »

Deis Workflow, a Paas on Kubernetes?

Deis Workflow is a great addition to the Kubernetes ecosystem. I know what your asking though, why would you want to stack a Paas on containers which are already on top of Iaas . In the beginning there was Iaas and Paas When the cloud started Iaas was all the rage. You could spin up and manage servers like never before. Application developers could »

Getting Started with Google Container Engine - Tutorial

Kubernetes provides orchestration for running containerized applications. In this tutorial we’ll walk through the basics of using Google Container Engine, or GKE, which provides managed Kubernets services for your use. This article is a combination multiple other tutorials such as: Quickstart for Google Container Engine, Container Cluster Operation »

Golang oAuth2 Google Example for Web and API

Introduction The oAuth2 protocol has almost become a standard for securing websites and API services. Developers no longer need to store and manage userIDs and passwords for their users. Offloading the authentication to oAuth providers such as Google, Facebook, Linkedin, Github keeps the authentication with username and password, within those provi »

Developing a simple CRUD API with Go, Gin and Gorm

Introduction Golang is an exciting language but newcomers can be overwhelmed by the new semantics and variety of frameworks available. Getting started with the basics can feel like a challenge. In this example I wanted to show the most minimal set of code needed to create a functional api. We’ll develop a simple API that provides Create, Read, Upda »

Getting started with go

Overview Golang (or just Go) is a great language for building simple and reliable applications. Over the past years there has been a visible shift in the tooling community as teams throughout the internet rewrite their apps from ruby or python to Go. With a large community backing it there are many libraries and utilities already available to cut y »

#go

cgrant

How to Deploy a Java Application to Google Compute Engine

The following walkthrough is a short example of how very simple scripting can bootstrap development on Google Compute Engine. Source All the source code for this example can be found here on github Prerequisites Google Cloud Platform account gcloud commandline client Google project with APIs enabled for compute engine and storage Just click throu »