DevOps in OpenStack Public Cloud 副 标 题 副 标 题 副 标 题 Presented at OpenStack Summit, Fall 2012, San Diego

Similar documents
OpenStack in 程 辉. freedomhui@gmail.com

OpenStack Introduction. November 4, 2015

Change the Game with HP Helion

Design and Implementation of IaaS platform based on tool migration Wei Ding

Building Storage as a Service with OpenStack. Greg Elkinbard Senior Technical Director

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

OpenStack/Quantum SDNbased network virtulization with Ryu

PES. High Availability Load Balancing in the Agile Infrastructure. Platform & Engineering Services. HEPiX Bologna, April 2013

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Performance Testing of an IAAS Cloud Software (A CloudStack Use Case)

Sunshine in a Cloudy World

OpenStack The State of the Stack

OpenStack Alberto Molina Coballes

Mobile Cloud Computing T Open Source IaaS

HP OpenStack & Automation

How To Use Openstack (And Piston) For Your Cloud Computing

FUJITSU Software ServerView Cloud Monitoring Manager V1 Introduction

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

Déployer son propre cloud avec OpenStack. GULL François Deppierraz

Savanna Hadoop on. OpenStack. Savanna Technical Lead

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

Mirantis

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

OpenStack IaaS. Rhys Oxenham OSEC.pl BarCamp, Warsaw, Poland November 2013

Agile Infrastructure: an updated overview of IaaS at CERN

OpenStack Towards a fully open cloud. Thierry Carrez Release Manager, OpenStack

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

Multi Provider Cloud. Srinivasa Acharya, Engineering Manager, Hewlett-Packard

Cloud Computing using

Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

An Introduction to OpenStack and its use of KVM. Daniel P. Berrangé

How To Use Openstack On Your Laptop

Iron Chef: Bare Metal OpenStack

AMD SEAMICRO OPENSTACK BLUEPRINTS CLOUD- IN- A- BOX OCTOBER 2013

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

SDN and Data Center Networks

OpenStack Awareness Session

How To Build An Openstack Cloud System

การใช งานและต ดต งระบบ OpenStack ซอฟต แวร สาหร บบร หารจ ดการ Cloud Computing เบ องต น

How To Make A Vpc More Secure With A Cloud Network Overlay (Network) On A Vlan) On An Openstack Vlan On A Server On A Network On A 2D (Vlan) (Vpn) On Your Vlan

Isabell Sippli Cloud Architect, Lab Based Services IBM Software Group 2013 IBM Corporation

NephOS A Licensed End-to-end IaaS Cloud Software Stack for Enterprise or OEM On-premise Use.

Huawei and Open Source. Industry development department Shi Hao

HP Cloud OS. Платформа OpenStack корпоративного уровня. Иван Кровяков Архитектор облачных решений HP Центральная и Восточная Европа

OpenStack & Hyper-V. Alessandro Pilo- CEO Cloudbase

KVM, OpenStack, and the Open Cloud

Cisco Prime Network Services Controller. Sonali Kalje Sr. Product Manager Cloud and Virtualization, Cisco Systems

KT ucloud storage. Two Years of Life with OpenStack Swift / Jaesuk Ahn, Cloud OS Dev. Team, Korea Telecom

Private Cloud Management

Business transformation with Hybrid Cloud

An Intro to OpenStack. Ian Lawson Senior Solution Architect, Red Hat

7 Ways OpenStack Enables Automation & Agility for KVM Environments

cloud functionality: advantages and Disadvantages

Cloud Platform Comparison: CloudStack, Eucalyptus, vcloud Director and OpenStack

Outline. Why Neutron? What is Neutron? API Abstractions Plugin Architecture

The Virtualization Practice

How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning

2) Xen Hypervisor 3) UEC

Intel IT Cloud Extending OpenStack* IaaS with Cloud Foundry* PaaS

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

Architecture des plates-formes IaaS Etat des lieux et perspectives

Cloud Essentials for Architects using OpenStack

Understand IBM Cloud Manager V4.2 for IBM z Systems

Appendix to; Assessing Systemic Risk to Cloud Computing Technology as Complex Interconnected Systems of Systems

SUSE Cloud 5 Private Cloud based on OpenStack

UZH Experiences with OpenStack

Cloud Computing for Architects

Getting Started Hacking on OpenNebula

Building Multi-Site & Ultra-Large Scale Cloud with Openstack Cascading

Software Defined Networking (SDN) and OpenStack. Christian Koenning

Compass Deploying and Monitoring a Software Defined Infrastructure

With Red Hat Enterprise Virtualization, you can: Take advantage of existing people skills and investments

OpenStack An Open Cloud for an Open Data World IBM s Contributions, Commitments & Products

CLOUDSTACK VS OPENSTACK. Apache CloudStack: It Just Works for Service Providers

OpenStack Ecosystem and Xen Cloud Platform

HP Converged Cloud Cloud Platform Overview. Shane Pearson Vice President, Portfolio & Product Management

Snakes on a cloud. A presentation of the OpenStack project. Thierry Carrez Release Manager, OpenStack

RED HAT INFRASTRUCTURE AS A SERVICE OVERVIEW AND ROADMAP. Andrew Cathrow Red Hat, Inc. Wednesday, June 12, 2013

Today. 1. Private Clouds. Private Cloud toolkits. Private Clouds and OpenStack Introduction

Building an Open, Adaptive & Responsive Data Center using OpenDaylight

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 2

Configuring and Managing a Private Cloud with Enterprise Manager 12c

Comparing Open Source Private Cloud (IaaS) Platforms

DevOps. Josh Preston Solutions Architect Stardate

Building a big IaaS cloud with Apache CloudStack

Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Quantum Hyper- V plugin

Transcription:

在 这 里 写 上 你 的 标 题 DevOps in OpenStack Public Cloud 副 标 题 副 标 题 副 标 题 Presented at OpenStack Summit, Fall 22, San Diego 副 标 题 文 字 副 标 题 文 字 Hui Cheng freedomhui@gmail.com freedomhui.com Community Manager of COSUG Technical Manager in Sina Corporation 22/10/17 作 者 名 字 / 日 期

Why OpenStack?

Why OpenStack?

Open 目 录 Source Apache 2 License

Open 目 录 Design Grizzly Design Summit

Open 目 录 Development Propose features in launchpad

Open 目 录 Development Code Review

目 录 OpenStack is the #2 FOSS foundation 1. The Linux Foundation = $9.6M 2. Openstack = $6M 3. Mozilla Foundation = $1.9M 4. The Apache Foundation - $0.53M

Open 目 录 Foundation Board Platinum 写 Members(8) 上 你 的 文 字 你 的 文 字 Gold Members(8) DreamHost, Cloudscaling, ITRI/CCAT, DELL, Piston, Mirantis, Yahoo!, Cisco

Open 目 录 Foundation Board Individual 写 Members(8) 上 你 的 文 字 你 的 文 字 No one company may control more than two board seats

OpenStack 目 录 Public Cloud However They never tell you how to operate their public cloud based on OpenStack!

Content SinaCloud Introduction Challenges to build a OpenStack Public Cloud 1. Network topology 2. Security Enhancement 3. Storage Solution 4. Identity Integration 5. Billing & Monitoring 6. Dashboard Improvement Operate an production OpenStack 7. Platform stack 8. Automated Deployment 9. Continuous Integration 10. Project Management StackLab: A community OpenStack Public Cloud Summary

Cloud 目 录 Requirement Sina Weibo twitter-like microblog service Sina.com Largest infotainment web portal in China Provides various on-line services, like news, Finance, video, email, blog hosting, etc. Needs unified infrastructure & app platform to host heterogeneous services and apps. over 350m users, #1 SNS in China. huge influence on China's society Weibo Open Platform to build a social ecosystem through Open API and cloud environmental. We are building a reliable, scalable and secure cloud platform to support our business and external customers.

目 录 SinaCloud Portfolio First and most popular PaaS cloud in China, launched in 29 Support PHP, Python and Java runtime. 250,0 developers, 380,0 apps running on SAE. (Sina Cloud Market) First commercial cloud app market in China. SaaS cloud based on SAE tech. Design for the common users, 1-Click purchase and install apps. First OpenStack based public IaaS cloud in China

目 录 Sina OpenStack dev Team For Community Top 9 contributor by bugfix at Essex Top 4 contributor either by changeset or bugfix at Folsom Contribute community project Dough, Kanyun addressing Monitoring and Billing Develop Island as Cinder would-be plugin Lead COSUG to be largest OpenStack user group More info: http://www.openstack.org/blog/22/10/how-sina-contributes-to-openstack/

Content SinaCloud Introduction Challenges to build a OpenStack Public Cloud 1. Network topology 2. Security Enhancement 3. Storage Solution 4. Identity Integration 5. Billing & Monitoring 6. Dashboard Improvement Operate an production OpenStack 7. Platform stack 8. Automated Deployment 9. Continuous Integration 10. Project Management StackLab: A community OpenStack Public Cloud Summary

目 录 Network Topology Nova-network vs Quantum Nova-Network Multi host Multi Talent Flat, FlatDHCP Tunneling SDN Sec Group Dashboard Support Quantum Nova-Network is simple, robust and reliable, except lack of some advanced features. Quantum is not ready for production use, it s OVS plugin has great potential to be open-source NVP solution. I would suggestion to continue use nova-network for production deployment until next release.

目 录 Nova-Network Flat Need external DHCP Server, and human intervention, not flexible, hardly use in practical deployment. FlatDHCP Like Amazon EC2 networking(not VPC, VPC corresponds to Quantum), VM get IP from single network pools. Simple, easy to hack. Widely used in public cloud, also preferred topology in many scenarios. VLAN A little complex, hardware configuration may be involved. Not suggest to use except strong requirement of tenant isolation,

Network Topology Real User Case Nova Network(FlatDHCP+Multi-host) Capability: Accessibility of all VMs in the fixed IP range VM is able to access public network VM can be accessible from public network Bonus: Totally distributed architecture avoid single-point failure. Multiple gateway eliminates NAT bottleneck High speed between OS regions Drawback: Tenant isolation lessens Need security facility(sws-filter) to protect intranet

目 录 Security Enhancement Define whose traffic could be able to reach which internal SWS Filter: a extension to security group in nova-network Used to filter egress traffic from VM to internal network network IP/segment.

目 录 Storage Solution Object 写 Storage: 上 你 的 文 字 Definitely 你 的 文 字 we choose Swift Block Storage Cinder is not Amazon EBS, just a framework to include multiple open-source/commercial storage solution. Nova-volume/Cinder(iSCSI) is not applicable to public cloud. Sheepdog/Gluster/Ceph plugins need time to be stable. Island: Local Storage Volume plugin for Cinder is coming. High performance local storage Incremental & independent snapshot Snapshot store in swift

目 录 Swift Architecture GET abc.png PUT abc.png 1 Zone = 1 Physical Server with 12x2T disk Write/Read applies Quorum protocol Load Balancer Zone1 Zone2 Zone3 Zone4 Zone5 Proxy Server Proxy Server Proxy Server Proxy Server Proxy Server Object Server Object Server Object Server Object Server Object Server Container Server Container Server Container Server Container Server Container Server Account Server Account Server Account Server Account Server Account Server

目 录 Cinder Island Plugin Architecture User Nova DB Nova API Nova RPC Compute Manager Volume API cinder RPC Volume Manager = Cinder DB KEY Increment Snapshot to Swift REST AMQP SQL POSIX Swift API Host Island KVM Guest images Swift Storage

目 录 Identify Integration: Keystone AWS-like Multi-region support Dashboard Nova Keystone Beijing Select Region Keystone Shanghai Nova Swift Glance Swift Glance MySQL

Kanyun: 目 录 Monitoring system Nova Nova Compute Compute Worker Aggregator Worker Retrieve usage info API daemon Responds to client request Dashboard Metrics: CPU mem disk network traffic Billing Calculates/stores metrics NoSQL Repo: https://github.com/sinacloud/kanyun

Kanyun 目 录 demo

Dough:Billing 目 录 system deduct Kanyun API (Metering) RDBMS Dashboard Keep track of billing info to charge tenants Flexible customization of payment policies How much/often to charge for resource unit Handles prepaid or pay-as-you-go Coupon Support NoSQL Farmer Check status / Retrieve usage / Create purchases API daemon Subscribe or unsubscribe Query info Repo: https://github.com/sinacloud/dough, you should also consider Celiometer project.

Dough:Billing 目 录 info page

目 录 Dashboard Improvement We did not use Horizon, because: Horizon s UI is not easy to customize Front end and back end is tightly coupled we need much customization, it s hard to keep pace with Horizon. What we do? Decouple the frontend design and backend implementation. Make dashboard a lightweight frontend. Separate user console and admin console.

目 录 Horizon Dashboard

SWS 目 录 v1

SWS 目 录 v2

SWS 目 录 v3 User Dashboard

SWS 目 录 v3 - Monitoring

SWS 目 录 v3 Physical Server Mgt

Content SinaCloud Introduction Challenges to build a OpenStack Public Cloud 1. Network topology 2. Security Enhancement 3. Storage Solution 4. Identity Integration 5. Billing & Monitoring 6. Dashboard Improvement Operate an production OpenStack 7. Platform stack 8. Automated Deployment 9. Continuous Integration 10. Project Management StackLab: A community OpenStack Public Cloud Summary

Platform 目 录 Stack 2U x86 rack Server Ubuntu OpenStack KVM SAS Raid10/5 SSD Raid10/5

Challenges in Deploying Cloud Cloud in essence are big data centers Requirement: Provision large scale physical infrastructures Software deployment Orchestrate all the heterogeneous components

SWS automation toolchain. 目 录 Development 写 上 你 tools 的 文 字 你 的 文 字 Deb Repo Openstack Cluster Puppet Montoring Zabbix Configuration management Build Packages Gitorious Peer Review Gerrit Foreman Services Provision Operation Tools Provides DHCP/TFTP/DNS and puppetca for puppet git review OS provision Dev Bare Metal

SWS 目 录 continuous integration Dev Something failed Wish my code passed Packaging Newbie Hey, test PASS! Peer review PASS! Need change! Old Bird It looks good to me, But need someone approve Good, Approve!

Project 目 录 Management Deploy open-source version Launchpad in-house as project management system.

Content SinaCloud Introduction Challenges to build a OpenStack Public Cloud 1. Network topology 2. Security Enhancement 3. Storage Solution 4. Identity Integration 5. Billing & Monitoring 6. Dashboard Improvement Operate an production OpenStack 7. Platform stack 8. Automated Deployment 9. Continuous Integration 10. Project Management StackLab: A community OpenStack Public Cloud Summary

StackLab.org A Community free OpenStack Public Cloud, more than just a OpenStack sandbox. StackLab is initiated and operated by Sina OpenStack team, as well as tech volunteers from community, while resources sponsored by Sina, Intel. StackLab news report: http://freedomhui.com/22/10/coscl-launches-stacklab/

Why StackLab Not everyone has the opportunity to run a OpenStack public cloud when no resources, no users, no market, but StackLab will change this.

Why StackLab Users StackLab.org StackLab DevOps Team Companies

What does StackLab Look Like? Choose the region before login Or choose the region after login

StackLab Goals A community OpenStack public cloud which benefits users, contributors and sponsors. For OpenStack Users who experience StackLab Understand what exactly OpenStack is and what does it provide Develop application on StackLab or using OpenStack API Build faith on OpenStack, possibly become real adopters and supporter For OpenStack contributors involved in StackLab Testing patches on real production-like environmental, and get feedback from users, thus facilitate development and QA processes Gains experiences through operating StackLab without risk of SLA Better understand the requirement of OpenStack users For StackLab sponsors Build band acknowledgement in OpenStack community Own one StackLab region in their own data center Prior access to free technical support, consultant, of StackLab DevOps team

How to join StackLab For OpenStack Users who want to experience StackLab Really Easy! Goto StackLab.org, register a free account instantly without approvement by admin. For OpenStack contributors to join StackLab DevOps team 1. Persuade your company to become a StackLab sponsor, thus you will have a StackLab region in your own DC, and you are one admin of StackLab. 2. Contact us to join as an individual member. For StackLab sponsors 1. Send a email to openstacklab@gmail.com, expressing your willing to join StackLab 2. Sign a agreement with StackLab DevOps team 3. StackLab team help you build one StackLab region in your own DC. The minimum requirement is 3 servers with access to public network. 4. List your StackLab region in Stacklab.org portal.

How to join StackLab(cont.) StackLab: http://stacklab.org StackLab Discussion Group: https://groups.google.com/group/stacklab stacklab@googlegroups.com StackLab DevOps Team: https://groups.google.com/group/stacklab-devops stacklab-devops@googlegroups.com

Content SinaCloud Introduction Challenges to build a OpenStack Public Cloud 1. Network topology 2. Security Enhancement 3. Storage Solution 4. Identity Integration 5. Billing & Monitoring 6. Dashboard Improvement Operate an production OpenStack 7. Platform stack 8. Automated Deployment 9. Continuous Integration 10. Project Management StackLab: A community OpenStack Public Cloud Summary

Summary 目 录 platform for building public cloud OpenStack definitely the best open-source cloud Open, open, open, open Fast growing ecosystem around OpenStack No vendor lock-in Etc. OpenStack Public cloud needs much more customization and development to differentiate. Require strong technical skills and involvement in community.

目 录 Thank you, OpenStack Community and Foundation.

目 录 Q & A freedomhui@gmail.com Freedomhui.com