Member-only story
This is a practical look at 12 factor apps and how to engineer them for real.
A simple Java microservice is evolved architecturally, from a single process app, to a multi process Docker containerised app leveraging a redis cache, first running on the container orchestration platform Kubernetes, and then rolled out to Red Hat OpenShift.
It’s hands-on-keyboard, with exercises to work through, technical prerequisites:
Take a bit of time up-front to read the introductions to Docker containers and Kubernetes, whilst lots of links to more specifics are scattered throughout the blog. Here’s what we’ll be looking at:
- Introducing the mood service
- Dependencies
- Codebase
- Config
- Process and state
- Backing services
- Containers and dependencies
- Running on docker
- Port binding
- Declaring dependencies to other services
- Running on Kubernetes
- Orchestration and process execution
- Concurrency
- Config and Kubernetes
- Deployment to Red Hat OpenShift
- Wrap Up