Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Build public private cloud using openstack


Published on

Build public private cloud using openstack

  1. 1. Build public/private cloud using Openstack by Framgia Server Lab
  2. 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. 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. 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. 5. • Cloud computing • Public/Private/Hybrid cloud Introduction to cloud computing
  6. 6. • Cloud computing Introduction
  7. 7. • Public/Private/Hybrid cloud Introduction
  8. 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...
  9. 9. What is Openstack
  10. 10. • Control and Flexibility • Scalability • Open Industry Standard • Openness and Compatibility • Flexible Technology Open source/design/development/community Why Openstack
  11. 11. Who use Openstack
  12. 12. Public clouds Who use Openstack
  13. 13. Private clouds Who use Openstack
  14. 14. Research Who use Openstack
  15. 15. Openstack members & contributions
  16. 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. 17. Build QA test environment Use cases (cont.)
  18. 18. Build QA test environment Use cases (cont.)
  19. 19. Build QA test environment Use cases (cont.)
  20. 20. Build QA test environment (multiple projects) Use cases (cont.)
  21. 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. 22. CERN (European Organization for Nuclear) Openstack in real world Rackspace hosting
  23. 23. Option 1: Use public clouds (e.g. for free) Option 2: Using (mostly for Openstack development env) Option 3: Install by yourself How to test/setup Openstack
  24. 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) ( How to test/setup Openstack
  25. 25. Option 3: Install by yourself • Using Chef + Vagrant with multi-nodes (try vagrantcloud. com!) How to test/setup Openstack
  26. 26. Openstack community in Vietnam
  27. 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. 28. • Setup Openstack (without Heat) Intel Core i5-2320 @ 3.0GHz RAM: 8G HDD: 500GB OS: CentOS Virtualization: QEMU URL: login: framgia/framgia What we have done so far
  29. 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. 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. 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. 32. Ref: • Openstack homepage • Building QA test environments with OpenStack test-environments-openstack/ • Openstack Vietnam Community • Openstack at NSA (video session) • Openstack in Vietnam (slide) Q & A Thank you for listening :-)