Ceilometer presentation ODS Grizzly.pdf
Upcoming SlideShare
Loading in...5
×
 

Ceilometer presentation ODS Grizzly.pdf

on

  • 1,715 views

true

true

Statistics

Views

Total Views
1,715
Views on SlideShare
1,715
Embed Views
0

Actions

Likes
2
Downloads
75
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ceilometer presentation ODS Grizzly.pdf Ceilometer presentation ODS Grizzly.pdf Presentation Transcript

  • Doug Hellmann aka doughellmann/dhellmann (twitter/irc) doug.hellmann@dreamhost.com Nick Barcet aka nijaba (twitter/irc) nick.barcet@canonical.comCeilometerThe OpenStack Metering Project 15 Oct 2012 @ ODS Grizzly
  • What About Billing?● Billing has been left out of OpenStack core so far as it was not the primary problem and is not a trivial one...● Yet almost every OpenStack deployment needs a way to track usage information
  • Billing: 3 Step ProcessMetering Collect usage dataRating Transform usage data into billable items and calculate costsBilling Create invoice, collect payment
  • Ceilometer is MeteringUsage data collection is the ONLY thingcommon to all clouds
  • Uses for Metering● Billing● Auditing● Capacity Planning
  • Problems to Solve● Collecting per user/tenant usage data ○ For every resource ○ From every OpenStack component ○ In a single place● Retrieving usage data ○ From a single place● Doing this with an open source project ○ Everyone did this in their own corner in the past :-(
  • Ceilometer Begins● Started in May 2012
  • Ceilometer Rises● Developed in StackForge ○ Same process as OpenStack● Minimal set of meters defined● Targeting OpenStack core ○ incubation pending
  • Design Requirements● Scalable ○ …if your database is too
  • Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in
  • Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in● Only one entry point to get data
  • Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in● Only one entry point to get data● Extensible, add your own: ○ Agent ○ Agent plugin ○ Storage engine ○ Meters
  • Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in● Only one entry point to get data● Extensible, add your own: ○ Agent ○ Agent plugin ○ Storage engine ○ Meters● Use openstack-common components
  • Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in● Only one entry point to get data● Extensible, add your own: ○ Agent ○ Agent plugin ○ Storage engine ○ Meters● Use openstack-common components● Accept data from many sources
  • Data TriggersCeilometer inputs are generated three waysUser Action Creating, modifying, or deleting a resourceAudit Regular audit events stating usage generated by the servicePolling The ceilometer agent asks the service for data periodically
  • Meter CategoriesCeilometer handles 3 types of metersCumulative Increasing over time (instance hours)Gauge Discrete items (floating IPs, image uploads) and fluctuating values (disk I/O)Delta Changing over time (bandwidth)
  • Simple REST APISum GET /v1/resources/(resource)/meters/(meter)/volume/sumMaximum GET /v1/resources/(resource)/meters/(meter)/volume/maxDuration GET /v1/resources/(resource)/meters/(meter)/durationRaw Events GET /v1/resources/(resource)/meters/(meter)http://ceilometer.readthedocs.org/en/latest/api.html
  • Roadmap Folsom Grizzly H● Delivered last week ● Incubated Project ● Core Project● Collects base metering ● User accessible API? ● TBD ○ nova ● Integration example with ○ glance Horizon ○ cinder ● New agents for other ○ quantum openstack components● Basic API access ○ Swift ○ Heat? ● New uses of collector? ● SQLAlchemy storage driver
  • DreamHost Use Case● New Public Cloud Service● Existing Billing System● Existing Users and Accounts
  • Configuring Ceilometer● Measure exactly what we want to bill for ○ instance hours ○ block storage ○ image uploads ○ bandwidth
  • Customizing Ceilometer● Custom Bandwidth Meter ○ No charge for traffic "inside" DreamHost ○ Dont expose infrastructure details to customers ○ Measure at the router, not the VIF
  • Consuming Meter Data
  • Questions?http://launchpad.net/ceilometerhttp://ceilometer.readthedocs.orgfreenode: #openstack-meteringemail: openstack-dev [ceilometer]Doug Hellmann Nick Barcetaka doughellmann/dhellmann (twitter/irc) aka nijaba (twitter/irc)doug.hellmann@dreamhost.com nick.barcet@canonical.com