managing container-as-a-service and docker clusters in the cloud with rightscale
TRANSCRIPT
MANAGING CONTAINER-AS-A-SERVICE
AND CONTAINER CLUSTERS
IN THE CLOUD
0
• Adam Alexander
• Senior Cloud Architect
•Richard Shade
•Senior Cloud Solutions Engineer
Presenters
• Container Adoption
• Options for Containers in the Cloud
• Container-as-a-service in the cloud
• Choosing container orchestrators for the cloud
• Demo
Agenda
2017 DevOps Tools – All Respondents
Source: RightScale 2017 State of the Cloud Report
DevOps Tools YoY – All Respondents
Source: RightScale 2017 State of the Cloud Report
Use of Cloud CaaS is Strong
Source: RightScale 2017 State of the Cloud Report
CONTAINERS IN THE CLOUD
Container Options in the Cloud
7
Container orchestration
Cloud Infrastructure
Cloud Infrastructure
Container orchestration
Container- as-a-Service
Run your own orchestrator
No orchestrator
Docker containers
Cloud Infrastructure
Docker containers
Docker containers
Container orchestration
Platform- as-a-Service
Application Platform
Docker containers
Cloud Infrastructure
Container Options in the Cloud
8
Container orchestration
Cloud Infrastructure
Cloud Infrastructure
Container orchestration
Container- as-a-Service
Run your own orchestrator
No orchestrator
Docker containers
Cloud Infrastructure
Docker containers
Docker containers
Container orchestration
Platform- as-a-Service
Application Platform
Docker containers
Cloud Infrastructure
Focus for today
Container-as-a-Service from Cloud Providers
9
• AWS Elastic Container Service (ECS) • Proprietary orchestration, APIs for BYO scheduler
• Recently joined the Kubernetes-focused CNCF
• Azure Container Service (ACS) • Choose your orchestration
• Able to manage Mesosphere DC/OS, Docker Swarm, Kubernetes
• Google Container Engine (GKE) • Kubernetes for orchestration
• IBM Bluemix Container Service (BCS) • Kubernetes for orchestration
Run Your Own Orchestrator
10
• Kubernetes • Open source, developed by Google
• Docker Swarm
• Open source, developed by Docker
• DC/OS • Built on Apache Mesos (open source)
• Utilizes Marathon (open source) for container management
• Recently added Kubernetes support
• Complementary to CaaS
• Self Service interface: authenticated, audited, and curated service catalog
• Visibility and chargeback of usage and spend across containerized and
non-containerized workloads
• Optimization of costs via monitoring and enforcing Docker host utilization.
The Role of RightScale with Containers
11
• Complementary to container cluster managers
• Cluster manager configurations are not consistent across cloud providers,
even when using the same cluster manager like Kubernetes on multiple
providers.
• RightScale automates the often-complex procedures for provisioning and
operating cluster managers
• RightScale’s monitoring and self-healing features can be extended to fully
automate autoscaling, replacing failed nodes, and more
• The same configuration can then be deployed to any public cloud or
private infrastructure for total consistency, reducing the dependence on a
single cloud provider's tools and preserving flexibility for the future.
The Role of RightScale with Containers
12
• Complementary to IaaS/IaaS+/PaaS Services
• Orchestrate containers and traditional workloads
• Orchestrate any cloud service with an API.
• Move between clustering and configuration management tools as desired
• Apply consistent governance, policies, auditing, identity and access
management, self-healing in response to monitoring alerts, visibility and
chargeback of usage and spend across all your workloads on the cloud.
The Role of RightScale with Containers
13
USING PLUGINS
Connect to Any Service with Plugins
15
Compute Storage Network AWS ELB
Built-In Integration Cloud Service Plug-Ins
AWS Lambda
AWS Cloud
Formation
Azure Container Service
and more…
Created by • RightScale • Customer • 3rd party
Google Bigtable
• Complex applications require several components
• “Non Cloud” resources
• Hardware load balancer pools an VIPs
• DNS Records
• Cloud IaaS+/PaaS offerings
• DBaaS (RDS, Bigtable, SQL Azure)
• Load balancing (ELB, Google CLB, Azure Load Balancer)
• and more...
• SaaS Tools
• Logging
• Object Storage
• CDN
• Caching
Use Cases for Plugins
16
Growing List of Out-of-the-Box Plugins
17
Use, modify, contribute at github rightscale/rightscale-plugins
• The Plugin definition
• Describes the target API endpoint and interface
• Totally generic
• Consists of;
• Parameters
• Endpoints
• Types
• The Service definition
• An instantiation of a plugin
• Unique to a particular tenant with credentials, etc.
Anatomy of a Plugin
18
• Map custom service API resources to Plugin definitions
Custom Service API Reference
19
Orchestrate with Cloud Application Templates
Cloud Application Template
Cloud Compute
Cloud Storage
Cloud Network
Images
Templates &
Containers
PaaS Services
IaaS+ Services
Web Services
Define
Resources
Govern
User Options Orchestrate Deployment
Enable
Operations
Code
IaaS Resources via Plugins Application Assets
20
Plugins in CAT – Putting it all together
21
CAT for the Azure Container Service
22
DEMO
For more information, contact [email protected]
For plugin library github.com/rightscale/rightscale-plugins
Q&A
24