- China's cloud spending is growing rapidly and will account for 24.5% of global cloud spending by 2018 compared to 5.7% in 2015. More than 80% of Chinese companies surveyed plan to use containers in production environments.
- Alibaba Cloud offers Aliyun Container Service for deploying containers on its cloud. It is fully compatible with Docker Compose/Swarm and allows assembling containers and cloud services like databases declaratively.
- Alibaba also offers a dedicated cloud solution called Apsara Stack that provides customers full control over their infrastructure using container-based control plane services. It supports various workloads and integrates with other Alibaba cloud services.
2. Agenda
• Cloud and Docker Status Update in China!
• Successful Stories!
• Aliyun Container Service!
• Dedicated Cloud Powered By Container!
• Scalable Docker Image Distribution!
!
3. Alibaba Cloud: A Global Player for Cloud Computing
US West
Europe
Russia
CN North
CN East
Japan
Hong Kong
CN South
Singapore
Middle East
Opened
Planned
US East
5. Cloud and Docker Status Update in China
China cloud relative to the West – DB!
l China’s cloud spending to reach 24.5% of the West by 2018 from 5.7% in 2015!
l More than 80% respondents are already using or plan to use containers, but only 10% used in production environment.!
Survey result from 350+ feedbacks by Alibaba Cloud, June 2016 !
Docker Adoption in China!
6. version: '2'!
services:!
wordpress:!
image: wordpress:4.5!
restart: always!
links:!
- 'db:mysql'!
volumes:!
- 'wp_upload:/var/www/html/wp-content/uploads'!
environment:!
- WORDPRESS_DB_USER=blog!
- WORDPRESS_DB_PASSWORD=xxxxxx!
- WORDPRESS_DB_NAME=wordpress!
- availability:az==2!
labels:!
aliyun.probe.url: http://container!
aliyun.routing.port_80: http://wordpress!
aliyun.scale: '3'!
aliyun.log_store_wordpress: stdout!
db:!
external:!
host: rdsxxxxxx.mysql.rds.aliyuncs.com!
ports:!
- 3306!
volumes:!
wp_upload:!
driver: ossfs!
driver_opts:!
bucket: acs-sample-wordpress!
Load Balancing
Service!
MySQL Instance
from RDS!
Aliyun Container Service!
From container to cloud native application!
OSSFS! OSSFS! OSSFS!
• Fully compatible to Docker Compose/Swarm!
Bucket from!
Object Store Service!
One click to deploy in cloud!
AZ-a! AZ-b!
Cluster of VM nodes!
http://wordpress.alicontainer.com!
7. version: '2'!
services:!
wordpress:!
image: wordpress:4.5!
restart: always!
links:!
- 'db:mysql'!
volumes:!
- 'wp_upload:/var/www/html/wp-content/uploads'!
environment:!
- WORDPRESS_DB_USER=blog!
- WORDPRESS_DB_PASSWORD=xxxxxx!
- WORDPRESS_DB_NAME=wordpress!
- availability:az==2!
labels:!
aliyun.probe.url: http://container!
aliyun.routing.port_80: http://wordpress!
aliyun.scale: '3'!
aliyun.log_store_wordpress: stdout!
db:!
external:!
host: rdsxxxxxx.mysql.rds.aliyuncs.com!
ports:!
- 3306!
volumes:!
wp_upload:!
driver: ossfs!
driver_opts:!
bucket: acs-sample-wordpress!
Load Balancing
Service!
Aliyun Container Service!
From container to cloud native application!
OSSFS! OSSFS! OSSFS!
• Fully compatible to Docker Compose/Swarm!
• Assemble the container and cloud services in declarative way!
!
MySQL Instance
from RDS!
Bucket from!
Object Store Service!
One click to deploy in cloud!
AZ-a! AZ-b!
Cluster of VM nodes!
http://wordpress.alicontainer.com!
8. version: '2'!
services:!
wordpress:!
image: wordpress:4.5!
restart: always!
links:!
- 'db:mysql'!
volumes:!
- 'wp_upload:/var/www/html/wp-content/uploads'!
environment:!
- WORDPRESS_DB_USER=blog!
- WORDPRESS_DB_PASSWORD=xxxxxx!
- WORDPRESS_DB_NAME=wordpress!
- availability:az==2!
labels:!
aliyun.probe.url: http://container!
aliyun.routing.port_80: http://wordpress!
aliyun.scale: '3'!
aliyun.log_store_wordpress: stdout!
db:!
external:!
host: rdsxxxxxx.mysql.rds.aliyuncs.com!
ports:!
- 3306!
volumes:!
wp_upload:!
driver: ossfs!
driver_opts:!
bucket: acs-sample-wordpress!
Load Balancing
Service!
MySQL Instance
from RDS!
Aliyun Container Service!
From container to cloud native application!
OSSFS! OSSFS! OSSFS!
• Fully compatible to Docker Compose/Swarm!
• Assemble the container and cloud services in declarative way!
• Enable micro-service architecture!
Bucket from!
Object Store Service!
One click to deploy in cloud!
AZ-a! AZ-b!
Cluster of VM nodes!
http://wordpress.alicontainer.com!
12. Apsara Stack- Full Stack Dedicated Cloud
Open API (REST, SDK, Orchestration Template)!
Customer-owned Infrastructure!
ManagementandOperation!
Distributed Coordination
Service!Distributed storage Service!
Distributed resource
management and scheduling!
Distributed Data Center Management!
Elastic Compute! Storage Services! VPC! Database Services!
Big Data! Security Services! Application Services!
Internet Scale
Middleware Services!
EnterpriseSecurityFramework!
Challenges
!
l Deliver the full stack cloud
efficiently!
l Minimize the resource overhead!
l HA and self-managed system!
l Continuing evolution!
!
!
!
Apsara Kernel : Unified, large scale, distributed computing framework!
100+ controller services developed by different teams!
Each service has different dependencies of runtimes and libs!
!
13. Deploy Dedicated Cloud in Few Person Days
Docker
Image!
Registry!
!
!
!
Configuration
Management!
!
!
!
!
!
!
!
!
!
!
Data Center
Management!
!
!
!
!
!
!
Unified service description for all controller services
(In Docker Compose style format with extensions)
Properties!
Requirements (depends)!
Capabilities (provides)!
Probes!
Healthy & monitoring!
Constrains!
HA, placement, …!
Image!
S1
S3 S4
S5
S7S6
Determine execution plan by resolving the
dependencies among services automatically
S2
1!
Lookup
configuration!2!
3!
X86 Server!
X86 Server!
X86 Server!
Linux (AliOS)!
Docker Engine (Docker with Ali Extensions) !
VXLAN/
VLAN!
Network
Plugin!
Management!
Agent!
n + 1 hot backup!
Recover node failure in minutes!
Clone the controller nodes from base
OS image with Docker Engine!
Deploy and configure service controllers
as Docker containers !4!
Service Controller!
Container!
Service Controller!
Container!
Service Controller!
Container!
X86 Server!
X86 Server!
Clone the worker nodes from base OS image, deploy and configure
the service workers on baremetal!
X86 Server!
Linux (AliOS)!
Service Worker (Elastic Computing, Storage, Big Data, etc.)!
Management!
Agent!
5!
14. Scalable Docker Image Distribution in Alibaba Group
Docker
Registry with
Index Server! Massive, secure and highly reliable
object storage service !
Mirror!
OSS!
OSS!
tracker
CI/CD!
DC 1! DC 2!
Other data centers in China
and around the world …!
Headquarter!
10K+ servers concurrent
pulling image within one
Data Center!
!
30% faster layer download
through p2p distribution!
Docker Engine enhanced with private registry mirror!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
Mirror!
OSS!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
Docker!
Proxy with P2P!
minion client!
tracker