From Monolith to Microservice Architecture on Kubernetes, part 2 — Authentication with JWT

Jeroen Rosenberg
Jeroen Rosenberg
Published in
5 min readJul 19, 2017

--

In this blog series we’ll discuss our journey at Cupenya of migrating our monolithic application to a microservice architecture running on Kubernetes. In the first part of the series we’ve seen how the main entry point of the microservice infrastructure, the Api Gateway, was built. In this post we’re going to have a close look at another core component of our microservice infrastructure: the Authentication Service. Before converting our main application to a microservice and have it running in Kubernetes we need to have both components in place for a working setup which we could go live with.

Parts

Microservice Architecture Overview

For reference I’ve included the overview of the microservice architecture to clarify which place the Authentication Service has in our setup.

microservice architecture on Kubernetes

Legend

  • The dashed box: A logical Kubernetes…

--

--

Jeroen Rosenberg
Jeroen Rosenberg

Dev of the Ops. Founder of Amsterdam.scala. Passionate about Agile, Continuous Delivery. Proud father of three.