FOSSDAY@IIUM 2012 Cloud Presentation By LinuxMalaysia
Your Own Cloud With GlusterFS and OpenStack
FOSSDAY@IIUM 2012
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 2
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 4
ITS STILL FUN
Learn a lot of things from a single cloud
project
● Virtualization
● Clustering
● Network segmentation
● Firewall and security
● Network files sharing
● Database
FOSSDAY@IIUM2012 5
Basic Model
● IaaS (Infrastructure As Service)
● PaaS (Platform As Service)
● SaaS (Software As Service)
FOSSDAY@IIUM2012 9
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 10
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 11
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 12
Example : SaaS
● Cloudflare http://www.cloudflare.com/
● Service : Contents Distribution Network
(CDN), website security and performance and
DNS
FOSSDAY@IIUM2012 13
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 14
Example : SaaS
● Google Map API (Our developers explain)
FOSSDAY@IIUM2012 15
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 16
Open Source drive the Cloud
Amazon EC2, Google, Cloudflare & OpenDNS
are using Open Source
FOSSDAY@IIUM2012 17
Example : SaaS
● OpenDNS http://www.opendns.com/
● Service : DNS filtering
● Protect yourself and children from botnet and
phishing websites.
FOSSDAY@IIUM2012 18
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 22
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 23
IaaS
● You own cloud Infrastructure – OpenStack
● http://www.openstack.org/
FOSSDAY@IIUM2012 24
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 25
Why OpenStack?
● Code using Python
● Can run on ARM
FOSSDAY@IIUM2012 26