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