SlideShare una empresa de Scribd logo
1 de 32
Build public/private
cloud using Openstack
by Framgia Server Lab
About
FramgiaServerLab
Members(10):
Le Dinh Vu
Tran Nam Son
To Duc Thien
Bui Trung Kien
Nguyen Dinh Huan
Nguyen Van Dung
Nguyen Quang Dung
Nguyen Van Vuong
Nguyen Cuong
Tran Trong Hien (left)
Our mission:
Build and manage Linux servers. Servers can be
traditional ones or using cloud ones from some cloud
services such as Amazon AWS.
Main objectives:
- Build servers (app, db or any kind of servers) ready for
deploy
- Research methods to deploy source code to servers
- Monitor servers
- Auto scaling
Session1:
Build public or private cloud using Openstack
● Difficulty: Hard
● Applicable: Yes (but not trivial)
● Target environment: inside company to
support general developments (e.g. use as
staging servers, QA test environment)
• Introduction to cloud computing
• What is Openstack
• Why Openstack
• Who use Openstack
• Use cases
• Openstack in real world
• What we have done so far
• Openstack community in Vietnam
• How to setup/test Openstack
• Demo
• Difficulties during research
• Conclusion
• Q&A
Agenda
• Cloud computing
• Public/Private/Hybrid cloud
Introduction to cloud computing
• Cloud computing
Introduction
• Public/Private/Hybrid cloud
Introduction
The OpenStack Open Source Cloud
Mission:
To produce the ubiquitous Open
Source Cloud Computing platform
that will meet the needs of public
and private clouds regardless of
size, by being simple to implement
and massively scalable.
What is Openstack
• Written in: Python2
• License: Apache 2.0
• Founded by: NASA &
Rackspace on 2010
• Compatible with
Amazon EC2 & S3
• Supporting: VMware,
Xen, Hyper-V...
What is Openstack
• Control and Flexibility
• Scalability
• Open Industry Standard
• Openness and Compatibility
• Flexible Technology
Open
source/design/development/community
Why Openstack
Who use Openstack
Public clouds
Who use Openstack
Private clouds
Who use Openstack
Research
Who use Openstack
Openstack members & contributions
• Service providers offering an IaaS compute platform or services higher
up the stack (e.g. Rackspace)
• IT departments acting as cloud service providers for business units and
project teams (any company)
• Processing big data with tools like Hadoop (NSA)
• Scaling compute up and down to meet demand for web resources and
applications (service companies)
• High-performance computing (HPC) environments processing diverse
and intensive workloads (CERN)
Use cases
Build QA test environment
Use cases (cont.)
Build QA test environment
Use cases (cont.)
Build QA test environment
Use cases (cont.)
Build QA test
environment
(multiple projects)
Use cases (cont.)
Build QA test environment::Results
• To provide isolation, each test environment runs in a separate tenant, or project. For
example, there’s one project for the test team, one for the consultant team, and so on.
• Heat templates enable rapid creation of new environments. The test team can create new
Heat templates on its own.
• Self-service is provided with OpenStack CLI/Horizon and Heat templates.
• Total cost of the OpenStack solution is lower, because the company doesn’t have to pay for
licenses, and can use commodity software and hardware.
• The test team owns their test environments. They can create and delete environments
anytime they need to.
• OpenStack lets IT set up quotas for each project. OpenStack’s Ceilometer component can be
Use cases (cont.)
CERN (European Organization for
Nuclear)
Openstack in real world
Rackspace hosting
Option 1: Use public clouds (e.g.
tryStack.org for free)
Option 2: Using DevStack.org (mostly for
Openstack development env)
Option 3: Install by yourself
How to test/setup Openstack
Option 3: Install by yourself
• Using Chef + Vagrant (with devstack or
multi-nodes)
• Install directly (using official guides)
• Using juju charms (ubuntu cloud service)
(ubuntu only) (https://jujucharms.com/sidebar/search/?text=openstack)
How to test/setup Openstack
Option 3:
Install by
yourself
• Using Chef +
Vagrant with
multi-nodes
(try
vagrantcloud.
com!)
How to test/setup Openstack
Openstack community in
Vietnam
• Setup Openstack (without Heat)
• Manage Openstack services using Ruby
gem “openstack” (a.k.a ruby-openstack)
• Build sample Rails project that using
Openstack Swift to store uploaded
photos.
What we have done so far
• Setup Openstack (without Heat)
Intel Core i5-2320 @ 3.0GHz
RAM: 8G
HDD: 500GB
OS: CentOS
Virtualization: QEMU
URL: http://192.168.1.107
login: framgia/framgia
What we have done so far
Sample Rails app: Framgia Picture Show
Goals: Upload and store photos to
Openstack Swift
• Rails 4
• Carrierwave
• Openstack Swift (via Fog gem)
Demo
- Laptop core i5 is too slow to run (but
desktop with the same core is OK :( )
- Understanding the whole stack takes
time!
Difficulties during research
• Implement Openstack frastructure is not
trivial mission
• But it would be worthy in the future
when we build large scale web apps
• So we hope to use at step by step, start
from development environment
• Because future of IT would be in the...
cloud
Conclusion
Ref:
• Openstack homepage http://openstack.org
• Building QA test environments with OpenStack http://www.mirantis.com/blog/building-qa-
test-environments-openstack/
• Openstack Vietnam Community https://www.facebook.com/VietOpenStack
• Openstack at NSA (video session) http://goo.gl/oIjNRW
• Openstack in Vietnam (slide) http://goo.gl/IdK4I4
Q & A
Thank you for listening :-)

Más contenido relacionado

La actualidad más candente

The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittalbuildacloud
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech dayArthur Berezin
 
Openstack In Real Life
Openstack In Real LifeOpenstack In Real Life
Openstack In Real LifePaul Guth
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackMicrosoft
 
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
OpenStack Explained: Learn OpenStack architecture and the secret of a success...OpenStack Explained: Learn OpenStack architecture and the secret of a success...
OpenStack Explained: Learn OpenStack architecture and the secret of a success...Giuseppe Paterno'
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017Haim Ateya
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)Mirantis
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalleybuildacloud
 
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014Tran Nhan
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparisonbizalgo
 
Introduction to OpenStack Storage
Introduction to OpenStack StorageIntroduction to OpenStack Storage
Introduction to OpenStack StorageNetApp
 
Introduction To OpenStack
Introduction To OpenStackIntroduction To OpenStack
Introduction To OpenStackHaim Ateya
 
Cloud computing and OpenStack
Cloud computing and OpenStackCloud computing and OpenStack
Cloud computing and OpenStackEdgar Magana
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introductionopenstackindia
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DaySebastien Goasguen
 

La actualidad más candente (20)

The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittal
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
Openstack In Real Life
Openstack In Real LifeOpenstack In Real Life
Openstack In Real Life
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: Openstack
 
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
OpenStack Explained: Learn OpenStack architecture and the secret of a success...OpenStack Explained: Learn OpenStack architecture and the secret of a success...
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalley
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
 
CloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community worksCloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community works
 
CloudStack vs Openstack
CloudStack vs OpenstackCloudStack vs Openstack
CloudStack vs Openstack
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
 
Introduction to OpenStack Storage
Introduction to OpenStack StorageIntroduction to OpenStack Storage
Introduction to OpenStack Storage
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
Apache CloudStack from API to UI
Apache CloudStack from API to UIApache CloudStack from API to UI
Apache CloudStack from API to UI
 
Introduction To OpenStack
Introduction To OpenStackIntroduction To OpenStack
Introduction To OpenStack
 
Cloud computing and OpenStack
Cloud computing and OpenStackCloud computing and OpenStack
Cloud computing and OpenStack
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud Day
 

Destacado

How to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackHow to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackLakmal Warusawithana
 
How to Create a Facebook Poll
How to Create a Facebook PollHow to Create a Facebook Poll
How to Create a Facebook PollMSSL
 
Secure PIN Management How to Issue and Change PINs Securely over the Web
Secure PIN Management How to Issue and Change PINs Securely over the WebSecure PIN Management How to Issue and Change PINs Securely over the Web
Secure PIN Management How to Issue and Change PINs Securely over the WebSafeNet
 
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities SAP Portal
 
Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Patrick Nicholson
 
Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Wuzna Haroon
 
Energy Strategy Group_Report 2012 efficienza energetica
Energy Strategy Group_Report 2012 efficienza energeticaEnergy Strategy Group_Report 2012 efficienza energetica
Energy Strategy Group_Report 2012 efficienza energeticaEugenio Bacile di Castiglione
 

Destacado (14)

How to deploy your own private cloud with openstack
How to deploy your own private cloud with openstackHow to deploy your own private cloud with openstack
How to deploy your own private cloud with openstack
 
How to Create a Facebook Poll
How to Create a Facebook PollHow to Create a Facebook Poll
How to Create a Facebook Poll
 
Secure PIN Management How to Issue and Change PINs Securely over the Web
Secure PIN Management How to Issue and Change PINs Securely over the WebSecure PIN Management How to Issue and Change PINs Securely over the Web
Secure PIN Management How to Issue and Change PINs Securely over the Web
 
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
 
Credit cards
Credit cardsCredit cards
Credit cards
 
Context Based Authentication
Context Based AuthenticationContext Based Authentication
Context Based Authentication
 
Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016
 
cathy resume
cathy resumecathy resume
cathy resume
 
Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution
 
Nt1310 project
Nt1310 projectNt1310 project
Nt1310 project
 
Information från Läkemedelsverket #5 2013
Information från Läkemedelsverket #5 2013Information från Läkemedelsverket #5 2013
Information från Läkemedelsverket #5 2013
 
Basics of Coding in Pediatrics Medical Billing
Basics of Coding in Pediatrics Medical BillingBasics of Coding in Pediatrics Medical Billing
Basics of Coding in Pediatrics Medical Billing
 
"15 Business Story Ideas to Jump on Now"
"15 Business Story Ideas to Jump on Now""15 Business Story Ideas to Jump on Now"
"15 Business Story Ideas to Jump on Now"
 
Energy Strategy Group_Report 2012 efficienza energetica
Energy Strategy Group_Report 2012 efficienza energeticaEnergy Strategy Group_Report 2012 efficienza energetica
Energy Strategy Group_Report 2012 efficienza energetica
 

Similar a Build public private cloud using openstack

AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)Amazon Web Services
 
Scaling Django Apps using AWS Elastic Beanstalk
Scaling Django Apps using AWS Elastic BeanstalkScaling Django Apps using AWS Elastic Beanstalk
Scaling Django Apps using AWS Elastic BeanstalkLushen Wu
 
Java script nirvana in netbeans [con5679]
Java script nirvana in netbeans [con5679]Java script nirvana in netbeans [con5679]
Java script nirvana in netbeans [con5679]Ryan Cuprak
 
Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209mffiedler
 
Performance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSPerformance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSMatthias Matook
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansPeter Clapham
 
OpenStack Documentation Projects and Processes
OpenStack Documentation Projects and ProcessesOpenStack Documentation Projects and Processes
OpenStack Documentation Projects and ProcessesAnne Gentle
 
Getting Started with PaaS
Getting Started with PaaSGetting Started with PaaS
Getting Started with PaaSCloudBees
 
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/DevRobert Starmer
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Isaac Chiang
 
Velocity NYC 2016 - Containers @ Netflix
Velocity NYC 2016 - Containers @ NetflixVelocity NYC 2016 - Containers @ Netflix
Velocity NYC 2016 - Containers @ Netflixaspyker
 
Getting Started with Platform-as-a-Service
Getting Started with Platform-as-a-ServiceGetting Started with Platform-as-a-Service
Getting Started with Platform-as-a-ServiceCloudBees
 
OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015Mark Voelker
 
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
Leonid Vasilyev  "Building, deploying and running production code at Dropbox"Leonid Vasilyev  "Building, deploying and running production code at Dropbox"
Leonid Vasilyev "Building, deploying and running production code at Dropbox"IT Event
 
VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMUG IT
 
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016Ben Chou
 

Similar a Build public private cloud using openstack (20)

AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
 
Scaling Django Apps using AWS Elastic Beanstalk
Scaling Django Apps using AWS Elastic BeanstalkScaling Django Apps using AWS Elastic Beanstalk
Scaling Django Apps using AWS Elastic Beanstalk
 
Java script nirvana in netbeans [con5679]
Java script nirvana in netbeans [con5679]Java script nirvana in netbeans [con5679]
Java script nirvana in netbeans [con5679]
 
Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209Testing kubernetes and_open_shift_at_scale_20170209
Testing kubernetes and_open_shift_at_scale_20170209
 
End_to_End_DevOps.pptx
End_to_End_DevOps.pptxEnd_to_End_DevOps.pptx
End_to_End_DevOps.pptx
 
Performance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSPerformance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWS
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
 
Flexible compute
Flexible computeFlexible compute
Flexible compute
 
OpenStack Documentation Projects and Processes
OpenStack Documentation Projects and ProcessesOpenStack Documentation Projects and Processes
OpenStack Documentation Projects and Processes
 
Getting Started with PaaS
Getting Started with PaaSGetting Started with PaaS
Getting Started with PaaS
 
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/DevThe Rise of the Container:  The Dev/Ops Technology That Accelerates Ops/Dev
The Rise of the Container: The Dev/Ops Technology That Accelerates Ops/Dev
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15
 
Velocity NYC 2016 - Containers @ Netflix
Velocity NYC 2016 - Containers @ NetflixVelocity NYC 2016 - Containers @ Netflix
Velocity NYC 2016 - Containers @ Netflix
 
Getting Started with Platform-as-a-Service
Getting Started with Platform-as-a-ServiceGetting Started with Platform-as-a-Service
Getting Started with Platform-as-a-Service
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015
 
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
Leonid Vasilyev  "Building, deploying and running production code at Dropbox"Leonid Vasilyev  "Building, deploying and running production code at Dropbox"
Leonid Vasilyev "Building, deploying and running production code at Dropbox"
 
VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia VMware - Openstack e VMware: la strana coppia
VMware - Openstack e VMware: la strana coppia
 
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016
openQA hands on with openSUSE Leap 42.1 - openSUSE.Asia Summit ID 2016
 
Power of Azure Devops
Power of Azure DevopsPower of Azure Devops
Power of Azure Devops
 

Más de Framgia Vietnam

Functional Programming With Elixir
Functional Programming With ElixirFunctional Programming With Elixir
Functional Programming With ElixirFramgia Vietnam
 
Timeless - Websocket on Rails
Timeless - Websocket on RailsTimeless - Websocket on Rails
Timeless - Websocket on RailsFramgia Vietnam
 
Game Development with Pygame
Game Development with PygameGame Development with Pygame
Game Development with PygameFramgia Vietnam
 
CSS3 Lovers, Gather Together
CSS3 Lovers, Gather TogetherCSS3 Lovers, Gather Together
CSS3 Lovers, Gather TogetherFramgia Vietnam
 
Introduction to JRuby And JRuby on Rails
Introduction to JRuby And JRuby on RailsIntroduction to JRuby And JRuby on Rails
Introduction to JRuby And JRuby on RailsFramgia Vietnam
 
Some ways to DRY in Rails
Some ways to DRY in Rails Some ways to DRY in Rails
Some ways to DRY in Rails Framgia Vietnam
 
Create 3D objects insite Cocos2d-x
Create 3D objects insite Cocos2d-xCreate 3D objects insite Cocos2d-x
Create 3D objects insite Cocos2d-xFramgia Vietnam
 
View, Store Procedure & Function and Trigger in MySQL - Thaipt
View, Store Procedure & Function and Trigger in MySQL - ThaiptView, Store Procedure & Function and Trigger in MySQL - Thaipt
View, Store Procedure & Function and Trigger in MySQL - ThaiptFramgia Vietnam
 
Organize directories for applications with front-end and back-end with yii - ...
Organize directories for applications with front-end and back-end with yii - ...Organize directories for applications with front-end and back-end with yii - ...
Organize directories for applications with front-end and back-end with yii - ...Framgia Vietnam
 
What is new in PHP 5.5 - HuyenNT
What is new in PHP 5.5 - HuyenNTWhat is new in PHP 5.5 - HuyenNT
What is new in PHP 5.5 - HuyenNTFramgia Vietnam
 
Audited activerecord - QuanHV
Audited activerecord - QuanHVAudited activerecord - QuanHV
Audited activerecord - QuanHVFramgia Vietnam
 
Client side validations gem - KhanhHD
Client side validations gem - KhanhHDClient side validations gem - KhanhHD
Client side validations gem - KhanhHDFramgia Vietnam
 
Backbone.js and rails - BanLV
Backbone.js and rails - BanLVBackbone.js and rails - BanLV
Backbone.js and rails - BanLVFramgia Vietnam
 
Jenkins and rails app - Le Dinh Vu
Jenkins and rails app - Le Dinh VuJenkins and rails app - Le Dinh Vu
Jenkins and rails app - Le Dinh VuFramgia Vietnam
 

Más de Framgia Vietnam (20)

Functional Programming With Elixir
Functional Programming With ElixirFunctional Programming With Elixir
Functional Programming With Elixir
 
Dreamers defense
Dreamers defenseDreamers defense
Dreamers defense
 
Timeless - Websocket on Rails
Timeless - Websocket on RailsTimeless - Websocket on Rails
Timeless - Websocket on Rails
 
Game Development with Pygame
Game Development with PygameGame Development with Pygame
Game Development with Pygame
 
Racer Mice - Game Team
Racer Mice - Game TeamRacer Mice - Game Team
Racer Mice - Game Team
 
CSS3 Lovers, Gather Together
CSS3 Lovers, Gather TogetherCSS3 Lovers, Gather Together
CSS3 Lovers, Gather Together
 
Java 8 new features
Java 8 new features Java 8 new features
Java 8 new features
 
Introduction to JRuby And JRuby on Rails
Introduction to JRuby And JRuby on RailsIntroduction to JRuby And JRuby on Rails
Introduction to JRuby And JRuby on Rails
 
Some ways to DRY in Rails
Some ways to DRY in Rails Some ways to DRY in Rails
Some ways to DRY in Rails
 
HTML5 DRAG AND DROP
HTML5 DRAG AND DROPHTML5 DRAG AND DROP
HTML5 DRAG AND DROP
 
Create 3D objects insite Cocos2d-x
Create 3D objects insite Cocos2d-xCreate 3D objects insite Cocos2d-x
Create 3D objects insite Cocos2d-x
 
View, Store Procedure & Function and Trigger in MySQL - Thaipt
View, Store Procedure & Function and Trigger in MySQL - ThaiptView, Store Procedure & Function and Trigger in MySQL - Thaipt
View, Store Procedure & Function and Trigger in MySQL - Thaipt
 
Organize directories for applications with front-end and back-end with yii - ...
Organize directories for applications with front-end and back-end with yii - ...Organize directories for applications with front-end and back-end with yii - ...
Organize directories for applications with front-end and back-end with yii - ...
 
What is new in PHP 5.5 - HuyenNT
What is new in PHP 5.5 - HuyenNTWhat is new in PHP 5.5 - HuyenNT
What is new in PHP 5.5 - HuyenNT
 
An idea - NghiaLV
An idea - NghiaLVAn idea - NghiaLV
An idea - NghiaLV
 
Audited activerecord - QuanHV
Audited activerecord - QuanHVAudited activerecord - QuanHV
Audited activerecord - QuanHV
 
Delegate - KhanhLD
Delegate - KhanhLDDelegate - KhanhLD
Delegate - KhanhLD
 
Client side validations gem - KhanhHD
Client side validations gem - KhanhHDClient side validations gem - KhanhHD
Client side validations gem - KhanhHD
 
Backbone.js and rails - BanLV
Backbone.js and rails - BanLVBackbone.js and rails - BanLV
Backbone.js and rails - BanLV
 
Jenkins and rails app - Le Dinh Vu
Jenkins and rails app - Le Dinh VuJenkins and rails app - Le Dinh Vu
Jenkins and rails app - Le Dinh Vu
 

Build public private cloud using openstack

  • 1. Build public/private cloud using Openstack by Framgia Server Lab
  • 2. About FramgiaServerLab Members(10): Le Dinh Vu Tran Nam Son To Duc Thien Bui Trung Kien Nguyen Dinh Huan Nguyen Van Dung Nguyen Quang Dung Nguyen Van Vuong Nguyen Cuong Tran Trong Hien (left) Our mission: Build and manage Linux servers. Servers can be traditional ones or using cloud ones from some cloud services such as Amazon AWS. Main objectives: - Build servers (app, db or any kind of servers) ready for deploy - Research methods to deploy source code to servers - Monitor servers - Auto scaling
  • 3. Session1: Build public or private cloud using Openstack ● Difficulty: Hard ● Applicable: Yes (but not trivial) ● Target environment: inside company to support general developments (e.g. use as staging servers, QA test environment)
  • 4. • Introduction to cloud computing • What is Openstack • Why Openstack • Who use Openstack • Use cases • Openstack in real world • What we have done so far • Openstack community in Vietnam • How to setup/test Openstack • Demo • Difficulties during research • Conclusion • Q&A Agenda
  • 5. • Cloud computing • Public/Private/Hybrid cloud Introduction to cloud computing
  • 8. The OpenStack Open Source Cloud Mission: To produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable. What is Openstack • Written in: Python2 • License: Apache 2.0 • Founded by: NASA & Rackspace on 2010 • Compatible with Amazon EC2 & S3 • Supporting: VMware, Xen, Hyper-V...
  • 10. • Control and Flexibility • Scalability • Open Industry Standard • Openness and Compatibility • Flexible Technology Open source/design/development/community Why Openstack
  • 15. Openstack members & contributions
  • 16. • Service providers offering an IaaS compute platform or services higher up the stack (e.g. Rackspace) • IT departments acting as cloud service providers for business units and project teams (any company) • Processing big data with tools like Hadoop (NSA) • Scaling compute up and down to meet demand for web resources and applications (service companies) • High-performance computing (HPC) environments processing diverse and intensive workloads (CERN) Use cases
  • 17. Build QA test environment Use cases (cont.)
  • 18. Build QA test environment Use cases (cont.)
  • 19. Build QA test environment Use cases (cont.)
  • 20. Build QA test environment (multiple projects) Use cases (cont.)
  • 21. Build QA test environment::Results • To provide isolation, each test environment runs in a separate tenant, or project. For example, there’s one project for the test team, one for the consultant team, and so on. • Heat templates enable rapid creation of new environments. The test team can create new Heat templates on its own. • Self-service is provided with OpenStack CLI/Horizon and Heat templates. • Total cost of the OpenStack solution is lower, because the company doesn’t have to pay for licenses, and can use commodity software and hardware. • The test team owns their test environments. They can create and delete environments anytime they need to. • OpenStack lets IT set up quotas for each project. OpenStack’s Ceilometer component can be Use cases (cont.)
  • 22. CERN (European Organization for Nuclear) Openstack in real world Rackspace hosting
  • 23. Option 1: Use public clouds (e.g. tryStack.org for free) Option 2: Using DevStack.org (mostly for Openstack development env) Option 3: Install by yourself How to test/setup Openstack
  • 24. Option 3: Install by yourself • Using Chef + Vagrant (with devstack or multi-nodes) • Install directly (using official guides) • Using juju charms (ubuntu cloud service) (ubuntu only) (https://jujucharms.com/sidebar/search/?text=openstack) How to test/setup Openstack
  • 25. Option 3: Install by yourself • Using Chef + Vagrant with multi-nodes (try vagrantcloud. com!) How to test/setup Openstack
  • 27. • Setup Openstack (without Heat) • Manage Openstack services using Ruby gem “openstack” (a.k.a ruby-openstack) • Build sample Rails project that using Openstack Swift to store uploaded photos. What we have done so far
  • 28. • Setup Openstack (without Heat) Intel Core i5-2320 @ 3.0GHz RAM: 8G HDD: 500GB OS: CentOS Virtualization: QEMU URL: http://192.168.1.107 login: framgia/framgia What we have done so far
  • 29. Sample Rails app: Framgia Picture Show Goals: Upload and store photos to Openstack Swift • Rails 4 • Carrierwave • Openstack Swift (via Fog gem) Demo
  • 30. - Laptop core i5 is too slow to run (but desktop with the same core is OK :( ) - Understanding the whole stack takes time! Difficulties during research
  • 31. • Implement Openstack frastructure is not trivial mission • But it would be worthy in the future when we build large scale web apps • So we hope to use at step by step, start from development environment • Because future of IT would be in the... cloud Conclusion
  • 32. Ref: • Openstack homepage http://openstack.org • Building QA test environments with OpenStack http://www.mirantis.com/blog/building-qa- test-environments-openstack/ • Openstack Vietnam Community https://www.facebook.com/VietOpenStack • Openstack at NSA (video session) http://goo.gl/oIjNRW • Openstack in Vietnam (slide) http://goo.gl/IdK4I4 Q & A Thank you for listening :-)