Using AWS in China
Published on 2018-01-30 10:41
Categories: aws
TL;DR;
A collection of differences between non-China AWS and China AWS and how I’ve solved them.
Read more...Published on 2018-01-30 10:41
Categories: aws
TL;DR;
A collection of differences between non-China AWS and China AWS and how I’ve solved them.
Read more...Published on 2018-01-23 11:39
Categories: ubuntu
TL;DR;
A short description on how to install Gitlab Community Edition on Ubuntu 16.04 without using magic scripts.
Read more...Published on 2017-01-10 13:20
Categories: ubuntu
TL;DR;
A quick tip on how to hold packages at a given version in Ubuntu. Will work for other Debian based operating systems as well.
Read more...Published on 2016-10-18 15:26
Categories: life
I want to start by saying that I’m quite happy with my current employer, this post isn’t written to speak ill of my employer, it’s just my view on working as a remote employee at a company where the culture isn’t exactly remote friendly. This post is going to be about the problems you can encounter as a remote employee working for a company where most or all other employees are working at the same office. Read more...Published on 2016-06-28 21:55
Categories: ansible
A light introduction to Ansible, promoting best practices and install cowsay on Ubuntu 14.04. What the hell is Ansible you ask? Well, I’m here to help! Ansible is a tool to configure Linux (And Windows) servers via SSH and Python scripts. It allows you to write scripts in YAML and Python, which are executed against and on remote servers. Why should you use Ansible? You should use Ansible if you want to avoid tedious and error prone manual work. Read more...Published on 2016-03-11 00:35
Categories: infrastructure
How to load balance services with nginx, confd and etcd. Imagine this, you have a bunch of services running on a machine, all is fine and dandy. You have the occasional downtime when you upgrade a service to a new version, but nothing you can’t handle. Then, out of nowhere, you get loads of traffic, you need to scale horizontally, adding more servers to your cluster. Upgrading becomes harder, takes longer and there’s more downtime. Read more...Published on 2016-03-03 16:28
Categories: openstack
How to upload Ubuntu 14.04 to an Openstack provider.
Read more...Published on 2016-03-03 16:27
Categories: openstack
How to upload CoreOS to an Openstack provider.
Read more...Published on 2016-02-24 22:14
Categories: hugo
TL;DR;
How to setup continuous deployment of a Hugo website hosted on Github to AWS S3 by using Travis CI as the build/deployment service.
Read more...Published on 2015-11-11 14:33
Categories: ansible
TL;DR;
When running a playbook with sudo: yes
, it also runs the facts module
with sudo, so ansible_user_dir
will have the value of the root user, rather
than the expected home directory of the ansible_ssh_user
.
Published on 2015-06-24 10:39
Categories: coreos, infrastructure
TL;DR;
How to set static DNS servers while still getting IP and routes from the DHCP server in CoreOS.
Read more...Published on 2015-06-03 15:45
Categories: aws
TL;DR;
A collection of snippets and scripts to be used against the Amazon Web Services to ease management of servers.
Read more...Published on 2015-04-16 20:38
Categories: Infrastructure
TL;DR;
A cheat sheet to IPv4 subnetting and other quirks. Common subnet configurations with CIDR and netmask notation.
Read more...Published on 2014-12-21 17:08
TL;DR;
How to enable CORS on a HTTP API hosted in a Go application.
Read more...Published on 2014-12-21 14:25
TL;DR;
How to create a simple Makefile for building Go projects.
Read more...Published on 2014-12-21 14:12
TL;DR;
How to host static files from commandline on Mac OS X using Python.
Read more...Published on 2014-12-12 14:21
TL;DR;
How to design aggregate roots and entities with many-to-one relations in C# with Dapper and PostgreSQL.
Read more...