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.
• 15+ years C-Level experience.
• Apache CloudStack project committer & PMC member
• Specialising in deployment of CloudStack
and surrounding infrastructure especially the user story
• USP, Georgian Ministry of Justice, Orange, TomTom,
PaddyPower, Ascenty, BSkyB, SAP, British Telecom
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 even have to be used to
run containers - could be DaaS.
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. ‘Application Clusters’ 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. Certificate Service to create CA for secure connection to dashboard
4. 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
ShapeBlue.com @ShapeBlue
New APIs
• createApplicationCluster
name: name of the application cluster
description: description of application cluster
type: service type - Kubernetes, CloudFoundry, Mesos etc
zoneid:
role: the name for this type of VM (within the Cluster Type i.e master or worker)
priority: used for starting order, lower numbers will be started sooner.
serviceofferingid: template: the template to use for VMs of this role
count: size of the cluster or number of VMs of this role to be provisioned
accountname: account for which application cluster shall be created
domainid:
networkid:
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
• deleteApplicationCluster
• startApplicationCluster
• stopApplicationCluster
• increaseRoleCount
(role: the name for the type of node to be added)
• decreaseRoleCount
• listApplicationClusters
• listClusterNodes
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
Certificate Service
• Mgmt server(s) act as a Certificate Authority (CA)
• Mgmt server(s) can create client & server certificates
• Used to secure communications to the Kubernetes
Master node
• Will be expanded to (optionally) secure CloudStack
internal communications
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
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
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 supported in Apache Cloudstack 4.6 and 4.5
(as an independent plugin)
• Framework currently being contributed to the Apache
CloudStack project (https://tinyurl.com/m3996ex)
• ‘Kubernetes Plugin’ opensource and available on Github
(https://github.com/shapeblue/ccs)
• Once framework finalised in ACS, roadmap work will
continue.
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

CCCNA17 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. • 15+ years C-Level experience. • Apache CloudStack project committer & PMC member • Specialising in deployment of CloudStack and surrounding infrastructure especially the user story • USP, Georgian Ministry of Justice, Orange, TomTom, PaddyPower, Ascenty, BSkyB, SAP, British Telecom 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 even have to be used to run containers - could be DaaS. 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. ‘Application Clusters’ 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. Certificate Service to create CA for secure connection to dashboard 4. 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 ShapeBlue.com @ShapeBlue New APIs • createApplicationCluster name: name of the application cluster description: description of application cluster type: service type - Kubernetes, CloudFoundry, Mesos etc zoneid: role: the name for this type of VM (within the Cluster Type i.e master or worker) priority: used for starting order, lower numbers will be started sooner. serviceofferingid: template: the template to use for VMs of this role count: size of the cluster or number of VMs of this role to be provisioned accountname: account for which application cluster shall be created domainid: networkid: 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 ShapeBlue.com @ShapeBlue New APIs • deleteApplicationCluster • startApplicationCluster • stopApplicationCluster • increaseRoleCount (role: the name for the type of node to be added) • decreaseRoleCount • listApplicationClusters • listClusterNodes 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 Certificate Service • Mgmt server(s) act as a Certificate Authority (CA) • Mgmt server(s) can create client & server certificates • Used to secure communications to the Kubernetes Master node • Will be expanded to (optionally) secure CloudStack internal communications 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.
    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
  • 22.
    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
  • 23.
    The Cloud Specialists ShapeBlue.com@ShapeBlue Demonstration
  • 24.
    C l ic k t o e d i t The Cloud Specialists @ShapeBlueShapeBlue.com
  • 25.
    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
  • 26.
    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
  • 27.
    C l ic k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • Currently supported in Apache Cloudstack 4.6 and 4.5 (as an independent plugin) • Framework currently being contributed to the Apache CloudStack project (https://tinyurl.com/m3996ex) • ‘Kubernetes Plugin’ opensource and available on Github (https://github.com/shapeblue/ccs) • Once framework finalised in ACS, roadmap work will continue. Ti m e f r a m e s
  • 28.
    The Cloud Specialists ShapeBlue.com@ShapeBlue Q u e s t i o n s ?
  • 29.
    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

Editor's Notes

  • #25 Show ‘just normal UI’ Have a cluster running for speed Start new cluster and explain settings Show network creation Explain cluster ‘details’ Show background container apps