T utorial Vasinee Siripoonya Kasidit Chanchio Vasabilab C onduct Virtualization and Cloud Computing Promote OpenStack in Thailand Our Current Projects ID: 364501
Download Presentation The PPT/PDF document "OpenStack" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
OpenStackTutorial
Vasinee SiripoonyaKasidit ChanchioSlide2
VasabilabConduct Virtualization and Cloud Computing Promote OpenStack in Thailand
Our Current Projects (http://vasabilab.cs.tu.ac.th)Slide3
OutlineIntroduction to Cloud ComputingOpenStack OverviewOpenStack DemoSlide4
Cloud ComputingCloud Computing ‘s characteristics:Scale with increasing demandAccessible anytime
Have Cloud operating system to manage resources and hide details from usersPay Per UsesSlide5
1. ScalabilityProcessing resources for 1Slide6
Processing resources for an organizationSlide7
2. Accessible AnytimeTimeRequired ResourcesSlide8
Required
Resources
TimeSlide9
3. Cloud Operating Systems
Cloud OSSlide10
4.
Pay Per Uses
Jan
Feb
Mar
Apr
May
Jun
Required
Resources
TimeSlide11
Jan
FebMar
Apr
May
Jun
Required
Resources
TimeSlide12
Type of Services: Software
SaaSSlide13
PaaS
Type of Services: PlatformSlide14
IaaS
Type of Services: InfrastructureSlide15
Cloud Layers
IaaS
PaaS
SaaSSlide16
Service Space
Public Cloud Use on Internet
Pay per uses
Share resources with everyone
Private Cloud
Use within org
Org pays
Share resources within org
Hybrid Cloud
Higher
demands
Lower
demandsSlide17Slide18
OpenStack OverviewCloud OS developed by Rackspace and NASAInfrastructure as a ServiceSupport Private Cloud and
Public CloudOpen Source (Apache 2.0 license)OpenStack FoundationPopular and widely supportedSlide19
What OpenStack provide?Slide20
1. manage virtual machinesSlide21
2. manage virtual networksSlide22
3. manage virtual storagesSlide23
4. Multi-tenentsSlide24
Hardware/Storage/Network Virtualization/OS
Cloud OSUser IT Infrastructure
OpenStack
ปฏิบัติการอยู่ใน
Layer
ไหน
Slide25
OpenStack Components
DASHBOARD
KEYSTONESlide26
OpenStack Dashboard (Horizon) : Web-based User interfaceOpenStack Identity Service (Keystone) : Authentication and authorizationSlide27
NOVA
QUANTUM
GLANCE
OpenStack
Components Slide28
OpenStack Compute (Nova): create and manage VMsOpenStack Image Service (Glance): manage VM images and snapshots
OpenStack Network (Quantum): manage virtual networkSlide29
SWIFT
CINDER
SCIENCE
CLOUD
OpenStack
Components Slide30
OpenStack Object Storage (Swift): manage storage Object OpenStack Block Storage (Cinder): manage Virtual Storage Device Slide31
OpenStack
Operation
1.User
Login
2.
Authen
and give
TokenSlide32
3.
Issue
create
VM request
4.
Nova
choose machine to run
VM
OpenStack
Operation
Slide33
5
.
config
network
on compute and
net nodes
6.
Nova copy image
from
glance
to
compute
node
7.
Nova
run
VM
on
compute node
OpenStack
Operation
Slide34
OpenStackArchitectureSlide35
OpenStack Arhitecture
interface with users and make management decisions run VM
and store files
Send/receive packets with outside worldSlide36
Hardware RecommendationsRecommended hardware configurations for a minimum production deployment for the cloud controller nodes
ServerRecommended Hardware
Notes
Cloud Controller
node (runs network, volume, API, scheduler and image services)
Processor: 64-bit x86
Memory: 12 GB RAM
Disk space: 30 GB (SATA or SAS or SSD)
Volume storage: two disks with 2 TB (SATA) for volumes attached to the compute nodes
Network: one 1 GB Network Interface Card (NIC)
32-bit processors will work for the cloud controller node.
A quad core server with 12 GB RAM would be more than sufficient for a cloud controller node.
Two NICS are recommended but not required.
http://docs.openstack.org/Slide37
Hardware RecommendationsRecommended hardware configurations for a minimum production deployment for the compute nodes
ServerRecommended Hardware
Notes
Compute nodes (runs virtual instances)
Processor: 64-bit x86
Memory: 32 GB RAM
Disk space: 30 GB (SATA)
Network: two 1 GB NICs
Note that you cannot run 64-bit VM instances on a 32-bit compute node. A 64-bit compute node can run either 32- or 64-bit VMs, however.
With 2 GB RAM you can run one m1.small instance on a node or three m1.tiny instances without memory swapping, so 2 GB RAM would be a minimum for a test-environment compute node.
http://docs.openstack.org/Slide38
Compute Node:nova-computeQuantum-pluginScienceCloud
System ArchitectureCloud Controller: nova-computenova-networknova-scheduler
nova-apiKeystone
Dashboardglance
Quantum-agents
Quantum-
plugin
Compute Node:
nova-compute
Quantum-
plugin
Compute Node:
nova-compute
Quantum-
plugin
Compute Node:
nova-compute
Quantum-
plugin
Data Network
Mangmt
Network
External
NetworkSlide39
OpenStack ReleasesAustinOct 21, 2010
BexarFeb 3, 2011CactusApr 15, 2011Diablo
Sep 22, 2011
EssexApr 5, 2012
Folsom
Sep 27, 2012
Nova
Swift
Nova
Swift
Glance
Nova
Swift
Glance
Nova
Swift
Glance
Nova
Swift
Glance
Keystone
Horizon
Nova
Swift
Glance
Keystone
Horizon
Quantum
Cinder
Grizzly
Apr 4, 2013
Nova
Swift
Glance
Keystone
Horizon
Quantum
CinderSlide40
User/Tenant/RoleUser is a login name to OpenStackTenant or Project represents user capability and resource quota Role represent user’s authority over the systemSlide41
OpenStack Network ModelFixed IP is an internal IP address inOpenStackFloating IP is Public IP address for external accesses
Use Cases:Slide42
Use Case: Provider Router with Private NetworksSlide43
Use Case: Per-tenant Routers with Private NetworksSlide44
DEMOSlide45
OverviewDashboard overviewCreate Instanceเข้าใช้งาน instance ทางหน้า consoleใช้ Remote Desktop
เพื่อ transfer fileTerminate InstanceCrate a Cluster Computer2Slide46
Dashboard overviewLog Inhttp://sciencecloud.cs.tu.ac.th
3Slide47
Dashboard overview
❶
❷
❸
4Slide48
Dashboard overviewAccess & Security
MY INSTANCE
Default Security
OUT
IN
5Slide49
MY INSTANCE
Allow RDP
OUT
IN
RDP
MY COMPUTER
RDP
Dashboard overview
Access & Security
6Slide50
Dashboard overviewAccess & Security
ICMPRDPSSH
7Slide51
Dashboard overviewImages & Snapshot
8Slide52
Dashboard overviewInstancesคลิ๊กที่ Instances จะยังไม่มีรายการขึ้นมา เพราะเรายังไม่ได้สร้าง Instance
9Slide53
Create Instanceเลือก
Windowsเลือก medium หรือ large
10Slide54
Create Instanceเลือก
RDP
11Slide55
Create Instanceเลือก
Enterprise
12Slide56
Create Instanceคลิ๊ก Launch แล้วรอให้ Status Active
13Slide57
เข้าใช้งาน instance ทางหน้า consoleMore -> Console
14Slide58
เข้าใช้งาน instance ทางหน้า consoleตรวจสอบว่าสามารถใช้ internet ได้
ตรวจสอบจำนวน RAM, CPU
15Slide59
ใช้ Remote Desktop เพื่อ transfer fileAssociate Floating IP
16Slide60
ใช้ Remote Desktop เพื่อ transfer fileAssociate Floating IP
17Slide61
ใช้ Remote Desktop เพื่อ transfer fileAssociate Floating IP
18Slide62
ใช้ Remote Desktop เพื่อ transfer fileEnable Remote Desktop บน instance
19Slide63
ใช้ Remote Desktop เพื่อ transfer fileเปิด Remote Desktop Connection บนเครื่อง local
20Slide64
ใช้ Remote Desktop เพื่อ transfer fileเปิด Remote Desktop Connection บนเครื่อง local
21Slide65
Terminate Instance
22Slide66
Creating a Cluster Computer on OpenStackSlide67Slide68
Create a local networkSlide69
Launch a head nodeSlide70Slide71Slide72Slide73
Launch compute nodesSlide74Slide75Slide76Slide77Slide78
BACKUPSlide79
สถาปัตยกรรม OpenStack
DASHBOARDKEYSTONESlide80
สถาปัตยกรรม OpenStack
NOVA-APINOVA-SCHEDNOVA-COMPUTESlide81
สถาปัตยกรรม OpenStack
QUANTUM-PLUGINQUANTUM SERVER
QUANTUM-PLUGINQUANTUM-AGENTS