Upgrade to Pro — share decks privately, control downloads, hide ads and more …

openstack basics

openstack basics

Lab #4 - OpenStack
ET-3010 Connected Services and Cloud Computing
http://eueung.github.io/ET3010/openstack

Eueung Mulyana

April 16, 2016
Tweet

More Decks by Eueung Mulyana

Other Decks in Technology

Transcript

  1. LTKA Labs
    OpenStack Basics
    Eueung Mulyana
    http://eueung.github.io/ET3010/openstack
    ET-3010 | Attribution-ShareAlike CC BY-SA
    1 / 55

    View full-size slide

  2. Outline
    OpenStack - Short Introduction
    Try OpenStack - TryStack
    DevStack
    2 / 55

    View full-size slide

  3. OpenStack - Short Intro
    3 / 55

    View full-size slide

  4. 4 / 55
    OpenStack
    OpenStack is a cloud operating
    system that controls large pools of
    compute, storage, and networking
    resources throughout a datacenter,
    all managed through the OpenStack
    API or via a dashboard that gives
    administrators control while
    empowering their users to
    provision resources through a web
    interface.
    OpenStack is mainly deployed as an
    IaaS (Infrastructure as a Service).
    But it also evolves ... e.g. to this
    direction

    View full-size slide

  5. 5 / 55
    OpenStack
    Projects & Components
    OpenStack clouds are powered by
    various OpenStack projects e.g.:
    Nova - Provisions and
    manages Virtual Machines. It
    can work with hypervisors
    such as VMWare, Hyper-V,
    KVM etc.
    Neutron - The virtual network
    manager.
    Horizon - The user facing GUI
    dashboard. Implemented
    using Django.
    Cinder - Responsible for
    managing block storage.
    Glance - The VM image
    registry.
    ...

    View full-size slide

  6. 6 / 55
    OpenStack
    The OpenStack project is a global
    collaboration of developers and
    cloud computing technologists
    producing the open standard cloud
    computing platform for both public
    and private clouds.
    Backed by a vibrant community of
    developers and some of the biggest
    names in the industry.
    History
    2010 - NASA and RackSpace
    launches OpenStack
    2011 - Canonical joins in
    2012 - Red Hat joins in
    2013 - NASA opts out, Oracle
    jumps in
    2014 - HP signs in

    View full-size slide

  7. Try OpenStack - TryStack
    TryStack.org
    7 / 55

    View full-size slide

  8. #1
    Register & Login
    8 / 55

    View full-size slide

  9. #2
    Create Network
    11 / 55

    View full-size slide

  10. #3
    Create Router
    16 / 55

    View full-size slide

  11. #4
    Create Instance (VM)
    22 / 55

    View full-size slide

  12. 26 / 55
    PuTTYgen
    PuTTY @ sgtatham

    View full-size slide

  13. #5
    Set Floating IP
    31 / 55

    View full-size slide

  14. #6
    Set Access & Security Rules
    36 / 55

    View full-size slide

  15. Test #1
    Ping Instance (VM)
    44 / 55

    View full-size slide

  16. $ p
    i
    n
    g 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5
    P
    i
    n
    g
    i
    n
    g 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5 w
    i
    t
    h 3
    2 b
    y
    t
    e
    s o
    f d
    a
    t
    a
    :
    R
    e
    p
    l
    y f
    r
    o
    m 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5
    : b
    y
    t
    e
    s
    =
    3
    2 t
    i
    m
    e
    =
    1
    6
    2
    3
    m
    s T
    T
    L
    =
    4
    9
    R
    e
    p
    l
    y f
    r
    o
    m 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5
    : b
    y
    t
    e
    s
    =
    3
    2 t
    i
    m
    e
    =
    2
    6
    7
    m
    s T
    T
    L
    =
    4
    7
    R
    e
    p
    l
    y f
    r
    o
    m 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5
    : b
    y
    t
    e
    s
    =
    3
    2 t
    i
    m
    e
    =
    2
    9
    9
    m
    s T
    T
    L
    =
    4
    7
    R
    e
    p
    l
    y f
    r
    o
    m 1
    2
    8
    .
    1
    3
    6
    .
    1
    7
    9
    .
    9
    5
    : b
    y
    t
    e
    s
    =
    3
    2 t
    i
    m
    e
    =
    2
    6
    8
    m
    s T
    T
    L
    =
    4
    7
    45 / 55
    Ping Test

    View full-size slide

  17. Test #2
    SSH Instance & Local noVNC Console
    46 / 55

    View full-size slide

  18. l
    o
    g
    i
    n a
    s
    : u
    b
    u
    n
    t
    u
    A
    u
    t
    h
    e
    n
    t
    i
    c
    a
    t
    i
    n
    g w
    i
    t
    h p
    u
    b
    l
    i
    c k
    e
    y "
    r
    s
    a
    -
    k
    e
    y
    -
    2
    0
    1
    6
    0
    4
    1
    5
    "
    P
    a
    s
    s
    p
    h
    r
    a
    s
    e f
    o
    r k
    e
    y "
    r
    s
    a
    -
    k
    e
    y
    -
    2
    0
    1
    6
    0
    4
    1
    5
    "
    :
    W
    e
    l
    c
    o
    m
    e t
    o U
    b
    u
    n
    t
    u 1
    4
    .
    0
    4
    .
    3 L
    T
    S (
    G
    N
    U
    /
    L
    i
    n
    u
    x 3
    .
    1
    3
    .
    0
    -
    6
    2
    -
    g
    e
    n
    e
    r
    i
    c x
    8
    6
    .
    .
    .
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ l
    s
    b
    _
    r
    e
    l
    e
    a
    s
    e -
    a
    N
    o L
    S
    B m
    o
    d
    u
    l
    e
    s a
    r
    e a
    v
    a
    i
    l
    a
    b
    l
    e
    .
    D
    i
    s
    t
    r
    i
    b
    u
    t
    o
    r I
    D
    : U
    b
    u
    n
    t
    u
    D
    e
    s
    c
    r
    i
    p
    t
    i
    o
    n
    : U
    b
    u
    n
    t
    u 1
    4
    .
    0
    4
    .
    3 L
    T
    S
    R
    e
    l
    e
    a
    s
    e
    : 1
    4
    .
    0
    4
    C
    o
    d
    e
    n
    a
    m
    e
    : t
    r
    u
    s
    t
    y
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ u
    n
    a
    m
    e -
    a
    L
    i
    n
    u
    x n
    o
    d
    e
    1 3
    .
    1
    3
    .
    0
    -
    6
    2
    -
    g
    e
    n
    e
    r
    i
    c #
    1
    0
    2
    -
    U
    b
    u
    n
    t
    u S
    M
    P T
    u
    e A
    u
    g 1
    1 1
    4
    :
    2
    9
    # o
    w
    n p
    a
    s
    s
    w
    o
    r
    d
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ s
    u
    d
    o -
    s
    r
    o
    o
    t
    @
    n
    o
    d
    e
    1
    :
    ~
    #
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ s
    u
    d
    o p
    a
    s
    s
    w
    d r
    o
    o
    t
    E
    n
    t
    e
    r n
    e
    w U
    N
    I
    X p
    a
    s
    s
    w
    o
    r
    d
    :
    R
    e
    t
    y
    p
    e n
    e
    w U
    N
    I
    X p
    a
    s
    s
    w
    o
    r
    d
    :
    p
    a
    s
    s
    w
    d
    : p
    a
    s
    s
    w
    o
    r
    d u
    p
    d
    a
    t
    e
    d s
    u
    c
    c
    e
    s
    s
    f
    u
    l
    l
    y
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ s
    u
    d
    o p
    a
    s
    s
    w
    d -
    u r
    o
    o
    t
    # u
    n
    l
    o
    c
    k m
    a
    y n
    o
    t b
    e n
    e
    c
    e
    s
    s
    a
    r
    y
    # r
    o
    o
    t p
    a
    s
    s
    w
    o
    r
    d
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ s
    u -
    48 / 55
    SSH Test

    View full-size slide

  19. Test #3
    Access HTTP Server
    51 / 55

    View full-size slide

  20. 52 / 55
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ p
    y
    t
    h
    o
    n -
    V
    P
    y
    t
    h
    o
    n 2
    .
    7
    .
    6
    u
    b
    u
    n
    t
    u
    @
    n
    o
    d
    e
    1
    :
    ~
    $ s
    u
    d
    o p
    y
    t
    h
    o
    n -
    m S
    i
    m
    p
    l
    e
    H
    T
    T
    P
    S
    e
    r
    v
    e
    r 8
    0
    S
    e
    r
    v
    i
    n
    g H
    T
    T
    P o
    n 0
    .
    0
    .
    0
    .
    0 p
    o
    r
    t 8
    0 .
    .
    .
    1
    1
    8
    .
    1
    3
    7
    .
    5
    6
    .
    4
    3 - - [
    1
    4
    /
    A
    p
    r
    /
    2
    0
    1
    6 2
    2
    :
    1
    8
    :
    1
    7
    ] "
    G
    E
    T / H
    T
    T
    P
    /
    1
    .
    1
    " 2
    0
    0
    1
    1
    8
    .
    1
    3
    7
    .
    5
    6
    .
    4
    3 - - [
    1
    4
    /
    A
    p
    r
    /
    2
    0
    1
    6 2
    2
    :
    1
    8
    :
    1
    7
    ] c
    o
    d
    e 4
    0
    4
    , m
    e
    s
    s
    a
    g
    e F
    i
    l
    1
    1
    8
    .
    1
    3
    7
    .
    5
    6
    .
    4
    3 - - [
    1
    4
    /
    A
    p
    r
    /
    2
    0
    1
    6 2
    2
    :
    1
    8
    :
    1
    7
    ] "
    G
    E
    T /
    f
    a
    v
    i
    c
    o
    n
    .
    i
    c
    o H
    T
    T

    View full-size slide

  21. Refs
    1. OpenStack Open Source Cloud Computing Software
    2. TryStack: A Free Way To Try OpenStack With Your Apps
    3. Starting VMs on Trystack.org
    4. IaaS is OVER, ladies. Time for OpenStack to jump clear
    5. OpenStack, IaaS and the Future of Application Aware Infrastructure
    54 / 55

    View full-size slide

  22. END
    Eueung Mulyana
    http://eueung.github.io/ET3010/openstack
    LTKA Labs | Attribution-ShareAlike CC BY-SA
    55 / 55

    View full-size slide