Openstack trystack

e2m 826 views 55 slides Apr 16, 2016
Slide 1
Slide 1 of 55
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55

About This Presentation

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


Slide Content

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

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

OpenStack - Short Intro
3 / 55

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

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.
...

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

Try OpenStack - TryStack
TryStack.org
7 / 55

#1
Register & Login
8 / 55

9 / 55

10 / 55

#2
Create Network
11 / 55

12 / 55

13 / 55

14 / 55

15 / 55

#3
Create Router
16 / 55

17 / 55

18 / 55

19 / 55

20 / 55

21 / 55

#4
Create Instance (VM)
22 / 55

23 / 55

24 / 55

25 / 55

26 / 55
PuTTYgen
PuTTY @ sgtatham

27 / 55

28 / 55

29 / 55

30 / 55

#5
Set Floating IP
31 / 55

32 / 55

33 / 55

34 / 55

35 / 55

#6
Set Access & Security Rules
36 / 55

37 / 55

38 / 55

39 / 55

40 / 55

41 / 55

42 / 55

43 / 55

Test #1
Ping 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=49
Reply from 128.136.179.95: bytes=32 time=267ms TTL=47
Reply from 128.136.179.95: bytes=32 time=299ms TTL=47
Reply from 128.136.179.95: bytes=32 time=268ms TTL=47
45 / 55
Ping Test

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

47 / 55

login as: ubuntu
Authenticating 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)
...
ubuntu@node1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
ubuntu@node1:~$ uname -a
Linux 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 password
ubuntu@node1:~$ sudo -s
root@node1:~#
ubuntu@node1:~$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ubuntu@node1:~$ sudo passwd -u root
# unlock may not be necessary
# root password
ubuntu@node1:~$ su -
48 / 55
SSH Test

49 / 55

50 / 55

Test #3
Access HTTP Server
51 / 55

52 / 55
ubuntu@node1:~$ python -V
Python 2.7.6
ubuntu@node1:~$ sudo python -m SimpleHTTPServer 80
Serving HTTP on 0.0.0.0 port 80 ...
118.137.56.43 - - [14/Apr/2016 22:18:17] "GET / HTTP/1.1" 200
118.137.56.43 - - [14/Apr/2016 22:18:17] code 404, message File not found
118.137.56.43 - - [14/Apr/2016 22:18:17] "GET /favicon.ico HTTP/1.1"

Refs
53 / 55

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

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