Déployer son propre cloud avec OpenStack. GULL 18.11.2014 François Deppierraz francois.deppierraz@nimag.net

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

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

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

HP OpenStack & Automation

Openstack. Cloud computing with Openstack. Saverio Proto

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

Introduction to OpenStack

Comparing Ganeti to other Private Cloud Platforms. Lance Albertson

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

Mirantis

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

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

Automated Configuration of Open Stack Instances at Boot Time

How To Use Openstack On Your Laptop

Ubuntu OpenStack Fundamentals Training

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

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

SUSE Cloud 5 Private Cloud based on OpenStack

Onboarding VMs to Cisco OpenStack Private Cloud

OpenStack Alberto Molina Coballes

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

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

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

Red Hat Enterprise Linux OpenStack Platform Update February 17, 2016

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

Comparing Open Source Private Cloud (IaaS) Platforms

Getting Started with Database As a Service on OpenStack

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

Virtualization & Cloud Computing (2W-VnCC)

SYNNEFO: A COMPLETE CLOUD PLATFORM OVER GOOGLE GANETI WITH OPENSTACK APIs VANGELIS KOUKIS, TECH LEAD, SYNNEFO

CLOUD COMPUTING & SECURITY -A PRACTICAL APPROACH

OpenStack Introduction. November 4, 2015

Understand IBM Cloud Manager V4.2 for IBM z Systems

SUSE OpenStack Cloud 4 Private Cloud Platform based on OpenStack. Gábor Nyers Sales gnyers@suse.com

Corso di Reti di Calcolatori M

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

Planning an OpenStack PoC

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

How OpenStack is implemented at GMO Public Cloud service

Running an OpenStack Cloud for several years and living to tell the tale. Alexandre Maumené Gaëtan Trellu Tokyo Summit, November 2015

KVM, OpenStack and the Open Cloud SUSECon November 2015

Sunshine in a Cloudy World

DataCentred Cloud Compute - Powered By OpenStack

KVM, OpenStack, and the Open Cloud

Cloud Essentials for Architects using OpenStack

Iron Chef: Bare Metal OpenStack

Apache Stratos Building a PaaS using OSGi and Equinox. Paul Fremantle CTO and Co- Founder, WSO2 CommiCer, Apache Stratos

OpenStack Manila Shared File Services for the Cloud

TUT19741 Use SUSE Cloud 5 with Manila to utilize NetApp s enterprise class storage for SAP workloads

Change the Game with HP Helion

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

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

How To Make A Cloud Work For You

HO5604 Deploying MongoDB. A Scalable, Distributed Database with SUSE Cloud. Alejandro Bonilla. Sales Engineer abonilla@suse.com

Building a big IaaS cloud with Apache CloudStack

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

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

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

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

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

Getting Started Hacking on OpenNebula

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

Cloud Computing using

Are We Done Yet? Testing Your OpenStack Deployment

Postgres on OpenStack

Software Defined Networking (SDN) and OpenStack. Christian Koenning

Enterprise PaaS Evaluation Guide

SUSE Cloud. OpenStack End User Guide. February 20, 2015

OpenStack Awareness Session

Getting Started with OpenStack and VMware vsphere TECHNICAL MARKETING DOCUMENTATION V 0.1/DECEMBER 2013

cloud functionality: advantages and Disadvantages

Fast Lane OpenStack Overview Red Hat Enterprise Linux OpenStack Platform

The Total Newbie s Introduction to Heat Orchestration in OpenStack

7 Ways OpenStack Enables Automation & Agility for KVM Environments

FUJITSU Enterprise Store - Introduction

ArcGIS for Server: In the Cloud

Iaas for Private and Public Cloud using Openstack

Scalable Architecture on Amazon AWS Cloud

Is OpenStack the best path forward towards successful Clouds? Cor van der Struijf Senior Cloud Advisor

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

KVM, OpenStack, and the Open Cloud

How To Build A Cloud Stack For A University Project

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

OpenStack Ecosystem and Xen Cloud Platform

Mobile Cloud Computing T Open Source IaaS

IBM Cloud Manager with OpenStack 4.1

HP Helion CloudSystem 9.0

Cloud Models and Platforms

Release Notes for Fuel and Fuel Web Version 3.0.1

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

Transcription:

Déployer son propre cloud avec OpenStack GULL francois.deppierraz@nimag.net

Who Am I? System and Network Engineer Stuck in the Linux world for almost 2 decades Sysadmin who doesn't like to type the same command twice! https://github.com/ctrlaltdel My company provides consulting services 2

Outline Cloud Computing What is OpenStack? How do you use an OpenStack cloud? How do you deploy your very own cloud? 3

Cloud Computing Features On demand, self service Network access Resource pooling, multi-tenancy Elasticity Metered service 4

Cloud Computing Service Models SaaS Software as a Service PaaS Platform as a Service Google App Engine, Heroku, Salesforce IaaS Infrastructure as a Service Gmail, wordpress.com, wiki du GULL ;) Amazon Web Services, Google Compute Engine 5

Source: http://www.dopenstack.com/ 6

What the Cloud is OpenStack? Infrastructure as a Service (IaaS) Platform A clone of Amazon Web Services (AWS) Apache 2.0 License Written mostly in Python Project started around 2010 <buzzword>the Linux of the Cloud</buzzword> 7

Foundation Platinum Members 8

Foundation Gold Members 9

10

Current release 11

OpenStack Contributors Juno release Chart by commits ~19k commits total 6 month timeframe http://stackalytics.com/ 12

Releases 13

The Big Picture 14

OpenStack is like glue Co ute p m APIs Networking Native API AWS EC2 API over HTTP(S) Linux bridge Open vswitch OpenContrail Ryu St or > 10 drivers for proprietary networking solutions Cisco, Brocade, Nicira,... ag e > 10 drivers for proprietary storage solutions 15

OpenStack Components Compute Servers (Nova) Networking (Neutron) Storage Object Storage (Swift) Block Storage (Cinder) Shared Services Dashboard (Horizon) Identity Service (Keystone) Image Service (Glance) Orchestration Service (Heat) Telemetry Service (Ceilometer) Database Service (Trove) Hadoop (Sahara) Baremetal (Ironic) 16

Conceptual Architecture

18

Core * components * The actual definition of what is OpenStack Core is currently a hot debate 19

Components (Essex release) 20

Identity (Keystone) Identity Projects (sometimes called tenants) Users Quota Token Catalog Single Sign-on across OpenStack components Lists components endpoints Policy Autorization 21

Compute (Nova) Provision and manage Virtual Machines Multiple hypervisor support KVM Xen/XenServer VMWare Hyper-V LXC Docker Baremetal (Ironic) Amazon EC2 22

Image (Glance) Manages virtual machine images and snapshots Supports multiple formats QCOW2 Raw ISO VDI (VirtualBox) VHD (Hyper-V) VMDK (VMWare) AMI (Amazon) 23

Networking (Neutron) Virtual layer 2 networks IP address management Floating IP support (NAT) Firewall Security groups FWaaS Virtual routers Load-balancing VPN as a Service Amazon VPC 24

Object Storage (Swift) Objets are replicated between servers Eventual consistency Usage VM images and snapshots (glance) Backups Application files (pictures, music, e-mails, ) Archives Amazon S3 25

Additional Components 26

Block Storage (Cinder) Block level storage (ie. disks) Backends iscsi Ceph GlusterFS Snapshots Amazon EBS

Dashboard (Horizon) Web interface Available to users and operators Django application 28

Orchestration (Heat) Template based resource provisioning AWS Cloud Formation HOT Autoscaling 29

Telemetry (Ceilometer) Collects metering data (CPU, Bandwidth, I/O, ) And stores them (SQL DB, MongoDB, Hbase) Alarming Source : https://julien.danjou.info/blog/2012/openstack-metering-ceilometer 30

Database (Trove) Supports both relational and nosql databases Replication Sharding Backup and restore MySQL, Postgresql, Apache Cassandra, MongoDB, Couchbase, Redis 31

Data Processing (Sahara) Big Data processing Map Reduce Hadoop, Apache Spark Amazon Elastic MapReduce 32

Baremetal (Ironic) PXE provisioning IPMI support Deploy physical servers just like VMs Used by TripleO (Openstack on Openstack) 33

How do you use an OpenStack cloud? http://www.robotsucre.com/wp-content/uploads/2014/03/cat33.jpg 34

From the cloud user point of view Horizon web GUI REST API Software which supports OpenStack APIs Ansible Vagrant Salt... 35

Horizon Demo 36

OK, enough GUI for today! 37

OpenStack CLI Packages python-*client Unified CLI in progress (python-openstackclient) Doesn't yet support Neutron Make use of OS_* environment variables 38

CLI Demo 39

http://xkcd.com/303/ 43

#!/usr/bin/env python import os # Nova client setup from novaclient.v1_1 import client as nova_client nova = nova_client.client(os.environ['os_username'], os.environ['os_password'], os.environ['os_tenant_name'], os.environ['os_auth_url'], service_type='compute') # Display currently running instances print nova.servers.list() # Create a new instance instance = nova.servers.create( name = 'fourth_server', image = '390ebdbe-6473-4166-b3da-4ef753f09eef', flavor = 3, # m1.medium key_name = 'francois', nics = [{'net-id': 'e4e7cc83-c41a-4b76-9b99-804063ef7170'}]) # Wait during instance boot while True: instance = nova.servers.get(instance) if instance.status == 'ACTIVE': break # Display the serial console output print instance.get_console_output() # Get rid of it, it's just a demo after all! instance.delete() 44

OK, I'm convinced! So you do I deploy my own OpenStack Cloud? 45

Example Architecture 46

Deploy your own OpenStack cloud The OpenStack Installation Guide for Ubuntu 14.04 is 162 pages long! For test/dev purposes DevStack is a bunch of well-documented shell scripts For production, use your favorite configuration management tool Puppet (module puppetlabs-openstack is a good start) Chef Ansible Juju Add bunch of commercial tools exists as well 47

Devstack Demo Install a Linux distribution (Ubuntu 14.04, Fedora 20 or CentOS/RHEL 6.5) git clone https://git.openstack.org/openstack-dev/devstack cd devstack vi localrc./stack.sh 48

Devstack Demo 49

Puppet Modules https://wiki.openstack.org/wiki/p uppet-openstack Collaborative project Supported platforms Fedora 18 /19 / 20 RHEL 6.4 / 6.5 / 7 Ubuntu 12.04 (Precise) / 14.04 (Trusty) Debian 7.0 (Wheezy) Puppet 2.7 and greater 50

Puppet Composition Layer There are (too) many Here's the one from Puppet Labs https://github.com/puppetlabs/puppetlabs-openstack Role classes openstack::role::controller openstack::role::network openstack::role::compute 51

Juju Point & Click web interface Uses MaaS Ubuntu's baremetal provisioning tool Handle upgrades as well 52

Takeaways Empower your developers with self-service APIs OpenStack glues together different pieces of infrastructure Hypervisors Networking Storage Automate the cloud installation......or you'll get crazy! 53

Thanks! Q&A francois.deppierraz@nimag.net 54