managing container-as-a-service and docker clusters in the cloud with rightscale

25
MANAGING CONTAINER-AS-A-SERVICE AND CONTAINER CLUSTERS IN THE CLOUD 0

Upload: rightscale

Post on 21-Jan-2018

170 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

MANAGING CONTAINER-AS-A-SERVICE

AND CONTAINER CLUSTERS

IN THE CLOUD

0

Page 2: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• Adam Alexander

• Senior Cloud Architect

•Richard Shade

•Senior Cloud Solutions Engineer

Presenters

Page 3: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• Container Adoption

• Options for Containers in the Cloud

• Container-as-a-service in the cloud

• Choosing container orchestrators for the cloud

• Demo

Agenda

Page 4: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

2017 DevOps Tools – All Respondents

Source: RightScale 2017 State of the Cloud Report

Page 5: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

DevOps Tools YoY – All Respondents

Source: RightScale 2017 State of the Cloud Report

Page 6: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

Use of Cloud CaaS is Strong

Source: RightScale 2017 State of the Cloud Report

Page 7: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

CONTAINERS IN THE CLOUD

Page 8: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 9: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 10: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 11: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 12: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• 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

Page 13: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• 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

Page 14: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• 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

Page 15: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

USING PLUGINS

Page 16: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 17: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• 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

Page 18: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

Growing List of Out-of-the-Box Plugins

17

Use, modify, contribute at github rightscale/rightscale-plugins

Page 19: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• 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

Page 20: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

• Map custom service API resources to Plugin definitions

Custom Service API Reference

19

Page 21: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

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

Page 22: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

Plugins in CAT – Putting it all together

21

Page 23: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

CAT for the Azure Container Service

22

Page 24: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

DEMO

Page 25: Managing Container-as-a-Service and Docker Clusters in the Cloud with RightScale

For more information, contact [email protected]

For plugin library github.com/rightscale/rightscale-plugins

Q&A

24