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

Speed up NPM install in Docker Containers

NPM installs in your docker containers getting slow, make sure you set registry!

»
Author's profile picture David Chua on guides

Getting Started with Jenkins using Docker

$ docker run --user root --privileged -p 8080:8080 -p 50000:50000 -v /path/to/host/volume:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkins
»
Author's profile picture David Chua on guides

Installing Jenkins Plugins with their Dependencies in One Step

Assuming that your Jenkins server is listening at port 8080, all you need to do is to run the following curl command:

»
Author's profile picture David Chua on guides

Faceted Search - A Diagram

Faceted search, also called faceted navigation or faceted browsing, is a technique for accessing information organized according to a faceted classification system, allowing users to explore a collection of information by applying multiple filters. A faceted classification system classifies each information element along multiple explicit dimensions, called facets, enabling the classifications to be accessed and ordered in multiple ways rather than in a single, pre-determined, taxonomic order. - Wikipedia

»
Author's profile picture David Chua on devnotes

Hooking up Jekyll to Facebook Instant Articles

Run a Jekyll site? Want to get into the whole Facebook Instant Articles Action?

»
Author's profile picture David Chua on guides

Playing around with Facebook's Instant Articles

Over lunch yestrerday, Lester introduced me to how quick and easy setting up the newly available Facebook Instant Articles was.

»
Author's profile picture David Chua on opinions

A Python RethinkDB walkthrough

»
Author's profile picture David Chua on guides

Event Loop Tasks

A pictorial to understanding async loopings

»
Author's profile picture David Chua on devnotes