Click here to load reader

Openstack trystack

  • View
    305

  • Download
    5

Embed Size (px)

Text of Openstack trystack

  • LTKA Labs

    OpenStack BasicsEueung Mulyana

    http://eueung.github.io/ET3010/openstackET-3010 | Attribution-ShareAlike CC BY-SA

    1 / 55

    https://github.com/eueunghttp://eueung.github.io/ET3010/openstackhttps://creativecommons.org/licenses/by-sa/4.0/

  • Outline

    OpenStack - Short Introduction

    Try OpenStack - TryStack

    DevStack

    2 / 55

  • OpenStack - Short Intro

    3 / 55

  • 4 / 55

    OpenStackOpenStack is a cloud operatingsystem that controls large pools ofcompute, storage, and networkingresources throughout a datacenter,all managed through the OpenStackAPI or via a dashboard that givesadministrators control whileempowering their users toprovision resources through a webinterface.

    OpenStack is mainly deployed as anIaaS (Infrastructure as a Service).But it also evolves ... e.g. to thisdirection

    https://www.openstack.org/summit/openstack-summit-hong-kong-2013/session-videos/presentation/openstack-iaas-and-the-future-of-application-aware-infrastructure

  • 5 / 55

    OpenStackProjects & Components

    OpenStack clouds are powered byvarious OpenStack projects e.g.:

    Nova - Provisions andmanages Virtual Machines. Itcan work with hypervisorssuch as VMWare, Hyper-V,KVM etc.Neutron - The virtual networkmanager.Horizon - The user facing GUIdashboard. Implementedusing Django.Cinder - Responsible formanaging block storage.Glance - The VM imageregistry....

  • 6 / 55

    OpenStackThe OpenStack project is a globalcollaboration of developers andcloud computing technologistsproducing the open standard cloudcomputing platform for both publicand private clouds.

    Backed by a vibrant community ofdevelopers and some of the biggestnames in the industry.

    History2010 - NASA and RackSpacelaunches OpenStack2011 - Canonical joins in2012 - Red Hat joins in2013 - NASA opts out, Oraclejumps in2014 - HP signs in

  • Try OpenStack - TryStackTryStack.org

    7 / 55

    http://trystack.org/

  • #1Register & Login

    8 / 55

  • 9 / 55

  • 10 / 55

  • #2Create Network

    11 / 55

  • 12 / 55

  • 13 / 55

  • 14 / 55

  • 15 / 55

  • #3Create Router

    16 / 55

  • 17 / 55

  • 18 / 55

  • 19 / 55

  • 20 / 55

  • 21 / 55

  • #4Create Instance (VM)

    22 / 55

  • 23 / 55

  • 24 / 55

  • 25 / 55

  • 26 / 55

    PuTTYgenPuTTY @ sgtatham

    http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

  • 27 / 55

  • 28 / 55

  • 29 / 55

  • 30 / 55

  • #5Set Floating IP

    31 / 55

  • 32 / 55

  • 33 / 55

  • 34 / 55

  • 35 / 55

  • #6Set Access & Security Rules

    36 / 55

  • 37 / 55

  • 38 / 55

  • 39 / 55

  • 40 / 55

  • 41 / 55

  • 42 / 55

  • 43 / 55

  • Test #1Ping Instance (VM)

    44 / 55

  • $ ping 128.136.179.95

    Pinging 128.136.179.95 with 32 bytes of data:Reply from 128.136.179.95: bytes=32 time=1623ms TTL=49Reply from 128.136.179.95: bytes=32 time=267ms TTL=47Reply from 128.136.179.95: bytes=32 time=299ms TTL=47Reply from 128.136.179.95: bytes=32 time=268ms TTL=47

    45 / 55

    Ping Test

  • Test #2SSH Instance & Local noVNC Console

    46 / 55

  • 47 / 55

  • login as: ubuntuAuthenticating with public key "rsa-key-20160415"Passphrase for key "rsa-key-20160415":Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)...

    [email protected]:~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 14.04.3 LTSRelease: 14.04Codename: [email protected]:~$ uname -aLinux node1 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

    # own [email protected]:~$ sudo [email protected]:~#

    [email protected]:~$ sudo passwd rootEnter new UNIX password:Retype new UNIX password:passwd: password updated [email protected]:~$ sudo passwd -u root # unlock may not be necessary

    # root [email protected]:~$ su -

    48 / 55

    SSH Test

  • 49 / 55

  • 50 / 55

  • Test #3Access HTTP Server

    51 / 55

  • 52 / 55

    [email protected]:~$ python -VPython 2.7.6

    [email protected]:~$ sudo python -m SimpleHTTPServer 80Serving HTTP on 0.0.0.0 port 80 ...118.137.56.43 - - [14/Apr/2016 22:18:17] "GET / HTTP/1.1" 200118.137.56.43 - - [14/Apr/2016 22:18:17] code 404, message File not found118.137.56.43 - - [14/Apr/2016 22:18:17] "GET /favicon.ico HTTP/1.1"

  • Refs

    53 / 55

  • Refs1. OpenStack Open Source Cloud Computing Software2. TryStack: A Free Way To Try OpenStack With Your Apps3. Starting VMs on Trystack.org4. IaaS is OVER, ladies. Time for OpenStack to jump clear5. OpenStack, IaaS and the Future of Application Aware Infrastructure

    54 / 55

    http://www.openstack.org/software/http://trystack.org/https://www.youtube.com/watch?v=z-M5Vt4-HYghttp://www.theregister.co.uk/2015/05/20/iaas_shakeout_openstack_future/https://www.openstack.org/summit/openstack-summit-hong-kong-2013/session-videos/presentation/openstack-iaas-and-the-future-of-application-aware-infrastructure

  • ENDEueung Mulyana

    http://eueung.github.io/ET3010/openstackLTKA Labs | Attribution-ShareAlike CC BY-SA

    55 / 55

    https://github.com/eueunghttp://eueung.github.io/ET3010/openstackhttps://creativecommons.org/licenses/by-sa/4.0/