View
1.582
Download
2
Category
Preview:
DESCRIPTION
Citation preview
Your Own Cloud With GlusterFS and OpenStack
FOSSDAY@IIUM 2012
FOSSDAY@IIUM2012 2
WHOAMI
I'm a technical guy by heart, an ICT security by hobby and a Project Manager by profession.
Real Name : Harisfazillah Jamel
Not So Real Name : LinuxMalaysia
Job : PM @ Tuxuri
FOSSDAY@IIUM2012 3
PMO
FOSSDAY@IIUM2012 4
Cloud Project
● Cloud Project is not easy (Done properly)● You have to know what you are doing (On
time)● Need hardware big one (On budget)
FOSSDAY@IIUM2012 5
ITS STILL FUNLearn a lot of things from a single cloud
project● Virtualization● Clustering● Network segmentation● Firewall and security● Network files sharing● Database
FOSSDAY@IIUM2012 6
ITS STILL FUN
Caught playing game in the lab (My BOSS camera)
FOSSDAY@IIUM2012 7
Cloud
FOSSDAY@IIUM2012 8
Cloud?
FOSSDAY@IIUM2012 9
Basic Model
● IaaS (Infrastructure As Service)● PaaS (Platform As Service)● SaaS (Software As Service)
FOSSDAY@IIUM2012 10
IaaS
● Provide all the Infra to install OS● Service are only CPU Core, Memory, Disk Space
and Network bandwidth● Self service
– OS installation and configuration
– Other services needed by your users
– Yes we need personal with LPI certificate
● Example : Amazon EC2 and Google Compute Engine
FOSSDAY@IIUM2012 11
PaaS
● Provide all the need for your software (Computing platform)
● Service include operating system (PaaS), programming language execution environment, database, and web server.
● Self service– Programming (PHP, Python and C)
● Example : Google Apps Engine (Python & Java) and Microsoft Azure (PHP & ASP)
FOSSDAY@IIUM2012 12
SaaS
● Provide all the needed application services (Email, Website, API, Security and Documents sharing)
● We are only the users and the data is still ours● Example : Google Apps and Cloudflare
FOSSDAY@IIUM2012 13
Example : SaaS
● Cloudflare http://www.cloudflare.com/● Service : Contents Distribution Network
(CDN), website security and performance and DNS
FOSSDAY@IIUM2012 14
Example : SaaS
● Google Map API● Service : Provide API to developers to access
Google MAP and satellite image
http://selesa.kkr.gov.my/
&
http://goo.gl/maps/1gfyf
FOSSDAY@IIUM2012 15
Example : SaaS
● Google Map API (Our developers explain)
FOSSDAY@IIUM2012 16
Own Vs Cloud● Own
– Basemap (GeoServer & MapNik)
– Layers (GeoServer & MapNik)
– Database (PostGIS + PostgreSQL)
– Web Map Server (WMS) (Apache + Jboss + Nginx + Varnish)
– Client & Web browser (Qgis & Mozilla Firefox)
● Cloud– Basemap, Layers, Database, WMS (Google Map
API)
– Web browser (Mozilla Firefox)
FOSSDAY@IIUM2012 17
Open Source drive the Cloud
Amazon EC2, Google, Cloudflare & OpenDNS
are using Open Source
FOSSDAY@IIUM2012 18
Example : SaaS
● OpenDNS http://www.opendns.com/● Service : DNS filtering● Protect yourself and children from botnet and
phishing websites.
FOSSDAY@IIUM2012 19
Take 5 (Questions)
FOSSDAY@IIUM2012 20
Make Your Own Cloud
FOSSDAY@IIUM2012 21
Distributed File System
● SaaS with GlusterFS
FOSSDAY@IIUM2012 22
Why GlusterFS?
● Make use of unused disk spaces in Data Center (capable of scaling to several petabytes (actually, 72 brontobytes!)
● Easy setup and use of commodity hardware● Scalability and Elasticity● Simplicity● Open Source and support by Red Hat● Gluster Connector for OpenStack – Underlying
file system.
FOSSDAY@IIUM2012 23
Why GlusterFS?
● No metadata server● Build In Replication● No single point of failure (4 peers 2 x 2)● POSIX Compliance file system● Hardware solution is costly (will cost millions)● Share with NFS, CIFS (Windows sharing) and
Glusters native
FOSSDAY@IIUM2012 24
IaaS
● You own cloud Infrastructure – OpenStack● http://www.openstack.org/
FOSSDAY@IIUM2012 25
Why OpenStack?
● Make use of new under utilize hardware and old hardware.
● Simple to setup (sakit juga kepala) and use of commodity hardware
● Scalability and Elasticity● Open Source and support by major IT companies
(Rackspace)● Management for your Virtualization and Data center
resources (CPU core, Memory, Hard disk space and Network)
FOSSDAY@IIUM2012 26
Why OpenStack?
● Code using Python● Can run on ARM
FOSSDAY@IIUM2012 27
End
Email : haris@tuxuri.com
Website : http://www.tuxuri.com/
Recommended