+ All Categories
Home > Software > The Benefits of Using CFEngine with Docker

The Benefits of Using CFEngine with Docker

Date post: 28-Nov-2014
Category:
Upload: cfengine
View: 609 times
Download: 0 times
Share this document with a friend
Description:
When you're working with Docker images and containers, some challenges arise, like how to safely make changes to the code, update your base images with new configuration or software, quickly deploy complex setups of multiple Docker containers, and configure links between containers so they can easily interact with each other. Using CFEngine together with Docker helps you overcome those challenges by providing the following: - Full automation inside and outside Docker containers that is fast, secure, and scalable - Reducing deployment complexity of distributed systems through policy-driven orchestration - Ensuring consistency and compliance across Docker and non-Docker components - Single, unified solution to provision and manage systems across heterogeneous environments
15
www.cfengine.com CFEngine & Docker
Transcript
Page 1: The Benefits of Using CFEngine with Docker

www.cfengine.com

CFEngine & Docker

Page 2: The Benefits of Using CFEngine with Docker

• Complete visibility and alerting

• Compliance with self-healing

• OOTB inventory and reporting

• Repeatable and error-free

• Deploys to local or cloud infrastructure

• Delivers a standardized platform

2

• Agile, secure and scalable

• Policy based and convergent

• Simple, self-service consumption

Intelligent Infrastructure Automation

Policy-Based Application Deployment

Continuous Operations with

Self-Healing

Scale SpeedSecurity Stability

CFEngine is IT Automation at WebScale

Page 3: The Benefits of Using CFEngine with Docker

Distributed, Lightweight Architecture

1. Define Desired State

HUB

3. Verify Actual State

CFEngine Hub

Design Center

MissionPortal

Policy Language

2. Ensure Desired State

CFE Agents

Page 4: The Benefits of Using CFEngine with Docker

The Benefits of Managing Docker Environments with CFEngine

• Full automation inside and outside Docker containers – fast, secure, and scalable

• Reduce deployment complexity of distributed systems through policy-driven orchestration

• Ensure consistency and compliance across Docker and non-Docker components

• Single, unified solution to provision and manage systems across heterogeneous environments

Page 5: The Benefits of Using CFEngine with Docker

Managing Docker Environments with CFEngine

Updating base images

Deploying complex apps

Creating and Linking Containers

Front-end

App Logic DB

Page 6: The Benefits of Using CFEngine with Docker

Demo Scenario• Create custom Docker images on top of base

images• Provision & manage Docker containers and

images• Manage container connections and internal

configuration• Detect drift and self heal• Visualize inventory & create reports

Load balancer/front

end

Web server #1

Web server #2

DB server

Page 7: The Benefits of Using CFEngine with Docker

Demo Scenario – Image Definitions

Use CFEngine to maintain image consistency across environments

Ensure hierarchy of images

Page 8: The Benefits of Using CFEngine with Docker

Demo Scenario – Container Orchestration

Orchestrate services:- Deploy

containers- Make relevant

connections- Start services- Bring apps

online

Page 9: The Benefits of Using CFEngine with Docker

Demo Scenario – Container Orchestration

The CFEngine policy uses the information made available by Docker through the container linking mechanism to correctly configure its services to talk to the other containers

Page 10: The Benefits of Using CFEngine with Docker

Managed OSes

CFEngine Hub

DevTest

Prod

CFEngine Hub

Managed OSes

Managed OSes

Consistent Deployment Across Docker & non-Docker

Page 11: The Benefits of Using CFEngine with Docker

Extensible Inventory Report

Customizable Filters and Report Columns

All Your System Types in One report

Page 12: The Benefits of Using CFEngine with Docker

Graphical Representation of Reports

Page 13: The Benefits of Using CFEngine with Docker

Self-Healing Infrastructure“docker ps” command

lists four active containers

Manually destroy one container

Second “docker ps” command lists only

three, after webserver2 was

destroyed

Page 14: The Benefits of Using CFEngine with Docker

CFEngine Restores Desired State

A few minutes later all four containers are up again after CFEngine

resurrected webserver2

Page 15: The Benefits of Using CFEngine with Docker

www.cfengine.com

CFEngine Enterprise is FREE for up to 25 hosts!Download and give it a try here.

Thank You!


Recommended