OpenStack Tutorial. IEEE CloudCom 2010. Bret Piatt Community Stacker Twitter: @bpiatt

Similar documents
OpenStack Introduction. November 4, 2015

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

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

OpenStack PHP Usergroup Berlin, April 2011

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

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

OpenStack Ecosystem and Xen Cloud Platform

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

OpenStack Awareness Session

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

Mirantis

Overview. The OnApp Cloud Platform. Dashboard APPLIANCES. Used Total Used Total. Virtual Servers. Blueprint Servers. Load Balancers.

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

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Boas Betzler. Planet. Globally Distributed IaaS Platform Examples AWS and SoftLayer. November 9, IBM Corporation

Prepared for: How to Become Cloud Backup Provider

OVERVIEW. The complete IaaS platform for service providers

SWIFT. Page:1. Openstack Swift. Object Store Cloud built from the grounds up. David Hadas Swift ATC. HRL 2012 IBM Corporation

Introduction to Openstack, an Open Cloud Computing Platform. Libre Software Meeting

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

OnApp Cloud. The complete platform for cloud service providers. 114 Cores. 286 Cores / 400 Cores

A Complete Open Cloud Storage, Virt, IaaS, PaaS. Dave Neary Open Source and Standards, Red Hat

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

HP OpenStack & Automation

Building a big IaaS cloud with Apache CloudStack

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

SUSE Manager. A Comprehensive Linux Server Management the Linux Way. Name. Title

Moving SNE to the Cloud

Introduction to OpenStack

SolidFire SF3010 All-SSD storage system with Citrix CloudPlatform Reference Architecture

Openstack. Cloud computing with Openstack. Saverio Proto

Comparing Open Source Private Cloud (IaaS) Platforms

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

The OpenStack TM Object Storage system

Open Source Cloud Computing Management with OpenNebula

Mobile Cloud Computing T Open Source IaaS

THE EUCALYPTUS OPEN-SOURCE PRIVATE CLOUD

SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment

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

Clodoaldo Barrera Chief Technical Strategist IBM System Storage. Making a successful transition to Software Defined Storage

SUSE Cloud 5 Private Cloud based on OpenStack

OpenStack Alberto Molina Coballes

Alan Clark. OpenStack. The Foundation for Open Source Cloud

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

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

Iron Chef: Bare Metal OpenStack

IN DETAIL. Smart & Dedicated Servers

cloud functionality: advantages and Disadvantages

2) Xen Hypervisor 3) UEC

Building Clouds with OpenNebula 2.2 and StratusLab

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

Index C, D. Background Intelligent Transfer Service (BITS), 174, 191

KVM, OpenStack, and the Open Cloud

OpenNebula Open Souce Solution for DC Virtualization

KVM, OpenStack, and the Open Cloud

Nebula Cloud Computing Project: Background, Technology, Operations, Challenges, and Status

ArcGIS for Server: In the Cloud

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

Automated Configuration of Open Stack Instances at Boot Time

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

Alfresco Enterprise on AWS: Reference Architecture

OpenNebula Open Souce Solution for DC Virtualization

Cloud Computing for Control Systems CERN Openlab Summer Student Program 9/9/2011 ARSALAAN AHMED SHAIKH

SoftLayer Offerings. What s Inside

Servervirualisierung mit Citrix XenServer

SUSE Cloud Installation: Best Practices Using a SMT, Xen and Ceph Storage Environment

A Comparison of Clouds: Amazon Web Services, Windows Azure, Google Cloud Platform, VMWare and Others (Fall 2012)

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Release Notes for Fuel and Fuel Web Version 3.0.1

The OpenNebula Cloud Platform for Data Center Virtualization

FIA Athens 2014 ~OKEANOS: A LARGE EUROPEAN PUBLIC CLOUD BASED ON SYNNEFO. VANGELIS KOUKIS, TECHNICAL LEAD, ~OKEANOS

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

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

Overview: Building Open Source Cloud Computing Environments

Parallels Server 4 Bare Metal

Corso di Reti di Calcolatori M

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

CloudPlatform (powered by Apache CloudStack) Version 4.2 Administrator's Guide

How To Run A Cloud Server On A Server Farm (Cloud)

Vyatta Network OS for Network Virtualization

Cloud Computing Architecture with OpenNebula HPC Cloud Use Cases

Investigating Private Cloud Storage Deployment using Cumulus, Walrus, and OpenStack/Swift

Fusion Service Schedule Virtual Data Centre ( VDC ) Version FUS-VDC-7.1

Change the Game with HP Helion

T Mobile Cloud Computing Private Cloud & Assignment

Transcription:

OpenStack Tutorial IEEE CloudCom 2010 Bret Piatt Community Stacker Twitter: @bpiatt

Application Platforms Undergoing A Major Shift 70 s 80 s 90 s-2000 s 2010-beyond Mainframe Era Client Server Era Cloud Era 2010 IT budgets aren t getting cut....but CIOs expect their spend to go further. #1 Priority is Virtualization #2 is Cloud Computing [Based on a Gartner Study]

Overview of Rackspace Founded in 1998 Publicly traded on NYSE: RAX 120,000+ customers $628m revenue in 2009 across two major businesses Dedicated Managed Hosting Cloud Infrastructure & Apps (Servers, Files, Sites, Email) Primary focus on customer service ("Fanatical Support") 3,000+ employees 9 datacenters in the US, UK and Hong Kong 65,000+ physical servers

Rackspace Cloud: 3 Products with Solid Traction Compute: Cloud Servers Virtualized, API-accessible servers with root access Windows & Linux (many distros) Sold by the hour (CPU/RAM/HDD) with persistent storage Launched 2009 Based on Slicehost Xen & XenServer HVs Storage: Cloud Files Launched 2008 Object file store v2.0 in May 2010 PaaS: Cloud Sites Launched 2006 Source: Guy Rosen (http://www.jackofallclouds.com) Formally Mosso Code it & Load it:.net, PHP, Python apps autoscaled

Active Ecosystem on Rackspace APIs Open ReST APIs released July 2009 (Creative Commons License) Included in major API bindings: Libcloud, Simple Cloud, jclouds, σ-cloud Supported by key cloud vendors and SaaS services Marketplace: http://tools.rackspacecloud.com

What is OpenStack? Overview of the project

OpenStack: The Mission "To produce the ubiquitous Open Source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable."

OpenStack History 2005 2010 March Rackspace Cloud developed Rackspace Decides to Open Source Cloud Software May NASA Open Sources Nebula Platform June July OpenStack formed b/w Rackspace and NASA Inaugural Design Summit in Austin

OpenStack History 2011 July OpenStack launches with 25+ partners October First Austin code release with 35+ partners November First public Design Summit in San Antonio February Second Bexar code release planned

OpenStack Founding Principles Apache 2.0 license (OSI), open development process Open design process, 2x year public Design Summits Publicly available open source code repository Open community processes documented and transparent Commitment to drive and adopt open standards Modular design for deployment flexibility via APIs

Community with Broad Commercial Support

OpenStack Isn't Everything Consultants Business Process Automation Database Engineers Operating System Technicians Systems Security Professionals Network Experts Servers, Firewalls, Load Balancers Operating Systems Storage Management Tools Virtualization Data Center Networking Power

Software to provision virtual machines on standard hardware at massive scale OpenStack Compute creating open source software to build public and private clouds Software to reliably store billions of objects distributed across standard hardware OpenStack Object Storage

OpenStack Release Schedule Design Summit: April TBA 2011 Cactus: April 15, 2011 Community gathers to plan for next release, likely Fall 2011 Bexar: February 3, 2011 OpenStack Compute ready for enterprise private cloud deployments and mid-size service provider deployments Enhanced documentation Easier to install and deploy OpenStack Compute ready for large service provider scale deployments This is the Rackspace-ready release; need to communicate Rackspace support and plans for deployment

Building an OpenStack Cloud Datacenter, Hardware, and Process

Business Prerequisites

Technical Prerequisites

Cloud Ready Datacenter Requirements

Bootstrapping Your Physical Nodes Bootstrapping the Host Machines

Building an OpenStack Cloud Object Storage

Zettabyte 1,000 Exabytes 1,000,000 Petabytes All of the data on Earth today (150GB of data per person)

Zettabyte 2% OF THE DATA ON EARTH IN 2020

Data Must Be Stored Efficiently If we stored all of the global data as an average enterprise.. ITEM ENTERPRISE AVGERAGE STORAGE COST MONTHLY FIGURES $1.98 PER GIGABYTE WORLD GDP $5.13 TRILLION COST TO STORE A ZETTABYTE $1.98 TRILLION..it would take....38.5% of the World GDP!

Object Storage Summary

Object Storage Key Features ReST-based API Data distributed evenly throughout system Scalable to multiple petabytes, billions of objects Account/Container/Object structure (not file system, no nesting) plus Replication (N copies of accounts, containers, objects) No central database Hardware agnostic: standard hardware, RAID not required

System Components The Ring: Mapping of names to entities (accounts, containers, objects) on disk. Stores data based on zones, devices, partitions, and replicas Weights can be used to balance the distribution of partitions Used by the Proxy Server for many background processes Proxy Server: Request routing, exposes the public API Replication: Keep the system consistent, handle failures Updaters: Process failed or queued updates Auditors: Verify integrity of objects, containers, and accounts

System Components (Cont.) Account Server: Handles listing of containers, stores as SQLite DB Container Server: Handles listing of objects, stores as SQLite DB Object Server: Blob storage server, metadata kept in xattrs, data in binary format Recommended to run on XFS Object location based on hash of name & timestamp

Software Dependencies Object Storage should work on most Linux platforms with the following software (main build target for Austin release is Ubuntu 10.04): Python 2.6 rsync 3.0 And the following python libraries: Eventlet 0.9.8 WebOb 0.9.8 Setuptools Simplejson Xattr Nose Sphinx

Evolution of Object Storage Architecture Version 1: Central DB (Rackspace Cloud Files 2008) Version 2: Fully Distributed (OpenStack Object Storage 2010)

Example Small Scale Deployment

Public Internet Example OpenStack Object Storage Hardware Load Balancers (SW) 5 Zones 2 Proxies per 25 Storage Nodes 10 GigE to Proxies 1 GigE to Storage Nodes 24 x 2TB Drives per Storage Node Example Large Scale Deployment -- Many Configs Possible

Building an OpenStack Cloud Compute

OpenStack Compute Key Features ReST-based API Asynchronous eventually consistent communication Horizontally and massively scalable Hypervisor agnostic: support for Xen,XenServer, Hyper-V, KVM, UML and ESX is coming Hardware agnostic: standard hardware, RAID not required

User Manager Cloud Controller: Global state of system, talks to LDAP, OpenStack Object Storage, and node/storage workers through a queue ATAoE / iscsi API: Receives HTTP requests, converts commands to/from API format, and sends requests to cloud controller Host Machines: workers that spawn instances OpenStack Compute Glance: HTTP + OpenStack Object Storage for server images

System Components API Server: Interface module for command and control requests Designed to be modular to support multiple APIs In current release: OpenStack API, EC2 Compatibility Module Approved blueprint: Open Cloud Computing Interface (OCCI) Message Queue: Broker to handle interactions between services Currently based on RabbitMQ Metadata Storage: ORM Layer using SQLAlchemy for datastore abstraction In current release: MySQL In development: PostgreSQL User Manager: Directory service to store user identities In current release: OpenLDAP, FakeLDAP (with Redis) Scheduler: Determines the placement of a new resource requested via the API Modular architecture to allow for optimization Base schedulers included in Austin: Round-robin, Least busy

System Components (Cont.) Compute Worker: Manage compute hosts through commands received on the Message Queue via the API Base features: Run, Terminate, Reboot, Attach/Detach Volume, Get Console Output Network Controller: Manage networking resources on compute hosts through commands received on the Message Queue via the API Support for multiple network models Fixed (Static) IP addresses VLAN zones with NAT Volume Worker: Interact with iscsi Targets to manage volumes Base features: Create, Delete, Establish Image Store: Manage and deploy VM images to host machines

Hypervisor Independence Cloud applications should be designed and packaged abstracted from the hypervisor, deploy and test for best fit for your workload Manage application definition and workload, not the machine image Configuration management Abstract virtual machine definition Open Virtualization Format

Network Models Private VMs on Project VLANs or Public VMs on flat networks

Network Details Security Group: Named collection of network access rules Access rules specify which incoming network traffic should be delivered to all VM instances in the group Users can modify rules for a group at any time New rules are automatically enforced for all running instances and instances launched from then on Cloudpipe: Per project VPN tunnel to connect users to the cloud Certificate Authority: Used for Project VPNs and to decrypt bundled images Cloudpipe Image: Based on Linux with OpenVPN

Public Network Server Groups Dual Quad Core RAID 10 Drives 1 GigE Public 1 GigE Private 1 GigE Management Management Example OpenStack Compute Hardware (other models possible) Private Network (intra data center)

Example innovation: Simcloud

Thank You! Bret Piatt Email: bret@openstack.org Twitter: @bpiatt Questions & Answers

Backup Content Additional Information

OpenStack Documentation Project Technical Documentation Overall: http://wiki.openstack.org Object Storage (Swift): http://swift.openstack.org Compute (Nova): http://nova.openstack.org Project General Documentation Home Page: http://openstack.org Announcements: http://openstack.org/blog

OpenStack: Core Open Principles Open Source: All code will be released under the Apache License allowing the community to use it freely. Open Design: Every 6 months the development community will hold a design summit to gather requirements and write specifications for the upcoming release. Open Development: We will maintain a publicly available source code repository through the entire development process. This will be hosted on Launchpad, the same community used by 100s of projects including the Ubuntu Linux distribution. Open Community: Our core goal is to produce a healthy, vibrant development and user community. Most decisions will be made using a lazy consensus model. All processes will be documented, open and transparent.

Backup Content Bootstrapping a cloud

Hardware Selection OpenStack is designed to run on industry standard hardware, with flexible configurations Compute x86 Server (Hardware Virt. recommended) Storage flexible (Local, SAN, NAS) Object Storage x86 Server (other architectures possible) Do not deploy with RAID (can use controller for cache)

Server Vendor Support Find out how much configuration your hardware vendor can provide Basic needs BIOS settings Network boot IP on IPMI card Advanced support Host OS installation Still get management network IP via DHCP

Network Device Configuration Build in a manner that requires minimal change Lay out addressing in a block based model Go to L3 from the top of rack uplink Keep configuration simple More bandwidth is better than advanced QoS Let the compute host machines create logical zones

Host Networking DHCP for the management network Infinite leases Base DNS on IP Ex. nh-pod-a-10-241-61-8.example.org OpenStack Compute handles IP provisioning for all guest instances Cloud deployment tools only need to setup management IPs

Host OS Seed Installation BOOTP / TFTP Simple to configure Security must be handled outside of TFTP Host node must be able to reach management system via broadcast request Top of rack router can be configured to forward GPXE Not all hardware supports Better concurrent install capability than TFTP

Host OS Installation Building a configuration based on a scripted installation is better than a monolithic golden image Preseed for Ubuntu / Debian hosts Kickstart for Fedora / CentOS / RHEL hosts YaST for SUSE / SLES hosts Remote bootstrapping for XenServer / Hyper-V hosts Scripted configuration allows for incremental updates with less effort

Post OS Configuration Utilize a configuration management solution Puppet / Chef / Cfengine Create roles to scale out controller infrastructure Queue Database Controller Automate registration of new host machines Base the configuration to run on management net IP

Backup Content Compute

Component Architecture Detail