We're professional nerds who like to share our thoughts.

Installing private Git repositories through npm install in Docker

by Sander Knape on Jun 17, 2019

How do you properly use an SSH key in a Dockerfile? There are many ways to do it, including many ways to do it wrong. What you will want to prevent is that your ssh key ends up in one of your intermediate images or layers. These are the layers that Docker creates with pretty much every command in your Dockerfile. You may think that you properly clean up your secrets later in the Dockerfile, but the secret will then still be available in one of these layers.

Read More »

Meetup: From monolith to microservices & Concurrency models explained

by Bas Tichelaar on Jun 5, 2019

After our succesful first meetup about Kubernetes, we have set the date for our next meetup: June 27th. This time with more focus on programming. We will start with a talk about how to change architecture in production while at the same time migrating to the cloud. Sven Rienstra, one of our Cloud Developers, will talk about his experience at, where he was involved in migrating from a monolith into microservices running in the cloud.

Read More »

Building serverless applications with the AWS CDK

by Sander Knape on May 31, 2019

The AWS Cloud Development Kit (AWS CDK) is a new framework for defining Infrastructure as Code (IaC) by AWS. It allows you to write IaC in a set of different languages. At the moment the following languages are supported: Javascript, Typescript, Python, Java, .NET. Support for other languages is coming. Of course, other methods like CloudFormation and Terraform already exist to write IaC. Using these tools you write declarative code in YAML, JSON or the Hashicorp Configuration Language (HCL) in a mostly declarative state.

Read More »

Improving Kubernetes deployments with Helm

by Sander Knape on Mar 15, 2019

I recently blogged about automated deployments to Kubernetes using GitLab. One of the steps required when automating deployments is replacing the Docker tag with the correct value in the Kubernetes Deployment. In that blog post, this looks like the following: deployment.yaml apiVersion:apps/v1kind:Deploymentmetadata:[]spec:template:spec:containers:image:sanderknape/go-hello-world:<VERSION>The string is then replaced in the GitLab pipeline as follows: sed -i "s/<VERSION>/${CI_COMMIT_SHORT_SHA}/g" deployment.yaml This grabs the short SHA hash of the current Git commit that is checked out.

Read More »