RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to...
Transcript of RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to...
![Page 1: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/1.jpg)
Moving SNE to the CloudRP1i3
Sudesh Jethoe
http://www.openstack.org/assets/openstack-logo/
![Page 2: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/2.jpg)
Overview
1. Research Question2. What's a cloud?3. Cloud frameworks4. OpenStack5. Method6. Problems7. Conclusion8. Discussion9. Questions
![Page 3: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/3.jpg)
Introduction
● What's a cloud?○ Wikipedia:
"A platform to enable the delivery of computing as a service rather than product, whereby shared resources, software, and information are provided to
computers and other devices as a metered service over a network (typically the Internet)."
![Page 4: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/4.jpg)
Introduction
● What's a cloud?○ Me:
"A collection of physical computational resources, presented to external users as a (collection) of virtual resources in order to
enable over-committing."
![Page 5: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/5.jpg)
Introduction
● Cloud layers:
● Cloud types:○ Public○ Private○ Hybrid
http://www.canadiancloud.com/wp-content/uploads/2011/04/Cloud-Services-Stack.png
![Page 6: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/6.jpg)
Introduction
● Benefits for the education:○ Offer services to more students○ Scales better with more students○ More flexible○ Possibly cheaper
![Page 7: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/7.jpg)
Introduction
● Requirements for the education:○ Run (virtual) machines○ Setup (virtual) networks○ Delegate IP-space○ Run internet services (web,dns, mail, ...)○ Secure and administer environments
![Page 8: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/8.jpg)
Research Questions
● Is it possible to execute SNE-education experiments in the cloud?
● Can layer 2 connectivity be achieved?● Can full cloud transparency be achieved? (VM’s in
public/private cloud behave similar
![Page 9: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/9.jpg)
Frameworks
●
B.Sotomayor, R.S.Montero, I.M.Llorente and I.Foster, “Virtual Infrastructure Management in Private and Hybrid Clouds,” Internet Computing, vol. 13, no. 5, pp. 14-22, 2009.
![Page 10: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/10.jpg)
Cloud frameworks vs VIM's
![Page 11: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/11.jpg)
OpenStack
● Cloud framework○ Supports users and projects○ Little configuration needed (expected)
● Major support○ Rackspace○ NASA○ Citrix○ Fedora ○ Ubuntu
![Page 12: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/12.jpg)
OpenStack
Release history:
Release name Release dateAustin 21 October 2010 Bexar 3 February 2011 Cactus 15 April 2011 Diablo 22 September 2011
![Page 13: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/13.jpg)
OpenStack Design
● Nova (Compute)○ nova-compute○ nova-volume○ nova-scheduler○ nova-network
● Glance (provisioning)● Swift (storage)
http://docs.openstack.org/diablo/openstack-compute/starter/content/Components_of_OpenStack-Compute-d1e166.html
![Page 14: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/14.jpg)
Initial Approach
● Local OpenStack install○ 2 servers
■ Central Node■ network■ volume■ scheduler
■ Compute Node■ compute
● Remote Amazon○ 1 server
■ Compute Node
http://docs.stackops.org/display/doc03/Dual+node+deployment
![Page 15: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/15.jpg)
Networking in OpenStack
http://unchainyourbrain.com/images/stories/programming/flatdchp-net.jpg
![Page 16: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/16.jpg)
Problems
No IP-addressesNo connectivityNo routing rulesNot possible to upload images remotely
Why?● Documentation errors● Configuration errors● Bugs in the software
![Page 17: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/17.jpg)
Examples
● Documentation error:○ network setup
auto eth0iface eth0 inet staticaddress 10.10.10.2netmask 255.255.255.0broadcast 10.10.10.255gateway 10.10.10.1
auto eth1iface eth1 inet staticaddress 192.168.3.1netmask 255.255.255.0network 192.168.3.0broadcast 192.168.3.255
configuration file setup:
--vlan_interface=br100--public_interface=eth0
There is no bridge!
![Page 18: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/18.jpg)
Examples
○ Address assignment logic:■ Administrator associate addresses with project
nova-manage floating create "hostname" 145.100.106.160/28■ User allocates addressess to a project
[svjethoe@sudeshtarga ~]$ euca-allocate-address 145.100.106.160/28ADDRESS 145.100.106.164[svjethoe@sudeshtarga ~]$ euca-allocate-address 145.100.106.160/28ADDRESS 145.100.106.165[svjethoe@sudeshtarga ~]$ euca-allocate-address 145.100.106.160/28ADDRESS 145.100.106.166
■ One by one ...
![Page 19: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/19.jpg)
Examples
○ Then:[svjethoe@sudeshtarga ~]$ euca-associate-address 145.100.106.161 -i i-00000012ADDRESS 145.100.106.161 i-00000012
[svjethoe@sudeshtarga ~]$ euca-allocate-address 145.100.106.166UnknownError: An unknown error has occurred. Please try your request again.
![Page 20: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/20.jpg)
Conclusion (1/3)
● Is it possible to execute SNE-education experiments in the cloud?
○ /● Can layer 2 connectivity be achieved?
○ yes, private networks are connected through virtual bridges
● Can full cloud transparency be achieved? (VM’s in public/private cloud behave similar
○ no
![Page 21: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/21.jpg)
Conclusion (2/3)
● What can we do, when looking at the requirements?:○ Run (virtual) machines
■ yes○ Setup (virtual) networks
■ not possible due to bugs○ Delegate IP-space
■ possible, but requires extra configuration inside VM's○ Run internet services (web,dns, mail, ...)
■ yes○ Secure and administer environments
■ yes
![Page 22: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/22.jpg)
Conclusion (3/3)
● OpenStack lacks options for advanced lower layer configuration
● OpenStack still has too many bugs to be useful● OpenStack lacks essential documentation on networking
![Page 23: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/23.jpg)
Discussion
○ OpenStack■ High level software, still immature■ Basic elements are still not well developed■ Debugging interactions of components takes time■ Requires extensive knowledge of the framework
![Page 24: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/24.jpg)
Future work
● Virtual Infrastructure Managers ++○ OpenNebula
■ Extensive documentation■ More real world deployments■ Small scale deployments■ Matured technology
● Cloud Frameworks○ Wait (until the bugs are solved)○ Focus on small components first (instead of a full cloud)
![Page 25: RP1i3 Presentation: Moving SNE to the CloudIntroduction What's a cloud? Wikipedia: "A platform to enable the delivery of computing as a service rather than product, whereby shared](https://reader033.fdocuments.in/reader033/viewer/2022042011/5e7247875715d2139a276f2e/html5/thumbnails/25.jpg)
Questions?
http://www.cloudxperience.nl/cloudxperience/blog/wp-content/uploads/2011/02/cloudcomputing.png