Red Hat Developers and author N. Harrison Ripps have just released the first pieces of a ten-part series ("That app you love") in which Harrison describes the process of deploying an application using containers into a clustered environment on the cloud.
Using the ZRC IRC client as a sample application, Harrison demonstrates each step in the process of containerizing software, dealing with issues like statelessness, security, and robustness that are typically architectural hurdles for most development teams moving to a cloud infrastructure.
Parameterizing application settings is a common requirement of applications that end up deploying to any environment, and containers have only heightened this need --- with the emergence of on-demand environments, scriptability and configurability of the application images being deployed is a must.
Harrison suggests that containerizing applications should happen later, while development should happen first. This might seem intuitive, but his point is that containerizing an application actually need not introduce many development-time changes that would affect the architecture of your system --- it can, but it need not. For a small sacrifice of startup performance, container images can be made more configurable and flexible, supporting DevOps procedures and deployments.
Once configured, the series also demonstrates how to host the application on a private instance of the OpenShift Container Platform, including clustering, via either the Red Hat Container Development Kit (CDK), or binary download of OpenShift. Harrison goes step-by-step through the process of starting the private cloud, deploying the application, and using Kubernetes to cluster the application.
Using attached storage, Harrison introduces a window of statefulness into our container environment. This produces an application that runs on the cloud in stateless containers, but maintains its internal state throughout the lifecycle as pods are brought up and down.
Follow along and learn some of these core cloud concepts as the series is published: