openstack 和container 選擇、架構到部署 雲端環境 · openstack 和container ... mirantis...

29
Marco Huang 雲端應用研究處 Becky Lin 事業開發處 E-mail : [email protected] 2016. July.12 OpenStack Container 選擇、架構到部署 雲端環境

Upload: trannga

Post on 10-Sep-2018

250 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

Marco Huang

雲端應用研究處

Becky Lin

事業開發處

E-mail : [email protected]

2016. July.12

OpenStack 和 Container –選擇、架構到部署

雲端環境

Page 2: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io2

Legal DisclaimerINFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH QUANTA PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR

OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN QUANTA'S TERMS AND

CONDITIONS OF SALE FOR SUCH PRODUCTS, QUANTA ASSUMES NO LIABILITY WHATSOEVER AND QUANTA DISCLAIMS ANY EXPRESS OR IMPLIED

WARRANTY, RELATING TO SALE AND/OR USE OF QUANTA PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A

PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

UNLESS OTHERWISE AGREED IN WRITING BY QUANTA, THE QUANTA PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN

WHICH THE FAILURE OF THE QUANTA PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.

Quanta may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or

characteristics of any features or instructions marked "reserved" or "undefined." Quanta reserves these for future definition and shall have no

responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without

notice. Do not finalize a design with this information.

The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from

published specifications. Current characterized errata are available on request.

All products, computer systems, dates, and figures specified are preliminary based on current expectations, and are subject to change without

notice. Contact your local Quanta sales office or your distributor to obtain the latest specifications and before placing your product order.

Copyright © 2012-2014 Quanta Computer Inc. All rights reserved.Other names and brands may be claimed as the property of others.

Page 3: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Agenda

1. The Age of Cloud

2. OpenStack and Container: Distribution & Types

3. Container in OpenStack

4. OpenStack in Container

5. OpenStack or Container, or Better Together?

3

Page 4: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io4

Cloud is not a hype but real with benefits for data centers

Cloud ITTraditional IT

• Physical infra ‐ dedicated to specific server,

storage and network‐ serving specific applications

• Applications runs for good

• Proprietary: SW and HW locked in

• Software Defined Infrastructure (SDI)

• Agility

• Scalability

• Automation & Orchestration

• Dynamic business request

Page 5: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

A leading cloud datacentersolution provider that delivers

Server, Storage, Networking,

Rack System and Cloud Solutionunder a single, proven roof

Page 6: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Ease of Deployment• Align with industry trend• Reference architecture design

Optimized for Workloads• Extensive test for various use cases• Tune and optimized HW & SW config

QCT’s Cloud Solutions Accelerate and power enterprises’ cloud adoption

6

One-Stop Shop & Support• Integrated Cloud Solutions• Hardware and Software Service & Support

Cloud HW

Software-DefinedIntegrated Solutions

Cloud SW

Page 7: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIALwww.QCT.io

Agenda

7

1. The Age of Cloud2. OpenStack and Container: Distribution & Types3. Container in OpenStack4. OpenStack in Container5. OpenStack or Container, or Better Together?

Page 8: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

OpenStack History

8

Austin Release

Bexar Release

Cactus Release

Diablo Release

Essex Release

Folsom Release

Grizzly Release

Havana Release

Icehouse Release

Juno Release

Kilo Release

Liberty Release

2010 2015 2016201420122011 2013

Mitaka Release

Page 9: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Distribution of OpenStack

9

Page 10: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Distribution of OpenStack – Ubuntu

Ubuntu OpenStack

• Baremetal Provisioning : MAAS

• Orchestration : Juju

10

Page 11: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Distribution of OpenStack - Mirantis

Mirantis OpenStack

• Baremetal Provisioning : Fuel

• Orchestration : Puppet

11

Page 12: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Distribution of OpenStack – Red Hat

Red Hat OpenStack Platform – TripleO (OpenStack on OpenStack)

• Baremetal Provisioning : Ironic

• Orchestration : Heat

12

Page 13: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

System (OS) Container and Application Container

13

System Container:• Meant to used as an OS• Run Multiple services• Build on Cgroups, namespaces and

native process resource isolation• LXD, OpenVZ…etc

Application Container:• Meant to run for a single service• Build on top of Docker or Rocket• Self-contained• Portable• Decoupled from OS

Page 14: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io14

Type of Container OS

– CoreOS• Linux

• Support : Docker and Rocket

• Orchestration : Kubernetes

– RancherOS• Linux

• Support : Docker

• Orchestration : Rancher

– Red Hat Project Atomic Host• Linux

• Support : Docker and Rocket

• Orchestration : Kubernetes

– Intel Clear Linux• Linux

• Support : Docker and Rocket

• Orchestration : Kubernetes

Page 15: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIALwww.QCT.io

15

1. The Age of Cloud2. OpenStack and Container: Distribution & Types3. Container in OpenStack4. OpenStack in Container5. OpenStack or Container, or Better Together?

Agenda

Page 16: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Container within OpenStack Infrastructure

16

• OpenStack can provide multi-tenant security and isolation, management and monitoring.

• OpenStack Container-as-a-Service now is ready:1. Support LXC and Virtuozzo system

containers. 2. Docker application containers and Docker

Swarm, Kubernetes and Mesos container orchestration are available with the Liberty release of Magnum.

OpenStack Service Containers

Nova Heat CinderHorizon

VM VM VM

Container Container Container

Page 17: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy Container in Openstack

17

Options :

• Nova-Docker driver

• Heat-Docker driver

• Magnum - Containers-as-a-Service in OpenStack

• Murano – Catalog as a service in OpenStack

OpenStack

Hardware

VVM … V…..…

Orchestration: Magnum/ Murano

V

C C C C C C C C C C C C…..…

HardwareHardware

Page 18: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy Container in OpenStack - Magnum

18

• Magnum is designed to offer container specic APIs for multi-tenant containers-as-a-service with OpenStack.

• OpenStack Container Infrastructure Management service to support container orchestration engines -Kubernetes, Docker Swarm and Apache Mesos.

Page 19: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy Container in OpenStack - Murano

19

• The Murano enable application developers and cloud administrators to publish various cloud-ready applications in a browsable categorized catalog.

• Murano provides UI and API which allows to compose and deploy composite environments on the Application abstraction level and then manage their lifecycle.

Page 20: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIALwww.QCT.io

20

1. The Age of Cloud2. OpenStack and Container: Distribution & Types3. Container in OpenStack4. OpenStack in Container5. OpenStack or Container, or Better Together?

Agenda

Page 21: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

OpenStack lives inside Container

21

• Simplified lifecycle management of OpenStack services from deployments to upgrades

• Single platform for consistently managing both IaaS and container workloads

• Ability to easily scale, operate and ensure resilience of OpenStackIaaS within their data center environments

Page 22: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy OpenStack in Container

22

Options• Ubunu LXC/LXD • Kolla• Stackanetes

Page 23: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy OpenStack in Container – Ubuntu LXD

Ubunu LXD (Mitaka)

23

Page 24: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy OpenStack in Container – Kolla

24

• Offer a dynamic OpenStack control plane where each OpenStack service runs in a Docker container

• Easy to upgrade or rollback

• Provide a more complete and uniform container environment where components can connect and scale with minimal manual intervention

Page 25: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Deploy OpenStack in Container - Stackanetes

25

• Self healing

• Dynamic resource scheduling

• Robust automation at scale

• Workload portability

• Resource isolation

• Resource monitoring

• Applying Resource Quotas and Limits

Page 26: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIALwww.QCT.io

26

1. The Age of Cloud2. OpenStack and Container: Distribution & Types3. Container in OpenStack4. OpenStack in Container5. OpenStack or Container, or Better Together?

Agenda

Page 27: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

Container vs OpenStack VMHow to tell which is the right choice for your enterprise

Container

• Multiple copies of a single app into a single physical server

• Increase the density of computing at scale

OpenStack VM

• Security

• Multiple OS in a single physical server

• Management tool is more comprehensive for now

27

Depends on youruse case

Page 28: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

www.QCT.io

QCT’s Cloud Solutions Accelerate and power enterprises’ cloud adoption

28

QxStor• Red Hat Ceph Storage• Red Hat Gluster Storage (coming soon)

QxStack• Ubuntu OpenStack• Red Hat OpenStack with NFV (coming soon)

QxStack• Mesosphere Reference Architecture

Develop &

Validate

Optimize

IntegratedSolutions

EasilyDeploy

CloudTrend

Page 29: OpenStack 和Container 選擇、架構到部署 雲端環境 · OpenStack 和Container ... Mirantis OpenStack • Baremetal Provisioning : Fuel • Orchestration : Puppet 11. QCT

QCT CONFIDENTIAL

29