SlideShare une entreprise Scribd logo
1  sur  21
Télécharger pour lire hors ligne
Clocker	
  and	
  OpenStack	
  
Andrew	
  Kennedy,	
  Dave	
  Nielsen	
  and	
  Andrea	
  Turli	
  
OpenStack	
  Meetup,	
  19	
  August	
  2014	
  	
  
IntroducCon	
  
•  Speakers	
  
–  Andrew	
  Kennedy	
  and	
  Andrea	
  Turli	
  
–  Dave	
  Neilsen	
  
•  Overview	
  
–  Docker	
  
–  Brooklyn	
  
–  Campsite	
  
–  OpenStack	
  
Docker	
  
•  IntroducCon	
  
•  Popularity	
  
•  History	
  
•  Ecosystem	
  
Docker	
  
Docker	
  
•  Technical	
  
•  Containers	
  
•  Micro	
  Services	
  
•  Dockerfiles	
  
–  ConfiguraCon	
  
–  Volumes	
  
–  Composable	
  
Docker	
  
•  Cloud	
  Usage	
  
•  OpenStack	
  
•  Manual	
  Process	
  
–  CredenCals	
  and	
  Keys	
  
–  OperaCng	
  System	
  and	
  Hardware	
  
–  Download	
  and	
  InstallaCon	
  
–  ConfiguraCon	
  
–  Dockerfile	
  per	
  Service	
  
Brooklyn	
  
•  Brooklyn	
  
–  ApplicaCon	
  Management	
  PlaOorm	
  
–  Autonomic	
  CompuCng	
  
•  YAML	
  Blueprint	
  
–  Services	
  (EnCCes)	
  
–  ConfiguraCon	
  
–  ATributes	
  (Sensors)	
  
–  AcCons	
  (Effectors)	
  
Clocker	
  
•  Infrastructure	
  
–  Apache	
  jclouds	
  Supported	
  Cloud	
  with	
  CredenCals	
  
•  Docker	
  Host	
  
–  Running	
  the	
  Docker	
  Service	
  
–  REST	
  API	
  Access	
  Using	
  jclouds	
  1.8.0	
  Docker	
  Driver	
  
–  Virtual	
  Machine	
  Access	
  Using	
  SSH	
  
–  Cluster	
  of	
  Containers	
  
•  Docker	
  Container	
  
–  Running	
  Services	
  and	
  Commands	
  for	
  EnCty	
  
Clocker	
  
DemonstraCon	
  
Deploying	
  a	
  Docker	
  Cloud	
  
Clocker	
  
•  Demand	
  Side	
  
–  Create	
  a	
  New	
  Container	
  
–  Resize	
  Cluster	
  of	
  EnCCes	
  
–  AutoScaler	
  Policy	
  ATached	
  to	
  Cluster	
  
•  Supply	
  Side	
  
–  Placement	
  Strategies	
  for	
  Containers	
  
–  Depth	
  or	
  Breadth	
  First	
  
–  Affinity	
  Rules	
  
–  Resource	
  AllocaCon	
  (CPU	
  Shares,	
  Load,	
  Memory,	
  …)	
  
Clocker	
  
•  ApplicaCon	
  Deployment	
  
–  CAMP	
  Blueprint	
  in	
  YAML	
  
–  Java	
  Classes	
  
–  Mostly	
  Unchanged	
  
•  Docker	
  Specific	
  ConfiguraCon	
  
–  Affinity	
  Rules	
  or	
  Placement	
  Strategy	
  
–  Dockerfile	
  or	
  Image	
  ID	
  
–  CPU	
  or	
  Memory	
  Shares	
  
–  Docker	
  Volumes	
  
DemonstraCon	
  
ApplicaCons	
  on	
  the	
  Docker	
  Cloud	
  
Campsite	
  ApplicaCon	
  
•  GitHub	
  Repository	
  
•  Components	
  
–  PHP	
  Web	
  ApplicaCon	
  
–  Node.JS	
  RESTful	
  API	
  
–  MySQL	
  Database	
  
•  Cloud	
  Services	
  
–  Email	
  
–  Message	
  Queue	
  
–  Object	
  Store	
  
Campsite	
  Blueprint	
  
id:	
  campsite-­‐application	
  
locations:	
  
-­‐	
  jclouds:hpcloud-­‐compute	
  
services:	
  
-­‐	
  serviceType:	
  brooklyn.entity.database.mysql.MySqlNode	
  
-­‐	
  serviceType:	
  brooklyn.campsite.entity.CampsiteWebapp	
  
	
  	
  brooklyn.config:	
  
	
  	
  	
  	
  objectStorage:	
  AWSObjectStorage	
  
	
  	
  	
  	
  queueService:	
  AWS_SQS	
  
	
  	
  	
  	
  emailService:	
  AWS_SES	
  
	
  	
  	
  	
  databaseHost:	
  $brooklyn:component("mysql").attributeWhenReady("host.name")	
  
	
  	
  	
  	
  databasePort:	
  $brooklyn:component("mysql").attributeWhenReady("mysql.port")	
  
	
  	
  	
  	
  databaseUser:	
  "campsite"	
  
	
  	
  	
  	
  databasePassword:	
  "p4ssw0rd"	
  
	
  	
  	
  	
  domainName:	
  "campsite.org"	
  
-­‐	
  serviceType:	
  brooklyn.campsite.entity.CampsiteApi	
  
Campsite	
  Blueprint	
  
•  Java	
  Components	
  
–  CampsiteWebapp	
  PHP	
  EnCty	
  
–  CampsiteApi	
  Node.JS	
  EnCty	
  
•  Campsite	
  ApplicaCon	
  
–  ConfiguraCon	
  ProperCes	
  
–  Webapp,	
  API	
  and	
  MySQL	
  Database	
  EnCCes	
  
•  YAML	
  Blueprint	
  
DemonstraCon	
  
Campsite	
  Deployment	
  
Campsite	
  Cluster	
  
•  Add	
  Cluster	
  CapabiliCes	
  
•  No	
  Extra	
  Coding	
  
–  Just	
  Write	
  YAML	
  Blueprint	
  
–  CampsiteWebapp	
  Already	
  Set	
  Up	
  
–  Stateless	
  Service	
  (Uses	
  SQL	
  Database)	
  
–  Only	
  Run	
  Database	
  Create	
  and	
  Install	
  Once	
  
•  New	
  Services	
  
–  Nginx	
  Load	
  Balancer	
  EnCty	
  
–  Rabbit	
  MQ	
  Broker	
  EnCty	
  
DemonstraCon	
  
Campsite	
  Cluster	
  Blueprint	
  
Summary	
  
•  Docker	
  Containers	
  
–  Micro	
  Services	
  
•  LimitaCons	
  
–  MulCple	
  Hosts	
  
–  Management	
  
•  Clocker	
  
–  ApplicaCon	
  Blueprints	
  
–  OrchestraCon	
  
Web	
  Resources	
  
http://clocker.io/	
  
http://brooklyn.io/	
  
https://github.com/brooklyncentral/campsite/	
  
https://github.com/dnielsen/campapp/	
  
http://docker.io/	
  
http://davenielsen.wordpress.com	
  	
  

Contenu connexe

Tendances

Deploying Data Science with Docker and AWS
Deploying Data Science with Docker and AWSDeploying Data Science with Docker and AWS
Deploying Data Science with Docker and AWSMatt McDonnell
 
jclouds High Level Overview by Adrian Cole
jclouds High Level Overview by Adrian Colejclouds High Level Overview by Adrian Cole
jclouds High Level Overview by Adrian ColeEverett Toews
 
Openstack: Open Source software for building public and private cloud.
Openstack: Open Source software for building public and private cloud.Openstack: Open Source software for building public and private cloud.
Openstack: Open Source software for building public and private cloud.Atul Jha
 
Kubernetes in Azure
Kubernetes in AzureKubernetes in Azure
Kubernetes in AzureKarl Ots
 
Hybrid architecture solutions with kubernetes and the cloud native stack
Hybrid architecture solutions with kubernetes and the cloud native stackHybrid architecture solutions with kubernetes and the cloud native stack
Hybrid architecture solutions with kubernetes and the cloud native stackKublr
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinderopenstackindia
 
Exploring Openstack Swift(Object Storage) and Swiftstack
Exploring Openstack Swift(Object Storage) and Swiftstack Exploring Openstack Swift(Object Storage) and Swiftstack
Exploring Openstack Swift(Object Storage) and Swiftstack Ramit Surana
 
On Docker and its use for LHC at CERN
On Docker and its use for LHC at CERNOn Docker and its use for LHC at CERN
On Docker and its use for LHC at CERNSebastien Goasguen
 
Evolution of containers to kubernetes
Evolution of containers to kubernetesEvolution of containers to kubernetes
Evolution of containers to kubernetesKrishna-Kumar
 
Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18CodeOps Technologies LLP
 
Ejecución del Elastic Stack en Kubernetes
Ejecución del Elastic Stack en KubernetesEjecución del Elastic Stack en Kubernetes
Ejecución del Elastic Stack en KubernetesElasticsearch
 
Kubernetes a comprehensive overview
Kubernetes   a comprehensive overviewKubernetes   a comprehensive overview
Kubernetes a comprehensive overviewGabriel Carro
 
JClouds at San Francisco Java User Group
JClouds at San Francisco Java User GroupJClouds at San Francisco Java User Group
JClouds at San Francisco Java User GroupMarakana Inc.
 

Tendances (20)

Kubernetes Presentation
Kubernetes PresentationKubernetes Presentation
Kubernetes Presentation
 
Deploying Data Science with Docker and AWS
Deploying Data Science with Docker and AWSDeploying Data Science with Docker and AWS
Deploying Data Science with Docker and AWS
 
OpenStack Storage Overview
OpenStack Storage OverviewOpenStack Storage Overview
OpenStack Storage Overview
 
Clocker Now and Next
Clocker Now and NextClocker Now and Next
Clocker Now and Next
 
jclouds High Level Overview by Adrian Cole
jclouds High Level Overview by Adrian Colejclouds High Level Overview by Adrian Cole
jclouds High Level Overview by Adrian Cole
 
Openstack: Open Source software for building public and private cloud.
Openstack: Open Source software for building public and private cloud.Openstack: Open Source software for building public and private cloud.
Openstack: Open Source software for building public and private cloud.
 
Kubernetes in Azure
Kubernetes in AzureKubernetes in Azure
Kubernetes in Azure
 
Hybrid architecture solutions with kubernetes and the cloud native stack
Hybrid architecture solutions with kubernetes and the cloud native stackHybrid architecture solutions with kubernetes and the cloud native stack
Hybrid architecture solutions with kubernetes and the cloud native stack
 
Chef for openstack
Chef for openstackChef for openstack
Chef for openstack
 
Heat Updates - Liberty Edition
Heat Updates - Liberty EditionHeat Updates - Liberty Edition
Heat Updates - Liberty Edition
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinder
 
Exploring Openstack Swift(Object Storage) and Swiftstack
Exploring Openstack Swift(Object Storage) and Swiftstack Exploring Openstack Swift(Object Storage) and Swiftstack
Exploring Openstack Swift(Object Storage) and Swiftstack
 
On Docker and its use for LHC at CERN
On Docker and its use for LHC at CERNOn Docker and its use for LHC at CERN
On Docker and its use for LHC at CERN
 
Evolution of containers to kubernetes
Evolution of containers to kubernetesEvolution of containers to kubernetes
Evolution of containers to kubernetes
 
Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18Virtualized Containers - How Good is it - Ananth - Siemens - CC18
Virtualized Containers - How Good is it - Ananth - Siemens - CC18
 
Ejecución del Elastic Stack en Kubernetes
Ejecución del Elastic Stack en KubernetesEjecución del Elastic Stack en Kubernetes
Ejecución del Elastic Stack en Kubernetes
 
Jclouds Intro
Jclouds IntroJclouds Intro
Jclouds Intro
 
Kubernetes a comprehensive overview
Kubernetes   a comprehensive overviewKubernetes   a comprehensive overview
Kubernetes a comprehensive overview
 
JClouds at San Francisco Java User Group
JClouds at San Francisco Java User GroupJClouds at San Francisco Java User Group
JClouds at San Francisco Java User Group
 
Kubernetes on OpenStack @eBay
Kubernetes on OpenStack @eBayKubernetes on OpenStack @eBay
Kubernetes on OpenStack @eBay
 

En vedette

Weaving Your Marketing Loose Ends into a Tight Plan
Weaving Your Marketing Loose Ends into a Tight PlanWeaving Your Marketing Loose Ends into a Tight Plan
Weaving Your Marketing Loose Ends into a Tight PlanKivi Leroux Miller
 
Blogging Best practices: 40 tips in 40 minutes
Blogging Best practices: 40 tips in 40 minutesBlogging Best practices: 40 tips in 40 minutes
Blogging Best practices: 40 tips in 40 minutesIan Lurie
 
Brian Oliver Pimp My Data Grid
Brian Oliver  Pimp My Data GridBrian Oliver  Pimp My Data Grid
Brian Oliver Pimp My Data Griddeimos
 
I Problemi Adolescenziali
I Problemi AdolescenzialiI Problemi Adolescenziali
I Problemi Adolescenzialiguestdd490f
 
30 Internet Marketing Tips You Should Do RIGHT NOW
30 Internet Marketing Tips You Should Do RIGHT NOW30 Internet Marketing Tips You Should Do RIGHT NOW
30 Internet Marketing Tips You Should Do RIGHT NOWIan Lurie
 
Bringing Docker to the Cloud
Bringing Docker to the CloudBringing Docker to the Cloud
Bringing Docker to the CloudAndrew Kennedy
 
Studywiz new staff introduction - aug 2011
Studywiz   new staff introduction - aug 2011Studywiz   new staff introduction - aug 2011
Studywiz new staff introduction - aug 2011Andrew McCarthy
 
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...Kivi Leroux Miller
 
Libraries in a Transliterate, Technology Fluent World
Libraries in a Transliterate, Technology Fluent World Libraries in a Transliterate, Technology Fluent World
Libraries in a Transliterate, Technology Fluent World Bobbi Newman
 
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...Kivi Leroux Miller
 
What Successful Nonprofits Get Right about Marketing and Fundraising
What Successful Nonprofits Get Right about Marketing and FundraisingWhat Successful Nonprofits Get Right about Marketing and Fundraising
What Successful Nonprofits Get Right about Marketing and FundraisingKivi Leroux Miller
 

En vedette (20)

Funcion Finanzas
Funcion FinanzasFuncion Finanzas
Funcion Finanzas
 
Weaving Your Marketing Loose Ends into a Tight Plan
Weaving Your Marketing Loose Ends into a Tight PlanWeaving Your Marketing Loose Ends into a Tight Plan
Weaving Your Marketing Loose Ends into a Tight Plan
 
Srt File
Srt FileSrt File
Srt File
 
Prove It
Prove ItProve It
Prove It
 
Blogging Best practices: 40 tips in 40 minutes
Blogging Best practices: 40 tips in 40 minutesBlogging Best practices: 40 tips in 40 minutes
Blogging Best practices: 40 tips in 40 minutes
 
Brian Oliver Pimp My Data Grid
Brian Oliver  Pimp My Data GridBrian Oliver  Pimp My Data Grid
Brian Oliver Pimp My Data Grid
 
I Problemi Adolescenziali
I Problemi AdolescenzialiI Problemi Adolescenziali
I Problemi Adolescenziali
 
電腦作業
電腦作業電腦作業
電腦作業
 
5th day
5th day5th day
5th day
 
Fallas
FallasFallas
Fallas
 
PEPE
PEPEPEPE
PEPE
 
30 Internet Marketing Tips You Should Do RIGHT NOW
30 Internet Marketing Tips You Should Do RIGHT NOW30 Internet Marketing Tips You Should Do RIGHT NOW
30 Internet Marketing Tips You Should Do RIGHT NOW
 
Bringing Docker to the Cloud
Bringing Docker to the CloudBringing Docker to the Cloud
Bringing Docker to the Cloud
 
Studywiz new staff introduction - aug 2011
Studywiz   new staff introduction - aug 2011Studywiz   new staff introduction - aug 2011
Studywiz new staff introduction - aug 2011
 
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...
CALM not BUSY: A New Approach for Nonprofit Communications Directors to Do Th...
 
Libraries in a Transliterate, Technology Fluent World
Libraries in a Transliterate, Technology Fluent World Libraries in a Transliterate, Technology Fluent World
Libraries in a Transliterate, Technology Fluent World
 
Sesion 1
Sesion 1Sesion 1
Sesion 1
 
Badajoz
BadajozBadajoz
Badajoz
 
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...
Online Marketing, Part II: Turning Participants into Supporters-Stepping up Y...
 
What Successful Nonprofits Get Right about Marketing and Fundraising
What Successful Nonprofits Get Right about Marketing and FundraisingWhat Successful Nonprofits Get Right about Marketing and Fundraising
What Successful Nonprofits Get Right about Marketing and Fundraising
 

Similaire à Clocker and OpenStack

Simulating Production with Clocker
Simulating Production with ClockerSimulating Production with Clocker
Simulating Production with ClockerAndrew Kennedy
 
Clocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudClocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudAndrew Kennedy
 
RICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
RICON 2014 Running Riak in a Docker Cloud using Apache BrooklynRICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
RICON 2014 Running Riak in a Docker Cloud using Apache BrooklynDuncan Johnston-Watt
 
Deploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynDeploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynAndrew Kennedy
 
Clocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerClocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerAndrew Kennedy
 
Clocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementClocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementDocker, Inc.
 
Microservices with containers in the cloud
Microservices with containers in the cloudMicroservices with containers in the cloud
Microservices with containers in the cloudEugene Fedorenko
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes servicesRajesh Kolla
 
Intellias CQRS Framework
Intellias CQRS FrameworkIntellias CQRS Framework
Intellias CQRS FrameworkSergey Seletsky
 
Deploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynDeploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynAndrew Kennedy
 
How to Train Your Docker Cloud
How to Train Your Docker CloudHow to Train Your Docker Cloud
How to Train Your Docker CloudC4Media
 
Scaling .net containers with event driven workloads
Scaling .net containers with event driven workloadsScaling .net containers with event driven workloads
Scaling .net containers with event driven workloadsNilesh Gule
 
Pro2516 10 things about oracle and k8s.pptx-final
Pro2516   10 things about oracle and k8s.pptx-finalPro2516   10 things about oracle and k8s.pptx-final
Pro2516 10 things about oracle and k8s.pptx-finalMichel Schildmeijer
 
Making sense of containers, docker and Kubernetes on Azure.
Making sense of containers, docker and Kubernetes on Azure.Making sense of containers, docker and Kubernetes on Azure.
Making sense of containers, docker and Kubernetes on Azure.Nills Franssens
 
Clocker: Docker in the Cloud
Clocker: Docker in the CloudClocker: Docker in the Cloud
Clocker: Docker in the CloudAndrew Kennedy
 
Using Clocker with Project Calico - Running Production Workloads in the Cloud
Using Clocker with Project Calico - Running Production Workloads in the CloudUsing Clocker with Project Calico - Running Production Workloads in the Cloud
Using Clocker with Project Calico - Running Production Workloads in the CloudAndrew Kennedy
 
Intro into Rook and Ceph on Kubernetes
Intro into Rook and Ceph on KubernetesIntro into Rook and Ceph on Kubernetes
Intro into Rook and Ceph on KubernetesKublr
 
AWS Česko-Slovenský Webinár 03: Vývoj v AWS
AWS Česko-Slovenský Webinár 03: Vývoj v AWSAWS Česko-Slovenský Webinár 03: Vývoj v AWS
AWS Česko-Slovenský Webinár 03: Vývoj v AWSVladimir Simek
 
Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Pedro Sousa
 

Similaire à Clocker and OpenStack (20)

Simulating Production with Clocker
Simulating Production with ClockerSimulating Production with Clocker
Simulating Production with Clocker
 
Clocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudClocker - How to Train your Docker Cloud
Clocker - How to Train your Docker Cloud
 
RICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
RICON 2014 Running Riak in a Docker Cloud using Apache BrooklynRICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
RICON 2014 Running Riak in a Docker Cloud using Apache Brooklyn
 
Deploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynDeploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache Brooklyn
 
Clocker Evolution
Clocker EvolutionClocker Evolution
Clocker Evolution
 
Clocker - The Docker Cloud Maker
Clocker - The Docker Cloud MakerClocker - The Docker Cloud Maker
Clocker - The Docker Cloud Maker
 
Clocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and PlacementClocker: Managing Container Networking and Placement
Clocker: Managing Container Networking and Placement
 
Microservices with containers in the cloud
Microservices with containers in the cloudMicroservices with containers in the cloud
Microservices with containers in the cloud
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes services
 
Intellias CQRS Framework
Intellias CQRS FrameworkIntellias CQRS Framework
Intellias CQRS Framework
 
Deploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache BrooklynDeploying Complex Applications on Docker using Apache Brooklyn
Deploying Complex Applications on Docker using Apache Brooklyn
 
How to Train Your Docker Cloud
How to Train Your Docker CloudHow to Train Your Docker Cloud
How to Train Your Docker Cloud
 
Scaling .net containers with event driven workloads
Scaling .net containers with event driven workloadsScaling .net containers with event driven workloads
Scaling .net containers with event driven workloads
 
Pro2516 10 things about oracle and k8s.pptx-final
Pro2516   10 things about oracle and k8s.pptx-finalPro2516   10 things about oracle and k8s.pptx-final
Pro2516 10 things about oracle and k8s.pptx-final
 
Making sense of containers, docker and Kubernetes on Azure.
Making sense of containers, docker and Kubernetes on Azure.Making sense of containers, docker and Kubernetes on Azure.
Making sense of containers, docker and Kubernetes on Azure.
 
Clocker: Docker in the Cloud
Clocker: Docker in the CloudClocker: Docker in the Cloud
Clocker: Docker in the Cloud
 
Using Clocker with Project Calico - Running Production Workloads in the Cloud
Using Clocker with Project Calico - Running Production Workloads in the CloudUsing Clocker with Project Calico - Running Production Workloads in the Cloud
Using Clocker with Project Calico - Running Production Workloads in the Cloud
 
Intro into Rook and Ceph on Kubernetes
Intro into Rook and Ceph on KubernetesIntro into Rook and Ceph on Kubernetes
Intro into Rook and Ceph on Kubernetes
 
AWS Česko-Slovenský Webinár 03: Vývoj v AWS
AWS Česko-Slovenský Webinár 03: Vývoj v AWSAWS Česko-Slovenský Webinár 03: Vývoj v AWS
AWS Česko-Slovenský Webinár 03: Vývoj v AWS
 
Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)Lets talk about: Azure Kubernetes Service (AKS)
Lets talk about: Azure Kubernetes Service (AKS)
 

Plus de Andrew Kennedy

Hyperledger Lightning Talk
Hyperledger Lightning TalkHyperledger Lightning Talk
Hyperledger Lightning TalkAndrew Kennedy
 
Orchestraing the Blockchain Using Containers
Orchestraing the Blockchain Using ContainersOrchestraing the Blockchain Using Containers
Orchestraing the Blockchain Using ContainersAndrew Kennedy
 
Multi-Container Applications Spanning Docker, Mesos and OpenStack
Multi-Container Applications Spanning Docker, Mesos and OpenStackMulti-Container Applications Spanning Docker, Mesos and OpenStack
Multi-Container Applications Spanning Docker, Mesos and OpenStackAndrew Kennedy
 
Containers: Beyond the Basics
Containers: Beyond the BasicsContainers: Beyond the Basics
Containers: Beyond the BasicsAndrew Kennedy
 
Running Docker in Production
Running Docker in ProductionRunning Docker in Production
Running Docker in ProductionAndrew Kennedy
 
Clocker, Calico and Docker
Clocker, Calico and DockerClocker, Calico and Docker
Clocker, Calico and DockerAndrew Kennedy
 
Introducing the Open Container Project
Introducing the Open Container ProjectIntroducing the Open Container Project
Introducing the Open Container ProjectAndrew Kennedy
 
Docker Networking with Project Calico
Docker Networking with Project CalicoDocker Networking with Project Calico
Docker Networking with Project CalicoAndrew Kennedy
 
Metaswitch Project Calico
Metaswitch Project CalicoMetaswitch Project Calico
Metaswitch Project CalicoAndrew Kennedy
 
Docker Networking with Clocker and Weave
Docker Networking with Clocker and WeaveDocker Networking with Clocker and Weave
Docker Networking with Clocker and WeaveAndrew Kennedy
 
Global Scale ESB with Mule
Global Scale ESB with MuleGlobal Scale ESB with Mule
Global Scale ESB with MuleAndrew Kennedy
 

Plus de Andrew Kennedy (13)

Hyperledger Lightning Talk
Hyperledger Lightning TalkHyperledger Lightning Talk
Hyperledger Lightning Talk
 
Orchestraing the Blockchain Using Containers
Orchestraing the Blockchain Using ContainersOrchestraing the Blockchain Using Containers
Orchestraing the Blockchain Using Containers
 
Multi-Container Applications Spanning Docker, Mesos and OpenStack
Multi-Container Applications Spanning Docker, Mesos and OpenStackMulti-Container Applications Spanning Docker, Mesos and OpenStack
Multi-Container Applications Spanning Docker, Mesos and OpenStack
 
Containers: Beyond the Basics
Containers: Beyond the BasicsContainers: Beyond the Basics
Containers: Beyond the Basics
 
Running Docker in Production
Running Docker in ProductionRunning Docker in Production
Running Docker in Production
 
Clocker, Calico and Docker
Clocker, Calico and DockerClocker, Calico and Docker
Clocker, Calico and Docker
 
Introducing the Open Container Project
Introducing the Open Container ProjectIntroducing the Open Container Project
Introducing the Open Container Project
 
Docker Networking with Project Calico
Docker Networking with Project CalicoDocker Networking with Project Calico
Docker Networking with Project Calico
 
Clocker 1.0.0 Preview
Clocker 1.0.0 PreviewClocker 1.0.0 Preview
Clocker 1.0.0 Preview
 
Metaswitch Project Calico
Metaswitch Project CalicoMetaswitch Project Calico
Metaswitch Project Calico
 
Docker Networking with Clocker and Weave
Docker Networking with Clocker and WeaveDocker Networking with Clocker and Weave
Docker Networking with Clocker and Weave
 
Introducing Clocker
Introducing ClockerIntroducing Clocker
Introducing Clocker
 
Global Scale ESB with Mule
Global Scale ESB with MuleGlobal Scale ESB with Mule
Global Scale ESB with Mule
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Clocker and OpenStack

  • 1. Clocker  and  OpenStack   Andrew  Kennedy,  Dave  Nielsen  and  Andrea  Turli   OpenStack  Meetup,  19  August  2014    
  • 2. IntroducCon   •  Speakers   –  Andrew  Kennedy  and  Andrea  Turli   –  Dave  Neilsen   •  Overview   –  Docker   –  Brooklyn   –  Campsite   –  OpenStack  
  • 3. Docker   •  IntroducCon   •  Popularity   •  History   •  Ecosystem  
  • 5. Docker   •  Technical   •  Containers   •  Micro  Services   •  Dockerfiles   –  ConfiguraCon   –  Volumes   –  Composable  
  • 6. Docker   •  Cloud  Usage   •  OpenStack   •  Manual  Process   –  CredenCals  and  Keys   –  OperaCng  System  and  Hardware   –  Download  and  InstallaCon   –  ConfiguraCon   –  Dockerfile  per  Service  
  • 7. Brooklyn   •  Brooklyn   –  ApplicaCon  Management  PlaOorm   –  Autonomic  CompuCng   •  YAML  Blueprint   –  Services  (EnCCes)   –  ConfiguraCon   –  ATributes  (Sensors)   –  AcCons  (Effectors)  
  • 8. Clocker   •  Infrastructure   –  Apache  jclouds  Supported  Cloud  with  CredenCals   •  Docker  Host   –  Running  the  Docker  Service   –  REST  API  Access  Using  jclouds  1.8.0  Docker  Driver   –  Virtual  Machine  Access  Using  SSH   –  Cluster  of  Containers   •  Docker  Container   –  Running  Services  and  Commands  for  EnCty  
  • 10. DemonstraCon   Deploying  a  Docker  Cloud  
  • 11. Clocker   •  Demand  Side   –  Create  a  New  Container   –  Resize  Cluster  of  EnCCes   –  AutoScaler  Policy  ATached  to  Cluster   •  Supply  Side   –  Placement  Strategies  for  Containers   –  Depth  or  Breadth  First   –  Affinity  Rules   –  Resource  AllocaCon  (CPU  Shares,  Load,  Memory,  …)  
  • 12. Clocker   •  ApplicaCon  Deployment   –  CAMP  Blueprint  in  YAML   –  Java  Classes   –  Mostly  Unchanged   •  Docker  Specific  ConfiguraCon   –  Affinity  Rules  or  Placement  Strategy   –  Dockerfile  or  Image  ID   –  CPU  or  Memory  Shares   –  Docker  Volumes  
  • 13. DemonstraCon   ApplicaCons  on  the  Docker  Cloud  
  • 14. Campsite  ApplicaCon   •  GitHub  Repository   •  Components   –  PHP  Web  ApplicaCon   –  Node.JS  RESTful  API   –  MySQL  Database   •  Cloud  Services   –  Email   –  Message  Queue   –  Object  Store  
  • 15. Campsite  Blueprint   id:  campsite-­‐application   locations:   -­‐  jclouds:hpcloud-­‐compute   services:   -­‐  serviceType:  brooklyn.entity.database.mysql.MySqlNode   -­‐  serviceType:  brooklyn.campsite.entity.CampsiteWebapp      brooklyn.config:          objectStorage:  AWSObjectStorage          queueService:  AWS_SQS          emailService:  AWS_SES          databaseHost:  $brooklyn:component("mysql").attributeWhenReady("host.name")          databasePort:  $brooklyn:component("mysql").attributeWhenReady("mysql.port")          databaseUser:  "campsite"          databasePassword:  "p4ssw0rd"          domainName:  "campsite.org"   -­‐  serviceType:  brooklyn.campsite.entity.CampsiteApi  
  • 16. Campsite  Blueprint   •  Java  Components   –  CampsiteWebapp  PHP  EnCty   –  CampsiteApi  Node.JS  EnCty   •  Campsite  ApplicaCon   –  ConfiguraCon  ProperCes   –  Webapp,  API  and  MySQL  Database  EnCCes   •  YAML  Blueprint  
  • 18. Campsite  Cluster   •  Add  Cluster  CapabiliCes   •  No  Extra  Coding   –  Just  Write  YAML  Blueprint   –  CampsiteWebapp  Already  Set  Up   –  Stateless  Service  (Uses  SQL  Database)   –  Only  Run  Database  Create  and  Install  Once   •  New  Services   –  Nginx  Load  Balancer  EnCty   –  Rabbit  MQ  Broker  EnCty  
  • 20. Summary   •  Docker  Containers   –  Micro  Services   •  LimitaCons   –  MulCple  Hosts   –  Management   •  Clocker   –  ApplicaCon  Blueprints   –  OrchestraCon  
  • 21. Web  Resources   http://clocker.io/   http://brooklyn.io/   https://github.com/brooklyncentral/campsite/   https://github.com/dnielsen/campapp/   http://docker.io/   http://davenielsen.wordpress.com