Hammr Project Update: Machine Images and Docker Containers for your Cloud, OW2con'16, Paris.
Docker and Containers in the Cloud
-
Upload
anthony-shaw -
Category
Technology
-
view
523 -
download
2
Transcript of Docker and Containers in the Cloud
![Page 1: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/1.jpg)
Containers in the CloudAnthony Shaw, Apache LibCloud PMC
![Page 2: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/3.jpg)
Test
Deploy
Monitor
![Page 4: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/4.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/6.jpg)
Other ways of consuming LibCloudOrchestration Tools Management UIs
Development Tooling
![Page 7: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/7.jpg)
Deploy
Deploy
Deploy
Integrate
![Page 8: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/9.jpg)
Why would we need a container API?
![Page 10: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/10.jpg)
Deploy
Promote
Monitor
Pull
![Page 11: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/13.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/14.jpg)
![Page 15: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/15.jpg)
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
![Page 16: Docker and Containers in the Cloud](https://reader036.fdocuments.us/reader036/viewer/2022070514/587d541a1a28abee158b5387/html5/thumbnails/16.jpg)
About me
@anthonypjshaw
@tonybaloney
Based in Sydney, Australia
Head of Innovation for Dimension Data