CASE ESSAY · 2013–2017

From hand-built servers to a redundant cloud, without losing the PCI auditor along the way.

Nearly four years leading infrastructure at an Estonian fintech, and what it taught me about inheriting systems that are already in production.
CLIENT
Cash On Go OÜ
ROLE
Systems lead, PCI DSS
STACK
PHP, MySQL, AWS
DURATION
Nearly four years
  • 3 PCI DSS audits passed without major findings
  • 3 system administrators in the team I led
  • 2014 Einstein Award, for work across departments
Cash On Go infrastructure, 2013 and 2017 In 2013 the PHP/Symfony application and its MySQL database ran on hand-administered servers in the office and a data centre. By 2017 they ran redundantly across several availability zones in one AWS region (VPC, EC2, S3), internal services ran on Proxmox, and servers were built from code with Chef, later Ansible. WHEN I JOINED · 2013 Office and data centre Servers, set up by hand App · PHP/Symfony Database · MySQL One hardware fault could stop the business. Migrated with the development team and external consultants WHEN I LEFT · 2017 AWS · VPC Availability zone A EC2 · app MySQL Availability zone B EC2 · app MySQL S3 · storage Proxmox · internal services Every server built from code Chef, later Ansible
When I joined, servers set up by hand, in the office and in a data centre, carried the business. When I left, the application ran redundantly across availability zones in one AWS region, and every server could be rebuilt from code.

I joined Cash On Go at the end of 2013 as a lateral hire. My background was traditional system administration, the kind of work done by hand on a command line, one server at a time, where you remembered the topology because you had typed it. The company ran a consumer fintech product on servers in a data centre and in its Tallinn office, all of them set up and administered by hand.

The assignment, stated plainly, was to move the application to something redundant, spread across several availability zones, without interrupting the service or the ongoing PCI DSS audit. The assignment as I found it was broader: to build a team and a working practice that could survive the move and then keep going.

The hardest part of migrating production infrastructure is not the migration. It is being the person who has to say, out loud, that the current setup is not good enough — while that setup is paying the salaries.

The first thing I did was write it down. A short internal document, maybe ten pages, describing what was running, where, and what would happen to each piece under several plausible failure modes.

Alongside the migration, the team changed how it worked. I led a team of three system administrators, and we stopped configuring servers by hand. We described them in code instead: first with Chef, later with Ansible. A server that exists as code can be read by a colleague, reviewed before it changes and rebuilt when it fails. A server that exists as commands somebody typed years ago can only be remembered. It also changes what you can show an auditor: a configuration in a repository has a history of who changed what, and when.

The two had to happen together. Moving a system to redundant infrastructure while its configuration lives in one person’s head does not remove the single point of failure. It only moves it into the cloud.

The migration itself was not a one-person job. The product was a PHP application on Symfony with a MySQL database, and together with the development team and external consultants we moved both to a redundant setup across several availability zones in one AWS region: EC2 for the servers, VPC for the network, S3 for storage. The services the company used internally moved onto Proxmox. My part was the infrastructure underneath, on premises and off: the network, the servers and the way they were built, and organising the work with the outside consultants. Afterwards the core application no longer had a single point of failure, and any server could be rebuilt from its code.

Running a regulated fintech means passing audits, and I was the primary lead for the PCI DSS procedures, with FCA-related audit requirements on top. I introduced standardised work processes and release life-cycle policies, and made infrastructure as code the rule. One of the principles we wrote down was “everything is a product, everybody is a customer”. Our servers were a product, and the developers who depended on them were our customers. The company went through three PCI DSS audits in my time without major findings. An audit is the moment the written procedures meet the running systems. When the two match, there is little left to find.

Much of the job happened between departments: with the developers, with management, and with the vendors and IT service providers, for whom I was the main contact. In 2014 the company gave me its internal Einstein Award, for outstanding effort to make work across and between departments easier.

The work I am proudest of from those years is not the AWS architecture, though it held up. It is the handover. When I left in 2017, the team kept running the systems without interruption. That is the hidden test of a migration: whether the person who replaces you can tell what you did and why, from the code and the notes alone.

The shape of that work is what I bring to every engagement now.

ELSEWHERE

I sometimes write.

Notes on software, operations, and the work — published on my personal site.

GitHub LinkedIn XING @whysthatso

www.whysthatso.net →