How To Use Openstack On Your Laptop



Similar documents
CloudCIX Bootcamp. The essential IaaS getting started guide.

Installation Runbook for Avni Software Defined Cloud

Software Defined Networking (SDN) and OpenStack. Christian Koenning

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

Guide to the LBaaS plugin ver for Fuel

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

Release Notes for Fuel and Fuel Web Version 3.0.1

System Administrators, engineers and consultants who will plan and manage OpenStack-based environments.

FortyCloud Installation Guide. Installing FortyCloud Gateways Using AMIs (AWS Billing)

Get Ship Done! Microservices Cloud Development Made Easy Charles Eckel and David Tootill Cisco Systems

Murano User Guide. v0.2. Publication date Abstract. This document is intended for individuals who wish to use Murano Product.

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

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

Shield Pro. Quick Start Guide

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

How To Install Openstack On Ubuntu (Amd64)

Introduction to OpenStack

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

HP SDN VM and Ubuntu Setup

Openstack. Cloud computing with Openstack. Saverio Proto

SUSE Cloud 5 Private Cloud based on OpenStack

Mirantis OpenStack 6. with VMware vcenter and NSX. Mirantis Reference Architecture. US HEADQUARTERS Mountain View, CA

Configuring Devices for Use with Cisco Configuration Professional (CCP) 2.5

KVM, OpenStack, and the Open Cloud

Cloud Computing with Open Source Tool :OpenStack. Dr. Urmila R. Pol Department Of Computer Science, Shivaji University, Kolhapur.

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

Sales Slide Midokura Enterprise MidoNet V1. July 2015 Fujitsu Limited

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

By Reeshu Patel. Getting Started with OpenStack

1. Cloud Data Center Login to ICT Marketplace Portal Dashboard Data center management New data center...

rackspace.com/cloud/private

Altor Virtual Network Security Analyzer v1.0 Installation Guide

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

Installing and Configuring vcloud Connector

ODP REGIONAL NODE DEPLOYMENT QUICK GUIDE FOR TRAININGS

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

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

Using the Content Distribution Manager GUI

Project Documentation

The Total Newbie s Introduction to Heat Orchestration in OpenStack

Penetration Testing LAB Setup Guide

OpenStack Alberto Molina Coballes

OpenStack Awareness Session

Virtual machine W4M- Galaxy: Installation guide

Deployment Guide A10 Networks/Infoblox Joint DNS64 and NAT64 Solution

Using Virtual Machines

Virtzone Cloud Control User Guide

Best Practices: Pass-Through w/bypass (Bridge Mode)

Integration with IBM API Management

How To Deploy Sangoma Sbc Vm At Amazon Cloud Service (Awes) On A Vpc (Virtual Private Cloud) On An Ec2 Instance (Virtual Cloud)

Field Installation Guide

Cloud Computing using

Fuel User Guide. version 8.0

KVM, OpenStack and the Open Cloud SUSECon November 2015

Common Services Platform Collector 2.5 Quick Start Guide

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

The VPNaaS Plugin for Fuel Documentation

SOA Software API Gateway Appliance 7.1.x Administration Guide

How To Use Openstack At Cern

SonicWALL SRA Virtual Appliance Getting Started Guide

Elastic Detector on Amazon Web Services (AWS) User Guide v5

Installation Guide Avi Networks Cloud Application Delivery Platform Integration with Cisco Application Policy Infrastructure

Understand IBM Cloud Manager V4.2 for IBM z Systems

INUVIKA OPEN VIRTUAL DESKTOP FOUNDATION SERVER

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

Are We Done Yet? Testing Your OpenStack Deployment

Set Up the VM-Series Firewall in AWS

Sahara. Release rc2. OpenStack Foundation

OpenStack Introduction. November 4, 2015

System Monitoring and Reporting

Savanna Hadoop on. OpenStack. Savanna Technical Lead

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

Cloud Computing #8 - Datacenter OS. Johan Eker

Building on these core skills, customers can work on advanced concepts, such as:

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Virtual Datacenter or Virtualization in the datacenter. (OpenStack) Larry Rudolph

Offline Scanner Appliance

Backup & Disaster Recovery Appliance User Guide


Getting Started Guide: Deploying Puppet Enterprise in Microsoft Azure

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

Virtual Data Centre. User Guide

Security Gateway for OpenStack

vrealize Operations Management Pack for OpenStack

Wazza s QuickStart 17. Leopard Server - Blogs & Wikis

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

Manila OpenStack File Sharing Service

How To Make A Cloud Work For You

Web Application Firewall

HP Helion CloudSystem 9.0

Integrating ConnectWise Service Desk Ticketing with the Cisco OnPlus Portal

1st Training Session Berlin, May 15th, 2014

VMUnify EC2 Gateway Guide

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

Using VirtualBox ACHOTL1 Virtual Machines

rackspace.com/cloud/private

USER GUIDE: MaaS360 Services

Eucalyptus User Console Guide

Plexxi Control Installation Guide Release 2.1.0

Transcription:

Getting Started with OpenStack Charles Eckel, Cisco DevNet (eckelcu@cisco.com)

Agenda What is OpenStack? Use cases and work loads Demo: Install and operate OpenStack on your laptop Getting help and additional resources 2

What is OpenStack? 3

Overview Cloud computing platform for public/private clouds Abstracts data centers into pools of resources Provides management layer for efficient, automated allocation of resources Empowers operators, admins, users via self service portals Provides APIs to develop cloud-aware applications 4

The OpenStack Community Founded in Sept 2012 Rackspace and NASA Apache 2.0 license Designed and developed in an open collaborative fashion 24,000 developers 500 companies 20 million lines of code Releases every six months Current stable release - Kilo Version 2015.1.1 Released June 30, 2015 1500 developers contributed 150 companies involved 20,000 patch sets 5

http://stackalytics.com/?release=kilo&metric=marks 6

Extensible Software Architecture Applications / Services OpenStack Service APIs, SDK, CLI Compute Service (Nova) Storage Services (Cinder and Swift) Network Service (Neutron) Dashboard (Horizon) Identity (Keystone) Many more Services Infrastructure Plugins Physical and Virtualized Infrastructure 7

OpenStack Projects Compute (Nova) Telemetry (Ceilometer) Key Management (Barbican) Network (Neutron) Orchestration (Heat) DNS (Designate) Object Storage (Swift) Block Storage (Cinder) Dashboard (Horizon) Image (Glance) Database (Trove) Shared File System (Manila) Bare Metal (Ironic) Deployment (Triple O) Data Processing (Sahara) Containers (Magnum) Application Catalog (Murano) Policy (Congress) Identity (Keystone) Messaging (Zaqar). 8

Use Cases and Work Loads 9

OpenStack Use Cases Public cloud AWS style offerings Private cloud General purpose compute Purpose-build for specific application API-managed data center Embedded Application which needs data center orchestration Workload-specific Object storage 10

OpenStack Adoption Drivers Speed Flexibility Cost Programmatic workflows 11

Learning Lab Demo: OpenStack On Your Laptop 12

Install VirtualBox 1. Install package for your platform 2. Install extension pack 13

Create Network Adaptors Host-only adapter Allows the networking to be contained within the laptop and communicate with the host machine itself NAT adapter Allows instances to connect to outside world Host only adapter interface IP from DHCP range 192.168.56.20-192.168.56.100 vboxnet0 192.168.56.1 eth0 External Interface eth1 CentOS Packstack VirtualBox NAT adapter interface IP 10.0.2.15 Laptop 14

Import OVA File Import CentOS 7 Packstack VirtualBox.ova file into VirtualBox File -> Import Appliance menu 15

Associates Networks with OVA File Click on Settings -> Network Select tab for Adapter 1, the Host-only network adapter Make sure Enable Network Adapter box is checked Expand the Advanced tab. Make sure Promiscuous Mode is set to Allow All. Select the tab for Adapter 2, the NAT network adapter Make sure the Enable Network Adapter box is checked 16

Power On Select Start from the VirtualBox menu to power on the CentOS 7appliance Once it boots you can login to the console window with the credentials: Username: admin Password:!cisco123 17

Access Horizon Dashboard From the CentOS 7 Desktop, open Firefox Web Browser from the Applications dropdown menu Within Firefox, access the OpenStack dashboard (a.k.a. Horizon UI) at: http://192.168.56.10/ Username: admin Password:!cisco123 18

Your own OpenStack Cloud There are two users: admin and demo admin should be used principally for administrative purposes, such as resetting network interfaces or loading common systems images demo user (with same password), is configured as a typical user of the system, with access to a shared public network 19

View Your Networks as a User Logout as Admin Login as Demo User Select Network -> Network Topology You should see a public network and a private network with a router providing access between the two 20

Explore and Modify Your Networks A router connects the private network created for the demo user to the shared public network Hover over the router icon to see additional info Note the router has been assigned IP address 10.0.0.1 Click on the private network to see additional info Note it has been assigned the address space 10.0.0.0/24 and its Gateway IP is set to that of the router we just explored (i.e. 10.0.0.1) 21

Access from Laptop The same access illustrated previously from within VirtualBox is also available via your laptop using a browser or terminal application. Open a browser on your laptop, and point it to the Horizon UI at: http://192.168.56.10 Username: demo Password:!cisco123 Running a VPN on your laptop may interfere with the routing necessary to access your local OpenStack environment. If you find this to be the case, power off the VM, restart your laptop, launch VirtualBox, and start the Cent OS 7 VM again 22

Deploy a VM within OpenStack Within Horizon UI, select Compute->Instances, then the Launch Instance button Fill in instance name (e.g. first_vm) Select boot from image Select the cirros image Select the Launch button on the bottom of the popup It may take a minute or two for the VM to start Once complete, the Power State will switch from Spawning to Running 23

Console Into Your VM Once Running, you click on the Instance Name of your new instance to see all the details about it You can select the Console tab to login to your VM The default credentials are generally noted in the VM when it first starts username: cirros password cubswin:) 24

Start another VM from the CLI You can SSH into the VM itself to get access to the local set of CLI tools (and the configuration files and application components.) CLI access is restricted to the admin; however, once with the CLI you can execute OpenStack CLI command as either admin or demo Let s use the CLI to launch a second VM (e.g. cli_vm). To access the CLI (you can do this either from a terminal on your laptop or via the graphical interface of the VM itself): ssh admin@192.168.56.10 # password!cisco123 sudo su - # password!cisco123 source./keystonerc_demo # configures access to CLI as demo nova boot --flavor m1.small --image cirros cli_vm # launch VM 25

Explore on Your Own Credentials stored in / root/keystonerc_admin Configuration for OpenStack components generally found at /etc/< component-name >/< component-name >.conf" (e.g. /etc/nova/ nova.conf) Logs specified by logs_dir (e.g. /var/log/ nova) Happy exploring! 26

Where to go for help and additional resources? 27

DevNet Cisco s developer program https://developer.cisco.com Make the internet a platform for innovation for developers

Open Source Dev Center Your Source for Open Source at Cisco https://developer.cisco.com/opensource Contributions to open source Use in products/solutions Community forums, blogs Developer VMs Developer Events IETF Hackathon Newcomer Training for OpenStack Building Apps on OpenDaylight

OpenStack https://developer.cisco.com/ openstack 30

Learning Labs https:// learninglabs.cisco.com/

Sandbox https:// devnetsandbox. cisco.com

https://communities.cisco.com/community/developer/openstack 33

Questions? 34

Thank you 35