Openstack Trystack Devstack 160416041840 PDF
Openstack Trystack Devstack 160416041840 PDF
Openstack Trystack Devstack 160416041840 PDF
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
3 / 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
4 / 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.
...
5 / 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
6 / 55
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
PuTTYgen
PuTTY @ sgtatham
26 / 55
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
$ping128.136.179.95
Ping Test
Pinging128.136.179.95with32bytesofdata:
Replyfrom128.136.179.95:bytes=32time=1623msTTL=49
Replyfrom128.136.179.95:bytes=32time=267msTTL=47
Replyfrom128.136.179.95:bytes=32time=299msTTL=47
Replyfrom128.136.179.95:bytes=32time=268msTTL=47
45 / 55
Test #2
SSH Instance & Local noVNC Console
46 / 55
47 / 55
loginas:ubuntu
Authenticatingwithpublickey"rsa-key-20160415"
Passphraseforkey"rsa-key-20160415":
WelcometoUbuntu14.04.3LTS(GNU/Linux3.13.0-62-genericx86
...
SSH Test
ubuntu@node1:~$lsb_release-a
NoLSBmodulesareavailable.
DistributorID:Ubuntu
Description: Ubuntu14.04.3LTS
Release:
14.04
Codename:
trusty
ubuntu@node1:~$uname-a
Linuxnode13.13.0-62-generic#102-UbuntuSMPTueAug1114:29
#ownpassword
ubuntu@node1:~$sudo-s
root@node1:~#
ubuntu@node1:~$sudopasswdroot
EnternewUNIXpassword:
RetypenewUNIXpassword:
passwd:passwordupdatedsuccessfully
ubuntu@node1:~$sudopasswd-uroot
#unlockmaynotbenecessary
#rootpassword
ubuntu@node1:~$su-
48 / 55
49 / 55
50 / 55
Test #3
Access HTTP Server
51 / 55
ubuntu@node1:~$python-V
Python2.7.6
ubuntu@node1:~$sudopython-mSimpleHTTPServer80
ServingHTTPon0.0.0.0port80...
118.137.56.43--[14/Apr/201622:18:17]"GET/HTTP/1.1"200
118.137.56.43--[14/Apr/201622:18:17]code404,messageFil
118.137.56.43--[14/Apr/201622:18:17]"GET/favicon.icoHTT
52 / 55
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