docker and containers in the cloud

16
Containers in the Cloud Anthony Shaw, Apache LibCloud PMC

Upload: anthony-shaw

Post on 17-Jan-2017

526 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Docker and Containers in the Cloud

Containers in the CloudAnthony Shaw, Apache LibCloud PMC

Page 2: Docker and Containers in the Cloud

Overview of the LibCloud project

Python library, supports 2.6+, 3.2+ Formed in 2009 Graduated to Apache TLP in May 2011 200k+ downloads a month on PyPi 162 contributors

LibCloud is an open-source library providing a single interface to communicate with multiple clouds, public or private. Supports IaaS, LBaaS, DNS, Storage and Containers.

Page 3: Docker and Containers in the Cloud

Test

Deploy

Monitor

Page 4: Docker and Containers in the Cloud

Protection against market shifts

[1] http://smallbiztrends.com/2015/10/hp-helion-public-cloud-closing.html6 months later..

This HP Helion REST API is amazing! I’m going to automate all the things…

“HP Will Shut Down Its Helion Public Cloud on Jan. 31”[1]

Page 5: Docker and Containers in the Cloud

Mix and match

Compute Storage DNS

Application workload

To take full advantage of the LibCloud ecosystem, deploy your application across multiple providers, choose the best platform(s) for the job.

Compute DNS Storage Load Balancer

Page 6: Docker and Containers in the Cloud

Other ways of consuming LibCloudOrchestration Tools Management UIs

Development Tooling

Page 7: Docker and Containers in the Cloud

Deploy

Deploy

Deploy

Integrate

Page 8: Docker and Containers in the Cloud

Isn’t Docker a standard?Well, yes and no.

Docker has been the main technology

But, Docker is not a provisioning system.

Also there are alternatives, like CoreOS Rkt.

Page 9: Docker and Containers in the Cloud

Why would we need a container API?

Page 10: Docker and Containers in the Cloud

Deploy

Promote

Monitor

Pull

Page 11: Docker and Containers in the Cloud

Comparison of Docker hosts

Docker

Hosted as-a-service

Direct Docker access

Container Monitoring

Scheduler

Dependency graphs

Auto-scaling

Joyent Triton

Hosted as-a-service

Direct Docker access

Container Monitoring

Scheduler

Dependency graphs

Auto-scaling

Kubernetes

Hosted as-a-service

Direct Docker access

Container Monitoring

Scheduler

Dependency graphs

Auto-scaling

GKE

Hosted as-a-service

Direct Docker access

Container Monitoring

Scheduler

Dependency graphs

Auto-scaling

Amazon ECS

Hosted as-a-service

Direct Docker access

Container Monitoring

Scheduler

Dependency graphs

Auto-scaling

Page 12: Docker and Containers in the Cloud

Questions to ask before you jump1. Do you REALLY care about

networking?2. Are you bridging applications between

VMs, physical and containers?3. Are you building a dependency graph?

Page 13: Docker and Containers in the Cloud

Things to note about Containers The Docker API changes frequently, call it directly with caution. These systems are not that stable, plan around remediation. Cloud orchestration from within the scheduler is (generally) a

bad idea. Traditional monitoring tools are not as relevant. Don’t tie yourself to direct Docker access, it’s not available in all

clouds. Keep agnostic, things are changing all the time.

Page 14: Docker and Containers in the Cloud
Page 15: Docker and Containers in the Cloud

People to follow Bryan Cantrill at Joyent @bcantrill (https://

www.joyent.com/blog/unikernels-are-unfit-for-production)

Brendan Burns at Google @brendandburns (wrote ‘most’ of Kubernetes)

Brandon Phillips CTO at CoreOS @BrandonPhilips Nigel Poulton – Evangelist @nigelpoulton