The Cloud Specialists
CloudStack Container
Service
ShapeBlue.com • @ShapeBlue
Paul Angus, VP Technology • @CloudyAngus
paul.angus@shapeblue.com
A n i n t r o d u c t i o n t o
The Cloud Specialists
ShapeBlue.com @ShapeBlue
“ShapeBlue are expert builders of public
& private clouds. They are the leading
independent global CloudStack services
company”
A b o u t S h a p e B l u e
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Paul Angus – VP Technology
• Global authority on CloudStack & cloud infrastructure design.
• 10+ years C-Level experience.
• Apache CloudStack project committer
• Specialising in deployment of CloudStack
and surrounding infrastructure
• USP, Georgian Ministry of Justice, Orange, TomTom,
PaddyPower, Ascenty, BSkyB
A b o u t m e
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Introduction
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Why
• What is it
• What it’s not
• CCS Components
• Demonstration
• Roadmap
• Summary
A g e n d a
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
P a r t n e r e d wi t h s k i p p b o x
“Skippbox provides a developer
toolbox for cloud native
applications coupled with an
application lifecycle solution.”
• Tooling for cloud native
environments
• Professional services:
• Container strategy
• Docker
• Kubernetes
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
H e ’s b a c k . .
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Massive growth of cloud native applications
expected
• Containers are a key component of cloud native
applications
• Application level software delivery
• Lightweight (higher density)
• Faster start-up time
• Multi-tenancy is an afterthought
• IaaS is a VM based business
W h y ?
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Based on the model offered by Google and Amazon
• CaaS offering within existing IaaS environments
• No disruption to user experience or business
• Users deploy and orchestrate containers within their
IaaS infrastructure
• Users pay for the underlying VM’s / infra.
• Built on established technologies
• Apache CloudStack
• Kubernetes
• CoreOS
W h a t i s i t ?
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• We are not dictating ‘THE’ CloudStack container
solution.
• The architecture of the open sourced framework
will allow other container platforms to use it.
• The framework doesn’t have to run containers on
it.
W h a t i t ’s n o t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Components
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
1. Framework adds the concept of a group or cluster of
VMs into CloudStack and enables the creation and
management of those VMs as a group at the API level.
2. Deploy Kubernetes onto a group of VMs, configure them
as a Kubernetes cluster and query the Kubernetes API
to obtain and return state information.
3. UI to simplify interaction with the clusters once created.
C C S c o m p o n e n t s
C l i c k t o e d i t
The Cloud Specialists
@ShapeBlueShapeBlue.com
C C S c o m p o n e n t s
C l i c k t o e d i t
The Cloud Specialists
@ShapeBlueShapeBlue.com
C C S c o m p o n e n t s
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
New APIs
createContainerCluster
name : name of the cluster
description
zoneId: zone in which cluster to be launched. zone to be of 'advanced' zone
networkId: network of 'shared' type
nodeCount: number of node instances in the cluster used for launching the containers
serviceOfferingId: uuid of the computer offering that shall be used for launching nodes, and master k8s VMs
templateId: UUID of the template for creating the VMs
listContainerCluster
deleteContainerCluster
id: UUID of the cluster to be deleted
C C S c o m p o n e n t s
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Plugin functionality for CloudStack
• Orchestrates the deployment of Kubernetes within
those VMs to manage the containers
• Creates secure access to the
Kubernetes API endpoint and dashboard
• Allows pass-through access to VMs
• Acts as a control plane only
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Creating container clusters using CloudStack
Container Service
• Creating the cluster
• Viewing metrics
• Understanding the VMs
• Accessing the Cluster dashboard
• Deploying a cloud native application
D e m o
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Demonstration
C l i c k t o e d i t
The Cloud Specialists
@ShapeBlueShapeBlue.com
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Created a Container Cluster
• Viewed the auto-deployed dashboard
• Deployed two HA containerised applications
• Created firewall and load-balancing rules to expose
those applications
• Accessed those applications
S u m m a r y
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Automate exposing services to public internet
• Support resizing of clusters
• Auto-scaling of clusters
• Upgrade of Kubernetes version
• Intelligent independent sizing of master node
• Optional HA for master nodes.
• Use of distributed etcd data store
• Optional use of anti-affinity groups
• Support for CloudStack volumes in Kubernetes for data persistency
• Support for baremetal deployments.
F e a t u r e r o a d m a p
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
• Currently in private preview
• GA end June 2016
• Licensed version available July 2016
• Currently supported in Apache Cloudstack >4.5
• Framework will be open-sourced Q3 2016
Ti m e f r a m e s
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Q u e s t i o n s
?
The Cloud Specialists
CloudStack Container
Service
ShapeBlue.com • @ShapeBlue
Paul Angus, VP Technology • @CloudyAngus
paul.angus@shapeblue.com
A n i n t r o d u c t i o n t o

CloudStack Container Service

  • 1.
    The Cloud Specialists CloudStackContainer Service ShapeBlue.com • @ShapeBlue Paul Angus, VP Technology • @CloudyAngus paul.angus@shapeblue.com A n i n t r o d u c t i o n t o
  • 2.
    The Cloud Specialists ShapeBlue.com@ShapeBlue “ShapeBlue are expert builders of public & private clouds. They are the leading independent global CloudStack services company” A b o u t S h a p e B l u e
  • 3.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Paul Angus – VP Technology • Global authority on CloudStack & cloud infrastructure design. • 10+ years C-Level experience. • Apache CloudStack project committer • Specialising in deployment of CloudStack and surrounding infrastructure • USP, Georgian Ministry of Justice, Orange, TomTom, PaddyPower, Ascenty, BSkyB A b o u t m e
  • 4.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 5.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 6.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 7.
    The Cloud Specialists ShapeBlue.com@ShapeBlue Introduction
  • 8.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Why • What is it • What it’s not • CCS Components • Demonstration • Roadmap • Summary A g e n d a
  • 9.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue P a r t n e r e d wi t h s k i p p b o x “Skippbox provides a developer toolbox for cloud native applications coupled with an application lifecycle solution.” • Tooling for cloud native environments • Professional services: • Container strategy • Docker • Kubernetes
  • 10.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue H e ’s b a c k . .
  • 11.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Massive growth of cloud native applications expected • Containers are a key component of cloud native applications • Application level software delivery • Lightweight (higher density) • Faster start-up time • Multi-tenancy is an afterthought • IaaS is a VM based business W h y ?
  • 12.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Based on the model offered by Google and Amazon • CaaS offering within existing IaaS environments • No disruption to user experience or business • Users deploy and orchestrate containers within their IaaS infrastructure • Users pay for the underlying VM’s / infra. • Built on established technologies • Apache CloudStack • Kubernetes • CoreOS W h a t i s i t ?
  • 13.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • We are not dictating ‘THE’ CloudStack container solution. • The architecture of the open sourced framework will allow other container platforms to use it. • The framework doesn’t have to run containers on it. W h a t i t ’s n o t
  • 14.
  • 15.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue 1. Framework adds the concept of a group or cluster of VMs into CloudStack and enables the creation and management of those VMs as a group at the API level. 2. Deploy Kubernetes onto a group of VMs, configure them as a Kubernetes cluster and query the Kubernetes API to obtain and return state information. 3. UI to simplify interaction with the clusters once created. C C S c o m p o n e n t s
  • 16.
    C l ic k t o e d i t The Cloud Specialists @ShapeBlueShapeBlue.com C C S c o m p o n e n t s
  • 17.
    C l ic k t o e d i t The Cloud Specialists @ShapeBlueShapeBlue.com C C S c o m p o n e n t s
  • 18.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue New APIs createContainerCluster name : name of the cluster description zoneId: zone in which cluster to be launched. zone to be of 'advanced' zone networkId: network of 'shared' type nodeCount: number of node instances in the cluster used for launching the containers serviceOfferingId: uuid of the computer offering that shall be used for launching nodes, and master k8s VMs templateId: UUID of the template for creating the VMs listContainerCluster deleteContainerCluster id: UUID of the cluster to be deleted C C S c o m p o n e n t s
  • 19.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Plugin functionality for CloudStack • Orchestrates the deployment of Kubernetes within those VMs to manage the containers • Creates secure access to the Kubernetes API endpoint and dashboard • Allows pass-through access to VMs • Acts as a control plane only
  • 20.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Creating container clusters using CloudStack Container Service • Creating the cluster • Viewing metrics • Understanding the VMs • Accessing the Cluster dashboard • Deploying a cloud native application D e m o
  • 21.
    The Cloud Specialists ShapeBlue.com@ShapeBlue Demonstration
  • 22.
    C l ic k t o e d i t The Cloud Specialists @ShapeBlueShapeBlue.com
  • 23.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Created a Container Cluster • Viewed the auto-deployed dashboard • Deployed two HA containerised applications • Created firewall and load-balancing rules to expose those applications • Accessed those applications S u m m a r y
  • 24.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Automate exposing services to public internet • Support resizing of clusters • Auto-scaling of clusters • Upgrade of Kubernetes version • Intelligent independent sizing of master node • Optional HA for master nodes. • Use of distributed etcd data store • Optional use of anti-affinity groups • Support for CloudStack volumes in Kubernetes for data persistency • Support for baremetal deployments. F e a t u r e r o a d m a p
  • 25.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Currently in private preview • GA end June 2016 • Licensed version available July 2016 • Currently supported in Apache Cloudstack >4.5 • Framework will be open-sourced Q3 2016 Ti m e f r a m e s
  • 26.
    The Cloud Specialists ShapeBlue.com@ShapeBlue Q u e s t i o n s ?
  • 27.
    The Cloud Specialists CloudStackContainer Service ShapeBlue.com • @ShapeBlue Paul Angus, VP Technology • @CloudyAngus paul.angus@shapeblue.com A n i n t r o d u c t i o n t o