SlideShare a Scribd company logo
Using Apache Brooklyn and Docker in the Cloud
Introducing Clocker
Andrew Kennedy
Andrea Turli
Sam Corbett
CloudStack Meetup, 26 June 2014
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 2
Introduction
•  New Project
•  Clocker
•  Apache Brooklyn
•  Apache Jclouds
•  Docker
•  Demonstrations
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 3
Apache Brooklyn
•  Open Source
•  GitHub
•  Apache Incubator
•  Autonomic Computing
•  Control Plane
•  Application Management
•  Entities
•  Sensors
•  Effectors
•  Locations
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 4
Apache Jclouds
•  Cloud Library
•  Provider/API Agnostic
•  Providers
•  Softlayer
•  Amazon EC2
•  Rackspace ...
•  API
•  CloudStack
•  OpenStack
•  vSphere …
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 5
Docker
•  Containers
•  LXC
•  Solaris Zones
•  BSD Jails
•  Lightweight Virtual Machines
•  Dockerfiles
•  Composable
•  Docker Hub
•  Canonical Images
•  User or Vendor Contributed
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 6
Virtual Containers
•  Jclouds Driver
•  Virtual Machine
•  Nodes
•  Access over SSH
•  Any Underlying Provider
•  Add SSH Service
•  Docker Host Access
•  Command Line
•  REST API
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 7
Infrastructure
•  Brooklyn Entity
•  Docker Cloud
•  Resizable Clusters
•  Hosts
•  Containers
•  Installs Docker
•  Creates Location
•  Interception
•  Forwards Ports
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 8
Architecture
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 9
Simple Architecture
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 10
Application
•  Brooklyn Blueprints
•  YAML
•  Java Classes
•  Entity Tree
•  SSH Commands
•  No Changes Needed
•  Dockerfiles
•  Docker Configuration
•  Automation
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 11
Configuration
id:	
  tomcat-­‐application	
  
name:	
  "Tomcat	
  Web	
  Application"	
  
locations:	
  
-­‐	
  my-­‐docker-­‐cloud	
  
services:	
  
-­‐	
  serviceType:	
  brooklyn.entity.webapp.tomcat.TomcatServer	
  
	
  	
  brooklyn.config:	
  
	
  	
  	
  	
  docker.dockerfile.url:	
  
	
  	
  	
  	
  	
  	
  "https://s3-­‐eu-­‐west-­‐1.amazonaws.com/brooklyn-­‐
clocker/UsesJavaDockerfile"	
  
	
  	
  	
  	
  wars.root:	
  
	
  	
  	
  	
  	
  	
  "https://s3-­‐eu-­‐west-­‐1.amazonaws.com/brooklyn-­‐
clocker/hello-­‐world.war"	
  
	
  	
  	
  	
  version:	
  "7.0.53"	
  
	
  	
  	
  	
  jmx.enabled:	
  true	
  
	
  	
  	
  	
  jmx.agent.mode:	
  "JMXMP"	
  
	
  	
  	
  	
  jmx.direct.port:	
  "30000+"	
  
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 12
Demonstration
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 13
Complex Applications
•  Service Composition
•  Multiple Entities
•  Linking via Attributes
•  Clusters and Groups
•  Enrichers and Policies
•  Example
•  Cassandra Multi-Region Deployment
•  Global Three-Tier Webapp
•  Apache Usergrid
•  OpenGamma
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 14
Placement
•  Adding New Containers
•  Choose Hosts Intelligently
•  Placement Strategy
•  Availability Zone
•  Docker Host
•  Choices
•  Breadth First
•  Depth First
•  Minimum CPU Usage
•  Affinity
•  DSL or API
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 15
Policy
•  Data Based
•  Autoscaling
•  High Availability
•  Entity Sensors
•  Cluster Aggregates
•  Windowed Rolling Average
•  Too Hot or Cold
•  Fixed Limits
•  Time Based
•  Follow The Sun
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 16
Demonstration
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 17
Roadmap
•  Version 0.5.0
•  Affinity Rules
•  Docker Hub Integration
•  CPU and Memory Shares
•  Volumes
•  Version 0.6.0
•  Software Defined Networking
•  Smart Import of Existing Hosts
•  Future…
•  Libswarm?
•  Kubernetes?
•  You tell us!
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 18
Summary
•  What is Clocker?
•  Brooklyn Docker Integration
•  Cloud Agnostic
•  CAMP Application Blueprints
•  Intelligent Placement
•  Automated Orchestration
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 19
Questions
•  Thanks For Listening!
•  Questions?
•  Web Resources
https://github.com/brooklyncentral/clocker/releases/0.4.0/
https://github.com/brooklyncentral/clocker/fork	
  
http://www.cloudsoftcorp.com/blog/2014/06/clocker-­‐creating-­‐a-­‐docker-­‐
cloud-­‐with-­‐apache-­‐brooklyn/	
  
http://abstractvisitorpattern.blogspot.co.uk/	
  
http://github.com/apache/incubating-­‐brooklyn/	
  
http://twitter.com/grkvlt	
  
	
  
26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 20

More Related Content

PPTX
Introducing container as-a-service support to apache libcloud
PPTX
Apache LibCloud - Keeping up with the cloud market in 2016
PPTX
On Docker and its use for LHC at CERN
PDF
k8s NodeSet
PDF
One cluster to serve them all
PPTX
Apache Libcloud
PPTX
Deploy in scale with docker, coreos, kubernetes and apache stratos
PDF
jclouds High Level Overview by Adrian Cole
Introducing container as-a-service support to apache libcloud
Apache LibCloud - Keeping up with the cloud market in 2016
On Docker and its use for LHC at CERN
k8s NodeSet
One cluster to serve them all
Apache Libcloud
Deploy in scale with docker, coreos, kubernetes and apache stratos
jclouds High Level Overview by Adrian Cole

What's hot (20)

PDF
Enhancing Kubernetes with Autoscaling & Hybrid Cloud IaaS
PDF
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
PDF
Libcloud and j clouds
PDF
PaaS on top of CloudStack
PDF
Cluster api devopscon berlin
PPTX
Meetup 12-12-2017 - Application Isolation on Kubernetes
PPTX
CloudStack Conference Public Clouds Use Cases
PPTX
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
PPTX
Paul Angus - CloudStack Container Service
PDF
Magnolia CMS on Jelastic
PPTX
Serverless on Kubernetes
PDF
Containerized Storage for Containers
PDF
Kubernetes on AWS
PPTX
Save 60% of Kubernetes storage costs on AWS & others with OpenEBS
PPTX
Multi-Cloud Orchestration for Kubernetes with Cloudify - Webinar Presentation
PPTX
Webinar: Using Litmus Chaos Engineering and AI for auto incident detection
PDF
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
PPTX
Stateful set in kubernetes implementation & usecases
PDF
Openstack days sv building highly available services using kubernetes (preso)
PPTX
Docker 101 - all about Docker containers
Enhancing Kubernetes with Autoscaling & Hybrid Cloud IaaS
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
Libcloud and j clouds
PaaS on top of CloudStack
Cluster api devopscon berlin
Meetup 12-12-2017 - Application Isolation on Kubernetes
CloudStack Conference Public Clouds Use Cases
Adam Dagnall: Advanced S3 compatible storage integration in CloudStack
Paul Angus - CloudStack Container Service
Magnolia CMS on Jelastic
Serverless on Kubernetes
Containerized Storage for Containers
Kubernetes on AWS
Save 60% of Kubernetes storage costs on AWS & others with OpenEBS
Multi-Cloud Orchestration for Kubernetes with Cloudify - Webinar Presentation
Webinar: Using Litmus Chaos Engineering and AI for auto incident detection
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
Stateful set in kubernetes implementation & usecases
Openstack days sv building highly available services using kubernetes (preso)
Docker 101 - all about Docker containers
Ad

Viewers also liked (20)

PDF
Clocker: Docker in the Cloud
PDF
Achieving CI/CD with Kubernetes
PPS
Trenes
PDF
Business Model Canvas
PPTX
My 2nd Grader's App Idea - Who wants in ? The road puzzle game
PDF
NZ Social Media State of the Nation 2015
PPT
Difficulties identified in a design e-learning program.
PPT
CYBORGS (January 11, 2010)
PPT
Ruu Etika Peny Neg
PDF
Ideation conference final
PDF
Sustainability lab 2015/ Chimica tessile e sostenibilità
PDF
PolyU BBA Management
PPT
mulleres matemáticas 3
PPTX
Guerilla Marketing/PR Hacks
PPTX
Video Games and Reader's Advisory
PPTX
Dont Hug Me
PDF
Introducing the Open Container Project
PPTX
Future of web development
PDF
Penguin, Penalties and 'Big Data' - How I analyzed 250,000 domains
PDF
How Nonprofit Communicators Combine Goals for 2013
Clocker: Docker in the Cloud
Achieving CI/CD with Kubernetes
Trenes
Business Model Canvas
My 2nd Grader's App Idea - Who wants in ? The road puzzle game
NZ Social Media State of the Nation 2015
Difficulties identified in a design e-learning program.
CYBORGS (January 11, 2010)
Ruu Etika Peny Neg
Ideation conference final
Sustainability lab 2015/ Chimica tessile e sostenibilità
PolyU BBA Management
mulleres matemáticas 3
Guerilla Marketing/PR Hacks
Video Games and Reader's Advisory
Dont Hug Me
Introducing the Open Container Project
Future of web development
Penguin, Penalties and 'Big Data' - How I analyzed 250,000 domains
How Nonprofit Communicators Combine Goals for 2013
Ad

Similar to Introducing Clocker (20)

PDF
Deploying Complex Applications on Docker using Apache Brooklyn
PDF
Deploying Complex Applications on Docker using Apache Brooklyn
PDF
RICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
PDF
Running Docker in Production
PDF
Clocker Evolution
PDF
Clocker: Managing Container Networking and Placement
PDF
Bringing Docker to the Cloud
PDF
Using Clocker with Project Calico - Running Production Workloads in the Cloud
PDF
Clocker - The Docker Cloud Maker
PDF
How to Train Your Docker Cloud
PDF
Clocker, Calico and Docker
PDF
Simulating Production with Clocker
PDF
Clocker and OpenStack
PDF
Clocker - How to Train your Docker Cloud
PDF
Openstack Summit Paris - Clocker Lightning talk - Nov 3
PDF
Docker Networking with Clocker and Weave
PDF
Clocker, the Docker Cloud Maker - Andrea Turli - Codemotion Rome 2015
PDF
How to create a Docker Cloud with Brooklyn, jclouds and Clocker
PPTX
Crash Course in Cloud Computing
PPTX
All Things Open : Crash Course in Open Source Cloud Computing
Deploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache Brooklyn
RICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
Running Docker in Production
Clocker Evolution
Clocker: Managing Container Networking and Placement
Bringing Docker to the Cloud
Using Clocker with Project Calico - Running Production Workloads in the Cloud
Clocker - The Docker Cloud Maker
How to Train Your Docker Cloud
Clocker, Calico and Docker
Simulating Production with Clocker
Clocker and OpenStack
Clocker - How to Train your Docker Cloud
Openstack Summit Paris - Clocker Lightning talk - Nov 3
Docker Networking with Clocker and Weave
Clocker, the Docker Cloud Maker - Andrea Turli - Codemotion Rome 2015
How to create a Docker Cloud with Brooklyn, jclouds and Clocker
Crash Course in Cloud Computing
All Things Open : Crash Course in Open Source Cloud Computing

More from Andrew Kennedy (9)

PDF
Hyperledger Lightning Talk
PDF
Orchestraing the Blockchain Using Containers
PDF
Multi-Container Applications Spanning Docker, Mesos and OpenStack
PDF
Containers: Beyond the Basics
PDF
Clocker Now and Next
PDF
Docker Networking with Project Calico
PDF
Clocker 1.0.0 Preview
PDF
Metaswitch Project Calico
PDF
Global Scale ESB with Mule
Hyperledger Lightning Talk
Orchestraing the Blockchain Using Containers
Multi-Container Applications Spanning Docker, Mesos and OpenStack
Containers: Beyond the Basics
Clocker Now and Next
Docker Networking with Project Calico
Clocker 1.0.0 Preview
Metaswitch Project Calico
Global Scale ESB with Mule

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
Teaching material agriculture food technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
Teaching material agriculture food technology
Advanced methodologies resolving dimensionality complications for autism neur...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Review of recent advances in non-invasive hemoglobin estimation
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Machine learning based COVID-19 study performance prediction
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Introducing Clocker

  • 1. Using Apache Brooklyn and Docker in the Cloud Introducing Clocker
  • 2. Andrew Kennedy Andrea Turli Sam Corbett CloudStack Meetup, 26 June 2014 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 2
  • 3. Introduction •  New Project •  Clocker •  Apache Brooklyn •  Apache Jclouds •  Docker •  Demonstrations 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 3
  • 4. Apache Brooklyn •  Open Source •  GitHub •  Apache Incubator •  Autonomic Computing •  Control Plane •  Application Management •  Entities •  Sensors •  Effectors •  Locations 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 4
  • 5. Apache Jclouds •  Cloud Library •  Provider/API Agnostic •  Providers •  Softlayer •  Amazon EC2 •  Rackspace ... •  API •  CloudStack •  OpenStack •  vSphere … 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 5
  • 6. Docker •  Containers •  LXC •  Solaris Zones •  BSD Jails •  Lightweight Virtual Machines •  Dockerfiles •  Composable •  Docker Hub •  Canonical Images •  User or Vendor Contributed 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 6
  • 7. Virtual Containers •  Jclouds Driver •  Virtual Machine •  Nodes •  Access over SSH •  Any Underlying Provider •  Add SSH Service •  Docker Host Access •  Command Line •  REST API 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 7
  • 8. Infrastructure •  Brooklyn Entity •  Docker Cloud •  Resizable Clusters •  Hosts •  Containers •  Installs Docker •  Creates Location •  Interception •  Forwards Ports 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 8
  • 9. Architecture 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 9
  • 10. Simple Architecture 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 10
  • 11. Application •  Brooklyn Blueprints •  YAML •  Java Classes •  Entity Tree •  SSH Commands •  No Changes Needed •  Dockerfiles •  Docker Configuration •  Automation 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 11
  • 12. Configuration id:  tomcat-­‐application   name:  "Tomcat  Web  Application"   locations:   -­‐  my-­‐docker-­‐cloud   services:   -­‐  serviceType:  brooklyn.entity.webapp.tomcat.TomcatServer      brooklyn.config:          docker.dockerfile.url:              "https://s3-­‐eu-­‐west-­‐1.amazonaws.com/brooklyn-­‐ clocker/UsesJavaDockerfile"          wars.root:              "https://s3-­‐eu-­‐west-­‐1.amazonaws.com/brooklyn-­‐ clocker/hello-­‐world.war"          version:  "7.0.53"          jmx.enabled:  true          jmx.agent.mode:  "JMXMP"          jmx.direct.port:  "30000+"   26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 12
  • 13. Demonstration 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 13
  • 14. Complex Applications •  Service Composition •  Multiple Entities •  Linking via Attributes •  Clusters and Groups •  Enrichers and Policies •  Example •  Cassandra Multi-Region Deployment •  Global Three-Tier Webapp •  Apache Usergrid •  OpenGamma 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 14
  • 15. Placement •  Adding New Containers •  Choose Hosts Intelligently •  Placement Strategy •  Availability Zone •  Docker Host •  Choices •  Breadth First •  Depth First •  Minimum CPU Usage •  Affinity •  DSL or API 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 15
  • 16. Policy •  Data Based •  Autoscaling •  High Availability •  Entity Sensors •  Cluster Aggregates •  Windowed Rolling Average •  Too Hot or Cold •  Fixed Limits •  Time Based •  Follow The Sun 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 16
  • 17. Demonstration 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 17
  • 18. Roadmap •  Version 0.5.0 •  Affinity Rules •  Docker Hub Integration •  CPU and Memory Shares •  Volumes •  Version 0.6.0 •  Software Defined Networking •  Smart Import of Existing Hosts •  Future… •  Libswarm? •  Kubernetes? •  You tell us! 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 18
  • 19. Summary •  What is Clocker? •  Brooklyn Docker Integration •  Cloud Agnostic •  CAMP Application Blueprints •  Intelligent Placement •  Automated Orchestration 26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 19
  • 20. Questions •  Thanks For Listening! •  Questions? •  Web Resources https://github.com/brooklyncentral/clocker/releases/0.4.0/ https://github.com/brooklyncentral/clocker/fork   http://www.cloudsoftcorp.com/blog/2014/06/clocker-­‐creating-­‐a-­‐docker-­‐ cloud-­‐with-­‐apache-­‐brooklyn/   http://abstractvisitorpattern.blogspot.co.uk/   http://github.com/apache/incubating-­‐brooklyn/   http://twitter.com/grkvlt     26/06/2014Copyright 2014 by Cloudsoft Corporation Limited Page: 20