The document discusses Cloud Foundry developments including Diego, Lattice, Docker, and Cloud Rocker. Diego is a rewrite of the Cloud Foundry runtime that uses etcd instead of NATS for shared memory and supports different container formats. Lattice is a tool that allows deploying Cloud Foundry in different environments and demonstrates Docker support. Cloud Rocker builds Docker images from Cloud Foundry applications. Together these tools provide improved application scheduling, Windows support, and use of container technologies within Cloud Foundry.
The elastic runtime will keep the number of instances you’ve requested running by:
DEAs constantly reporting their state
Health manager constantly updating actual state model across all DEAs
HM periodically requests desired state from the cloud controller
When a difference is found, HM advises CC
CC initiates deployment of a new instance
Cloud Foundry PaaS
Cloud Foundry PaaS
An application runs in a DEA, which is a droplet execution agent. The Cloud Controller orchestrates the routing and lifecycle of all DEAs in the pool. Routers manage application traffic. Health Manager reports mismatched application states to the CC. A service gateway provides an interface for services (native or external). A messaging bus manages all system communication. Apps are accessed directly through the router while web and CLI clients (e.g., vmc, STS) access Cloud Controller via RESTful services.
Demo Lattice & XRay
Deploy apps
Scale apps
Crash and app
Stop a node
How do containers and PaaS work together?
One of the capabilities of PaaS, is the orchestration and management of multiple virtual machines and/or containers that depend on each other and work with each other to provide an application that is built and run atop an infrastructure of choice.
Pivotal has released experimental support for Docker containers (a running instance of a Docker image) in their Ops Manager to provide the ability to run multiple Docker images on a single VM. The Diego project further enables enterprises to run 12-factor applications within Docker images as first-class applications so that they can leverage features such as load balancing, aggregate logging, service bindings, team management and refined event auditing that Pivotal CF provides.
So how does Pivotal CF and Docker work together?
Pivotal CF adds many enterprise-grade features for Docker containers, particularly around app health management, monitoring, and orchestration.