Top Banner
Docker plugin for Heat Orchestrate containers with OpenStack Heat by Sam Alba @sam_alba [email protected] Oct 2013
12

[Open stack] heat + docker

Jan 28, 2015

Download

Technology

dotCloud

An alternative to the Nova driver, this presentation is about orchestrating Docker containers with OpenStack Heat!
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: [Open stack] heat + docker

Docker plugin for HeatOrchestrate containers with OpenStack Heat

by Sam Alba@sam_alba

[email protected]

Oct 2013

Page 2: [Open stack] heat + docker

What is Heat?

Oct 2013

“Heat implements an orchestration engine to

launch multiple composite cloud applications

based on templates.”Source: https://wiki.openstack.org/wiki/Heat

Page 3: [Open stack] heat + docker

Docker in OpenStack Havana

Oct 2013

Nova supports Docker as a new hypervisor starting with the Havana release

➔ Deploy containers instead of VM with the same API (Nova)

Page 4: [Open stack] heat + docker

Why using Heat directly?

Oct 2013

● This is not a replacement to the Nova driver!● It allows to use the whole Docker API from a Heat

template

Resources:

Blog:

Type: OS::Heat::Docker

Properties:

Image: samalba/wordpress

Env:

- DB_PORT=42

Page 5: [Open stack] heat + docker

How to use it?

Oct 2013

1. Install Heat with DevStack: https://wiki.openstack.

org/wiki/Heat/GettingStartedUsingDevstack

2. Install the Docker plugin

# Clone the repos

git clone [email protected]:dotcloud/openstack-heat-docker.git

# Link the plugin so Heat can find it

ln -sf $(cd openstack-heat-docker/plugin; pwd) /usr/lib/heat/docker

Page 6: [Open stack] heat + docker

Demo time!Example with Wordpress+MySQL

Page 7: [Open stack] heat + docker

Demo time!

Oct 2013

Horizon UI > Orchestration > Stacks

Page 8: [Open stack] heat + docker

Demo time!

Oct 2013

Configure the Stack (parameters of the Heat template)

Page 9: [Open stack] heat + docker

Demo time!

Oct 2013

Launch it

Page 10: [Open stack] heat + docker

Demo time!

Oct 2013

Page 11: [Open stack] heat + docker

Run it yourself!

Oct 2013

Project home page:https://github.com/dotcloud/openstack-heat-docker

… and please ask for help:#docker on irc.freenode.org

Page 12: [Open stack] heat + docker

Questions?

Oct 2013