Archsummit全球架构师峰会 北京站2015: 梁胜 Rancher Labs

Download as pdf or txt
Download as pdf or txt
You are on page 1of 37

ArchSummit全球架构师峰会

北京站2015
容器时代的云计算
梁胜 Rancher Labs
Growth of Devices
and Apps

Growth of Big Data


and Analytics

Growth of
Internet of Growth of Datacenters
Things
Data center industry in transition

Company Last report date Quarterly YoY growth


revenue
HP Oct 31 2015 $25.71B -9.5%
NetApp Nov 18 2015 $1.45B -6.4%
Cisco Nov 12 2015 $12.7 +4%
EMC Oct 21 2015 $6.08B +1%
IBM Sep 20 2015 $19.29B -14%
Gartner IaaS Magic Quadrant
2014 2015

AWS 5x capacity AWS 10x capacity


of the nearest 14 of the nearest 14
competitors competitors
combined combined
Cloud IaaS is not a commodity.

Lydia Leong, Gartner


What about private cloud?
Why has OpenStack not succeeded?
The real problem: built it, but nobody came
Private Cloud == vSphere
Where do we go from here?

VMware and AWS Revenue (in $1000,000s)


8000

7000

6000

5000

4000

3000

2000

1000

0
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

VMware AWS
Docker bursts onto the scene
What is Docker?

• Not a replacement for VM


• As an application packaging format, it is similar to JAR, rpm, etc.

JAR WAR JAR WAR


Mysql
Mysql
Tomcat (rpm)
Tomcat
(.tgz)

Linux Linux w/ Docker daemon

You do not have to use microservices to run Docker


Why do people use Docker?
One benefit: higher resource utilization

Load Balancer Load Balancer

App
App 1.0 App 1.1 App 1.0
1.1

VM1 VM2 VM1


But more importantly: consistent developer experience
Fact: vast majority of Docker users run on AWS
Developer Operations
The new private cloud: private container service

Private Container Service

Linux Linux Linux Linux Linux Linux


What is in a private container service

Resource Mgmt
Scheduling
Orchestration
App Catalog
Access Control
Monitoring
Private Container Service Security
Overlay Network
Firewall
Linux Linux Linux Linux Linux Linux Load Balancer
Block Storage
File Storage
Object Storage
Distributed DB
and more …
What is in a private container service

Resource Mgmt Docker Machine


Scheduling Swarm, Kubernetes, Mesos
Orchestration Compose, Kubernetes, Marathon, TOSCA
App Catalog Helm, Rancher
Private Access Control LDAP, AD, GitHub
Container
Monitoring Stats, Healthchecks, Sysdig, Datadog, etc.
Service
Security Notary, Kubernetes, Vault
Overlay network VXLAN, IPSEC, etc.
Firewall iptables

DCOS
Load Balancer HAProxy, ngnix, iptables
Block Storage Ceph, EBS, SAN, etc.
File Storage Gluster, EFS, NAS, etc.
Object Storage Swift, S3, etc.
Distributed DB etcd, consul, mongo, DynamoDB, etc.
Implications of private container services

• Computing resources are a commodity


• Consistent DevOps environment from laptop to cloud

Private Container Service

Development Test Production


An analogy

Browser
What about PaaS?

Build/Deploy Pipeline
PaaS

Private Container Service

IaaS
Miraculous growth of DigitalOcean
Simplicity wins
Two ways of automating application management at scale

Apps

Config Management Container Orchestration & Scheduling


Chef, Puppet, Ansible, … Swarm, Kubernetes, Mesos, …


Hosts
What container services give us

Manual
Application
Deployment
and Upgrade

Automated
Differentiated App Mgmt
Infrastructure Commoditized
Infrastructure

Cost without Containers Cost with Container Services


One Last Thing
Container live migration is coming

Private Container Service

Data Center Cloud


AWS spot and on-demand instance

Cost of
Resources
On-demand instance price

Spot instance price Starts to kill and reclaim


spot instances

Cloud lightly utilized Cloud highly utilized


By monitoring spot instance price, we can know 5-10 minutes in
advance that AWS will kill and reclaim spot instances
Rancher and Spotinst work together can save your AWS and GCE
bill by 70-90%

More info http://sina.lt/eAAk


Questions?

[email protected]

You might also like