Minimal OpenStack Starting Your OpenStack Journey

Similar documents
OpenStack in 10 minutes with DevStack

Introduction to OpenStack

Build Cloud like Rackspace with OpenStack Ansible

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

Red Hat OpenStack Platform 10 Product Guide

OpenStack Architecture and Pattern Deployment with Heat. OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

DEEP DIVE: OPENSTACK COMPUTE

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Introduction To OpenStack. Haim Ateya Group Manager, EMC

Introduction to Neutron. Network as a Service

Architecture and terminology

BCS EXIN Foundation Certificate in OpenStack Software Syllabus

VMware Integrated OpenStack User Guide. VMware Integrated OpenStack 4.1

OpenStack Mitaka Release Overview

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Introduction to OpenStack Trove

Application Centric Microservices Ken Owens, CTO Cisco Intercloud Services. Redhat Summit 2015

VMware Integrated OpenStack User Guide

OpenStack Magnum Hands-on. By Saulius Alisauskas and Bryan Havenstein

OpenStack End User Guide. SUSE OpenStack Cloud 8

CS-580K/480K Advanced Topics in Cloud Computing. OpenStack

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Red Hat OpenStack Platform 13

CISE Research Infrastructure: Mid-Scale Infrastructure - NSFCloud (CRI: NSFCloud)

NET1821BU THE FUTURE OF NETWORKING AND SECURITY WITH NSX-T Bruce Davie CTO, APJ 2

Red Hat Enterprise Linux OpenStack Platform User Group.

Reimagining OpenStack*

BRKDCT-1253: Introduction to OpenStack Daneyon Hansen, Software Engineer

OpenStack Admin User Guide

Case Study on Enterprise Private Cloud

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

Quick Start Guide to Compute Canada Cloud Service

getting started guide

EXIN Foundation Certificate in OpenStack Software. Version Newton. Sample Exam. Edition

GETTING STARTED WITH OPENSTACK. Kenneth Hui, Rackspace Dan Radez, Red Hat April 27, 2016

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

VMware Integrated OpenStack with Kubernetes Getting Started Guide. VMware Integrated OpenStack 4.0

Human Centric. Innovation. OpenStack = Linux of the Cloud? Ingo Gering, Fujitsu Dirk Müller, SUSE

COMMUNITY-GENERATED ROADMAP

Red Hat OpenStack Platform 10

INSTALLATION RUNBOOK FOR Iron.io + IronWorker

OpenStackFundamentals Workshop

Using the vrealize Orchestrator OpenStack Plug-In 2.0. Modified on 19 SEP 2017 vrealize Orchestrator 7.0

OPENSTACK: THE OPEN CLOUD

Helion OpenStack Carrier Grade 4.0 RELEASE NOTES

HPE Digital Learner OpenStack Content Pack

OpenStack Network Design using Cisco Solutions Shannon McFarland CCIE #5245 Principal

Introduction to OpenStack

HPE Helion OpenStack Carrier Grade 1.1 Release Notes HPE Helion

Pure Storage OpenStack (Liberty) Cinder Driver Best Practices. Simon Dodsley, OpenStack Solutions Architect

Contrail Cloud Platform Architecture

DEPLOYING NFV: BEST PRACTICES

IBM Cloud Orchestrator Version User's Guide IBM

Red Hat OpenStack Platform 12

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Dell EMC Ready Bundle for Red Hat OpenStack Platform. PowerEdge FX Architecture Guide Version

Dell EMC Ready Bundle for Red Hat OpenStack Platform. Dell EMC PowerEdge R-Series Architecture Guide Version

SUSE OpenStack Cloud

OpenStack Icehouse on IPv6

Contrail Cloud Platform Architecture

OpenStack Command-Line Interface Reference

An Introduction to Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Field Product Manager, Red Hat

EMC STORAGE SOLUTIONS WITH MIRANTIS OPENSTACK

OpenStack Havana All-in-One lab on VMware Workstation

The ScaleIO plugin for Fuel Documentation

Quantum, network services for Openstack. Salvatore Orlando Openstack Quantum core developer

OpenContrail Overview Architecture & Demo

Intel, OpenStack, & Trust in the Open Cloud. Intel Introduction

Deploy Mediawiki using Fiware Lab facilities

Building a Video Optimized Private Cloud Platform on Cisco Infrastructure Rohit Agarwalla, Technical

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

Best Practice Deployment of F5 App Services in Private Clouds. Henry Tam, Senior Product Marketing Manager John Gruber, Sr. PM Solutions Architect

POWERED BY OPENSTACK. Powered by OpenStack. Globo.Tech GloboTech Communications

OpenStack Networking Services and Orchestration 2015 BROCADE COMMUNICATIONS SYSTEMS, INC. COMPANY PROPRIETARY INFORMATION

OPENSTACK PRIVATE CLOUD WITH GITHUB

OTC API Technical White Paper. Issue 2.0. Date

OpenStack. Architecture and Operation. OpenStack Tutorial Day 2. Kasidit Chanchio Vasabilab, Thammasat University

OpenStack and OpenDaylight, the Evolving Relationship in Cloud Networking Charles Eckel, Open Source Developer Evangelist

Deployment Guide for Nuage Networks VSP

VMware Integrated OpenStack Installation and Configuration Guide

Deployment Guide for Nuage Networks VSP

Bare-metal as a service

VMware Integrated OpenStack Quick Start Guide

Red Hat OpenStack Platform 12

MarkLogic Server. MarkLogic Server on Microsoft Azure Guide. MarkLogic 9 January, 2018

CONTAINERS AND MICROSERVICES WITH CONTRAIL

Red Hat OpenStack Platform 13

Dynamic Resource Allocation and Management Using OpenStack

Baremetal with Apache CloudStack

HP Helion OpenStack Carrier Grade 1.1: Release Notes

Red Hat OpenStack Platform 9 Architecture Guide

Deployment Guide. SUSE OpenStack Cloud 7

Red Hat OpenStack Platform 11

INSTALLATION RUNBOOK FOR. VNF (virtual firewall) 15.1X49-D30.3. Liberty. Application Type: vsrx Version: MOS Version: 8.0. OpenStack Version:

Anand Bhadouria Chief Cloud Technologist. December 10, 2014

File system, 199 file trove-guestagent.conf, 40 flavor-create command, 108 flavor-related APIs list, 280 show details, 281 Flavors, 107

Transcription:

Minimal OpenStack Starting Your OpenStack Journey Sean Dague / Aug 19th, 2015 Twitter: @sdague Blog: dague.net

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

Things you probably don't need in your basement Hadoop as a Service SDN Integration DNS manager Policy Enforcement Object storage layer Orchestration Layer Chargeback Kubernetes deployer Integration with Enterprise Storage But, you can layer them in later once you have a Minimal OpenStack

My First OpenStack 1 Intel/AMD CPU 8 GB Ram 250+ GB Disk 1 Gbs Network Read OpenStack Install Guide Follow sections 2, 3, 4, 5 and 6.2 for your favorite distro For multiple servings follow sections 5 and 6.2 again Makes 1 compute cloud. Good for long running or ephermeral VMs. Variations: * Increase RAM for more guests 2 hrs 4

2 3 hours process Read Carefully! "Create Exclusive Slice"

Caveat on Networking Nova Network Neutron Original Networking New Network Stack Easy to set up More network centric API Limited API Allows Tenant Self Service Networking Long Term Direction for OpenStack My Current Recommendation (based on Kilo documentation): Start with Nova Network to get comfortable Rebuild with Neutron later if your intent is to expand substantially Liberty documentation should make Neutron base easier to get started with

Nova Network Multihost messages back and forth to prevent collisions 10.64.0.0/24 dnsmasq.1 Router.2 dnsmasq.6.5 Controller + Worker Linux Bridge.2.4 Worker Linux Bridge.7

Cheating and Sharing an L2 messages back and forth to prevent collisions 10.64.0.0/24 10.64.0.128/25 dnsmasq.1 Router.129/25.130 dnsmasq.131.129/25.132 Controller + Worker Worker Linux Bridge Linux Bridge.50/24.51/24 Through the magic of Linux Networking.133

Networking at Home

A 2 node basement cloud Keystone Glance /disk mysql Controller + Worker Nova rabbitmq Nova /disk Worker Only

Compute Flow Base Image Flavor First Boot Built from disk on first boot. Exists until destroy. Persistent Disk clout-init: typically shipped in cloud images customizes on first boot Config Drive Ephemeral Disk Like "T-Shirt Sizes" Each defines CPU, Mem, Disk, and other attrs of final VM Freshly created on every boot. Common Actions: create/delete start/stop resize snapshot locking Metadata Server

OpenStack Client Unified openstack cli Replaces most of nova/keystone/glance cli usage Far more consistent in experience Installable via apt/yum/pip Put it on your laptop Access any OpenStack via setting env variables ribos:~> more demo-openrc.sh export OS_PROJECT_DOMAIN_ID=default export OS_USER_DOMAIN_ID=default export OS_PROJECT_NAME=demo export OS_TENANT_NAME=demo export OS_USERNAME=demo export OS_PASSWORD=0penstack export OS_AUTH_URL=http://10.42.0.51:5000/v3 export OS_REGION_NAME=RegionOne

Your first OpenStack > source admin-openrc.sh # credentials > openstack image create --copy-from \ https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img \ --public trusty # image available to all users > > > # source demo-openrc.sh # drop back to normal user openstack security group rule create --proto icmp --src-ip 0.0.0.0/0 --dst-port -1 default openstack security group rule create --proto tcp --src-ip 0.0.0.0/0 --dst-port 22 default sshable security group out of the box > openstack keypair create public-key.ssh/id_rsa.pub my_sshkey # add a keypair so you can ssh to servers > openstack server create --flavor m1.medium --image trusty --keypair my_sshkey \ server1 --wait # boot your first server, wait until done > ssh ubuntu@{ip} # profit!

Getting an Image OpenStack Client User + Project + Password Keystone Token POST /images Token Glance HTTP Pull

Your first OpenStack > source admin-openrc.sh # credentials > openstack image create --copy-from \ https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img \ --public trusty # image available to all users > > > # source demo-openrc.sh # drop back to normal user openstack security group rule create --proto icmp --src-ip 0.0.0.0/0 --dst-port -1 default openstack security group rule create --proto tcp --src-ip 0.0.0.0/0 --dst-port 22 default sshable security group out of the box > openstack keypair create public-key.ssh/id_rsa.pub my_sshkey # add a keypair so you can ssh to servers > openstack server create --flavor m1.medium --image trusty --keypair my_sshkey \ server1 --wait # boot your first server, wait until done > ssh ubuntu@{ip} # profit!

Security Groups 10.64.0.0/24 dnsmasq.2.6.5 Default host level firewall preventing all inbound.1 Router Controller + Worker Linux Bridge

Your first OpenStack > source admin-openrc.sh # credentials > openstack image create --copy-from \ https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img \ --public trusty # image available to all users > > > # source demo-openrc.sh # drop back to normal user openstack security group rule create --proto icmp --src-ip 0.0.0.0/0 --dst-port -1 default openstack security group rule create --proto tcp --src-ip 0.0.0.0/0 --dst-port 22 default sshable security group out of the box > openstack keypair create public-key.ssh/id_rsa.pub my_sshkey # add a keypair so you can ssh to servers > openstack server create --flavor m1.medium --image trusty --keypair my_sshkey \ server1 --wait # boot your first server, wait until done > ssh ubuntu@{ip} # profit!

Booting a Server OpenStack Client User + Project + Password Keystone Token POST /servers Token Nova API Nova Conductor Nova Sched Glance Nova Compute HTTP Pull your compute! libvirt

User Organization in OpenStack *Project == Tenant Domain 2 Domain 1 Tenant 1 Project 1 10 vcpu 8 GB mem 10 vcpu 8 GB mem Projects: contain quota Project 2 24 GB mem30 vcpu 24 GB mem Roles Users: credentials Domains: you don't need those in your basement

But I don't like the command line! No problem! Setting up Horizon is Section 7 Easy to use Web UI

1

Additional Features Leveling up Horizon Web UI for OpenStack Talks to all components over published REST interfaces Swift Object Store REST API for storing / fetching objects of arbitrary size* Built in redundancy model Can be used as a backend for Glance, owncloud, other Open Source systems Neutron Advanced Networking Tenant self service networks API and concepts model networking concepts Ports Subnets Routers Advanced network services such as: Load Balancing VPN Network Firewall Plugins for Linux Bridge and OVS and many SDNs Cinder Persistent Block Storage Ceilometer Usage and Metric Collection Ironic Additional block devices which survive longer than VMs Typical use for Database backends Adds bare metal support to Nova Designate DNS manager, reacts to Nova / Neutron events

A selection of additional services Heat RabbitMQ as a service on top of OpenStack Zaqar Simple Queue Service And more coming every day! Shared filesystem management Barbican Kuberneties / Container management Manila Hadoop as a service on top of OpenStack Cue Magnum MySQL db as a service on top of OpenStack Sahara Orchestrates "stack" of OpenStack resources Trove Key store management Murano Application catalog for easy to deploy OpenStack "apps"

Thanks! Layer 4: Consumption Services Heat Trove Sahara Orchestration Database Hadoop Questions? Zaqar Queues Layer 3: Optional Enhancements Ceilometer Horizon Barbican Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Network Services Storage Services Cinder Swift Manila Block Object Filesystems Neutron Designate Ironic Magnum Networking DNS Bare Metal Containers Layer 1: Base Compute Infrastructure Nova Glance Keystone Compute Image Identity Compute Services http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/