Last year, during the first OpenNebula Conference we briefly talked about interoperability in the cloud, introduced the OCCI standard/protocol and focused on one of its implementations — The rOCCI framework. We positioned this framework as the go-to interface for providing interoperability in OpenNebula with significant plans for future development and improvement.
Optimizing AI for immediate response in Smart CCTV
OpenNebula Conf 2014 | The rOCCI project - a year later - alias OpenNebula in the EGI Federated Cloud - Boris Parák
1. EGI-InSPIRE
The rOCCI project – a year later – or
OpenNebula in the EGI Federated
Cloud
Boris Parák, Zdenˇek Šustr, CESNET
ONEConf 2014, Berlin, DE 1
EGI-InSPIRE RI-261323 www.egi.eu
2. Introduction
CESNET
∙ Czech Education and Scientific NETwork
∙ National Grid Infrastructure (NGI_CZ), EGI member
EGI Federated Cloud
∙ EGI effort, federation of privately run cloud services
∙ ∼ 20 resource providers, 8 running OpenNebula
ONEConf 2014, Berlin, DE 2
EGI-InSPIRE RI-261323 www.egi.eu
3. The Big Picture
Building blocks and standards of the EGI Federated Cloud
ONEConf 2014, Berlin, DE 3
EGI-InSPIRE RI-261323 www.egi.eu
4. Experience with OpenNebula
As a resource provider:
∙ quick & easy to deploy, very little overhead (+)
∙ straight-forward administration (+)
∙ scales well for medium-sized sites (hundreds of nodes) (+)
∙ good for heterogeneous infrastructures and "hacks" (+)
As a technology provider:
∙ very customizable and flexible resource templates (+)
∙ good backwards compatibility between minor releases (+)
∙ needs better devel documentation with code examples (-)
∙ difficult to integrate advanced authentication methods (-)
ONEConf 2014, Berlin, DE 4
EGI-InSPIRE RI-261323 www.egi.eu
5. The Big Picture – OCCI
Virtual machine management via OCCI in EGI Federated Cloud
ONEConf 2014, Berlin, DE 5
EGI-InSPIRE RI-261323 www.egi.eu
6. OCCI
∙ OCCI → Open Cloud Computing Interface
∙ a generic text-based boundary-level interoperability
protocol and API
∙ OGF standard; Core, Infrastructure and HTTP rendering
(GFD.183 - 185)
∙ a powerful "language" for describing resources, resource
relationships and actions
∙ designed with extensibility and integration in mind; usable
for IaaS, PaaS, SaaS, Brokering, Monitoring, SLAs, . . .
ONEConf 2014, Berlin, DE 6
EGI-InSPIRE RI-261323 www.egi.eu
7. OCCI IaaS Example
ONEConf 2014, Berlin, DE 7
EGI-InSPIRE RI-261323 www.egi.eu
8. The rOCCI Ecosystem
ONEConf 2014, Berlin, DE 8
EGI-InSPIRE RI-261323 www.egi.eu
9. rOCCI-cli
End-user interface, distributed as a Ruby gem or a "native"
package from the EGI AppDB.
$ occi --action create --resource compute
--mixin os#debian7 --mixin resource#small
--attribute occi.core.title=’rOCCI_VM’
--context public_key=’file:///tmp/id_rsa.pub’
$ occi --action describe --resource /compute/1
$ occi --action delete --resource /compute/1
[...]
ONEConf 2014, Berlin, DE 9
EGI-InSPIRE RI-261323 www.egi.eu
10. rOCCI-server
∙ a server-side implementation leveraging rOCCI-core
∙ a bridge between an arbitrary cloud framework and the
world of OCCI
∙ a stateless proxy delegating authentication, authorization
and functionality to the underlying cloud framework
∙ supports HTTP-compatible authentication methods such
as Basic, X.509 (incl. VOMS) or tokens
∙ pluggable backends:
∙ OpenNebula (primary backend, mature)
∙ Amazon EC2 (recently introduced)
∙ MS Azure (work in progress)
∙ VMWare vCloud (early planning)
ONEConf 2014, Berlin, DE 10
EGI-InSPIRE RI-261323 www.egi.eu
11. rOCCI-server – new design
ONEConf 2014, Berlin, DE 11
EGI-InSPIRE RI-261323 www.egi.eu
12. rOCCI-server – deployment
Various technical improvements, logging & debugging tools,
easy installation from native packages . . .
ONEConf 2014, Berlin, DE 12
EGI-InSPIRE RI-261323 www.egi.eu
13. Who is using rOCCI?
Virtual machine management in EGI FedCloud:
∙ rOCCI-cli (end-users, external connectors)
∙ rOCCI-server (multiple sites)
∙ SAM Nagios OCCI probe (monitoring all sites)
OCCI connectors:
∙ DIRAC (VMDIRAC)
∙ SixSq. SlipStream (cloud orchestration tool)
∙ COMPSs (COMP Superscalar)
∙ Catania Science Gateway Framework (JSAGA OCCI
adaptor)
ONEConf 2014, Berlin, DE 13
EGI-InSPIRE RI-261323 www.egi.eu
14. EGI FC User Communities
ONEConf 2014, Berlin, DE 14
EGI-InSPIRE RI-261323 www.egi.eu
15. Roadmap
∙ Explore new OCCI 1.2 features (currently a draft)
∙ Support OCCI monitoring extension
∙ Support OCCI accounting extension
∙ Support for new rendering formats (JSON, XML, . . . )
∙ Rewrite CLI based on user feedback
ONEConf 2014, Berlin, DE 15
EGI-InSPIRE RI-261323 www.egi.eu
16. Summary
1. Interoperability is hard to achieve, desirable for user
communities.
2. OCCI is a generic boundary-level interoperability &
integration protocol.
3. rOCCI is an OCCI framework written in/for Ruby, includes
a shell-based user interface and a server-side support for
various cloud management frameworks.
4. rOCCI supports OpenNebula as the underlying server-side
cloud management framework.
5. OCCI demonstrably works!
ONEConf 2014, Berlin, DE 16
EGI-InSPIRE RI-261323 www.egi.eu
17. References
What to read if you want to know more?
∙ https://www.egi.eu/infrastructure/cloud
∙ https://github.com/EGI-FCTF/rOCCI-cli
∙ https://github.com/EGI-FCTF/rOCCI-server
∙ http://occi-wg.org
Do you have any questions?
∙ ask us directly at parak@cesnet.cz or sustr4@cesnet.cz
∙ ask in our mailing list inspire-mp-rocci@mailman.egi.eu
ONEConf 2014, Berlin, DE 17
EGI-InSPIRE RI-261323 www.egi.eu