← worklog

2019-06-01

Migrating Kodak's retail kiosk platform off on-premises VMs to Azure

AzureAnsibleJenkinsDocker SwarmPHPJava

Project

Kodak's retail photo-kiosk backend was still partly running on physical VMs in a Frankfurt data center. The business decided to move it to Azure — Kodak was a Microsoft partner with a strong commercial offer on the table, so that decision was made on partnership terms, not a pure technical evaluation. My job was to actually execute the migration.

What I built

  • New VM environment on Azure, configured end to end with Ansible, replacing the hand-maintained on-prem servers
  • Docker Swarm for container orchestration on the new environment, plus the networking/ingress to make it reachable correctly
  • A real Jenkins CI/CD pipeline for the backend, replacing what had been a manual process — updating a Payara application server by hand-copying a new JAR onto it
  • Separate build/deploy automation for the frontend, which was its own significant piece of work: multiple JavaScript projects plus PHP projects, the PHP side backed by a self-hosted Composer package cache built with Satis so builds resolved dependencies from our own mirror instead of hitting the public registry on every CI run

The hardest part wasn't technical

Retail stores' firewalls only allowlisted the old on-prem IP ranges. Moving to Azure meant new IPs, and every store had to update its allowlist before traffic would even reach the new environment — not something Terraform or Ansible can fix. That required coordinating a real-world rollout across physically distributed stores so kiosks didn't go dark mid-cutover.

What I'd do differently

Solve the IP problem architecturally up front next time — reserve a stable egress range before cutover, or use a connection method that doesn't change the store-visible IP at all — rather than discovering it as the hardest part mid-migration.

Result

Migrated successfully, and modernized deployment from manual JAR-drops and ad hoc builds into a real Jenkins-driven pipeline across every stack the platform used, without taking live retail kiosks offline during the IP cutover.