Using Multiple Buildpacks in Deis

To use multiple buildpacks with your Application Deployment on Deis Workflow, is pretty straight forward.

»
Author's profile picture David Chua on guide

Fixing OmniAuth Redirecting to a URI with Port

Came across this problem the other day when deploying a Rails application that is sitting behind Kubernetes and Deis

»
Author's profile picture David Chua on guide

Supercharge your Nginx with Openresty and Lua

Turn your Nginx into an API Gateway. Modify requests and responses from Nginx itself using Openresty and Lua.

»
Author's profile picture David Chua on guide

Monitor a Directory for File Changes with inotifywait

Sometimes there may be a need to monitor and be alerted when any new files have been added in a particular directory.

»
Author's profile picture David Chua on guides

Using Kubectl proxy to access your Kubernetes services

Sometimes it might be quite difficult to access your kubernetes services if your infrastructure isn’t able to properly support both LoadBalancer and NodePort service types.

»
Author's profile picture David Chua on guides

Running Deis on Digitalocean - A Nginx/Haproxy LB Setup

Digitalocean users generally tend to get the short end of the stick when it comes to convenience. When building your Deis cluster on Digitalocean, you’ll realize you don’t get the benefit of being able to provision cloud-provider specific load balancers like (AWS ELB, GCE Load Balancers) to route inbound traffic into the kubernetes cluster and into your deis-router.

»
Author's profile picture David Chua on guides

How to get Kubernetes and Deis onto Azure

With Kubernetes Anywhere, setting up a Kubernetes cluster on Microsoft’s Azure isn’t as painful as it used to be.

»
Author's profile picture David Chua on guide

Removing DNS caching on NGINX proxy pass

If you’re passing hostnames into your nginx’s proxy_pass and made a change to the hostname’s ip address, you might experience times when nginx is still referencing the old ip address despite your DNS TTL having already been expired.

»
Author's profile picture David Chua on guides

Secure your Server - Send Slack Alert on SSH Login

In my line of work, besides architecting and building infrastructure, part of the scope includes building safeguards to ensure that systems that were setup are properly secured.

»
Author's profile picture David Chua on guides

Building a Kubernetes PetSet Cluster for your MongoDB ReplicaSet

Some observations when working with Kubernetes 1.3 introduced PetSets to build MongoDB.

»
Author's profile picture David Chua on guides

How to change instance size of an existing Kubernetes Cluster

Just recently, I was trying to reverse my poor decision of starting my Kubernetes Cluster on AWS with a very simple t2.micro nodes.

»
Author's profile picture David Chua on guides

How to set current_user in Tornado asynchronously

Something that I’ve missed when working on setting the current_user upon @tornado.web.authenticated.

»
Author's profile picture David Chua on devnotes

Setting Up Amazon VPC to VPC Peer Connection

Need to communicate between 2 Amazon VPCs securely and privately?

»
Author's profile picture David Chua on guides

Logging Tornado Logs To Graylog (with JSON)

If you’re building your microservices on Tornado and your chosen deployment strategy is to treat it like cattle instead of pets, logging is going to have to play a very important part of your architecture.

»
Author's profile picture David Chua on guides

Painless ECR authentication for Docker

I’ve been playing around with Jenkins lately and one of the problems I’ve been facing is that it gets tedious manually doing a aws ecr get-login every 12 hours on the Jenkins instances so that my builds can push docker images into ECR.

»
Author's profile picture David Chua on guides