2. 2
Overview
● Cloud API's
● What is Apache Deltacloud ?
● What is CIMI ?
● Deltacloud's EC2 frontend
● Using Deltacloud with Openstack
● Questions
3. 3
Cloud API's
● Wild West – every cloud has one
● Material differences
● Annoying innovation
● de facto standards
● EC2: widely used and copied
● OpenStack: excellent governance
● de jure standards
● backed by Standards Developing Organization
● CIMI produced by DMTF
4. 4
Standard challenges
● Build broad community
● Allow standards development the open source way
● Bring proprietary players into the tent
● Governance/licensing
● Adaptability
● Enable wide range of implementations
● Let clients discover variations
8. 8
DMTF CIMI
● Distributed Management Task Force (DMTF)
● Broad industry participation
● Produced OVF and CIM
● Covers wide range of IaaS objects
● Published August 2012
● RESTful API
● Despite the name, not connected to CIM
● CIMI forces Deltacloud to keep state
9. 9
CIMI Model
Systems Machines Volumes Networks
CIMI Entry Point
Systems Machines Volumes Networks
Servers Storage volumesGrouping of
resources
SystemsMetadata
●
Flexibility through discovery
●
Many more supporting resources
●
including monitoring, events, jobs
●
Common patterns (Templates, Configs, Images)
Networks,
routing, ports
11. 11
Example: Creating a Server
POST /machines HTTP/1.1
{ "name": "myMachine1",
"description": "My very first machine",
"machineTemplate": {
"machineConfig": {"href": "/configs/small"},
"machineImage": {"href": "/images/WinXP-SP2"},
"credentials": {"href": "/creds/12345" }
}
}
HTTP/1.1 201 Created
Location: http://cimi.example.org/machines/42
12. 12
What Deltacloud is doing around CIMI
● CIMI frontend
● use against various clouds
● CIMI client web app
● CIMI test suite
● CIMI Ruby client (soon)
13. 13
Deltacloud's EC2 frontend
● Started as POC last spring
● Inspired by AWSOME
● Used by RHEV-M/oVirt
● Basic functionality
● Describe images/AZs
● Instance lifecycle management
● SSH keys
15. 15
Using Deltacloud with Openstack
● Start Deltacloud with Openstack driver
● Point at Keystone
● Users can dynamically switch endpoints
● Deployment options
● Close to user
● Close to Keystone
- with Red Hat for a long long time - Maintainer of Apache Deltacloud - Member of CIMI working group - on DMTF board
API adapter, not cloud RESTful service
m : n cloud API adapter passthrough authentication Three API frontends 'classic' Deltacloud API (RESTful) DMTF CIMI API (RESTful) EC2 Query API