Joker, Batman 1989” This quote is so relevant when starting out with containers. If you want to be successful you have to change the way you think about solutions, your operational processes and CD/CI pipelines. Trying to fit old solution methodology will cause you technical debt.
of buzz around containers at the moment. So why should you spend the time and money to move your applications to containers ? We will answer this question from three different perspectives • The Dev • Infrastructure • The business
• Quick build times • Run code locally that is the same code as production • More efficient unit test cycles • The container becomes the artifact • Makes the CD/CI process simple
• The application is abstract from the host operating system • In true ‘devops’, it’s infra as code • It creates a collaborative environment • Brings down operational overhead • Makes the CD/CI process simple
have a few ideas of services or apps to containerise. What real world issues will come up. • Do we run 1 container per compute resource • Where does our data or state reside • How do we handle failures • What about the way my data is structured
we run containers 1:1 with compute resources what’s the point ? • So we need a solution to scale That word ‘scale’ needs to be defined • Are we talking on the same compute resource • Does this mean across AZ’s • What about completely different datacentres What about application routing within a compute resource ?
stateless services are like a mirage in heaven. Unfortunately not all applications can be stateless. So how do we handle this ? • Should the data live inside the container • Maybe map a drive to the compute resource • Can we split the compute from the state
moving parts to building an image, creating the container and the release process. • What configuration lives where • How can I test my container • With so many parts what does my source control structure look like
like across multiple compute nodes or AZ’s. We would use a container scheduler. • Docker Swarm https://docs.docker.com/swarm/ • Google’s Kubernetes http://kubernetes.io/ • Apache Mesos https://mesos.apache.org/ • Hashicorp Nomad https://www.nomadproject.io/ Another good note is configuration management Is your friend !!!!
state to our container applications. We have options depending on our design choices • Kubernetes http://kubernetes.io/docs/user-guide/volumes/ • Flocker https://clusterhq.com/flocker/introduction/
is the backbone to our container schedulers. Service discovery dynamically updates the locations of our containers as they move between compute nodes. • Consul https://www.consul.io/ • Etcd https://coreos.com/etcd/
delivering and operating modern infrastructure, organizations that rely on Puppet find it easier to adopt new technologies. Project Blueshift represents Puppet's engagement with our community as well as with leading-edge technologies like Docker, Kubernetes and Mesos, and their communities to make it possible to use Puppet to provide and manage next generation software in a simple, reliable, and consistent way.