Doug Hellmann                      aka doughellmann/dhellmann (twitter/irc)                         doug.hellmann@dreamhos...
What About Billing?● Billing has been left out of OpenStack core so far as it  was not the primary problem and is not a tr...
Billing: 3 Step ProcessMetering   Collect usage dataRating     Transform usage data into billable           items and calc...
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 s...
Ceilometer Begins● Started in May 2012
Ceilometer Rises● Developed in StackForge   ○   Same process as OpenStack● Minimal set of meters defined● Targeting OpenSt...
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 p...
Design Requirements● Scalable  ○ …if your database is too● Message signature  ○ Non-repudiation built in● Only one entry p...
Design Requirements● Scalable  ○ …if your database is too● Message signature  ○ Non-repudiation built in● Only one entry p...
Design Requirements● Scalable  ○ …if your database is too● Message signature  ○ Non-repudiation built in● Only one entry p...
Data TriggersCeilometer inputs are generated three waysUser Action Creating, modifying, or deleting a            resourceA...
Meter CategoriesCeilometer handles 3 types of metersCumulative    Increasing over time (instance hours)Gauge         Discr...
Simple REST APISum                              GET /v1/resources/(resource)/meters/(meter)/volume/sumMaximum             ...
Roadmap         Folsom                        Grizzly                          H●   Delivered last week      ●   Incubated...
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  ○ ba...
Customizing Ceilometer● Custom Bandwidth Meter  ○ No charge for traffic "inside" DreamHost  ○ Dont expose infrastructure d...
Consuming Meter Data
Questions?http://launchpad.net/ceilometerhttp://ceilometer.readthedocs.orgfreenode: #openstack-meteringemail: openstack-de...
Ceilometer presentation ODS Grizzly.pdf
Ceilometer presentation ODS Grizzly.pdf
Ceilometer presentation ODS Grizzly.pdf
Ceilometer presentation ODS Grizzly.pdf
Ceilometer presentation ODS Grizzly.pdf
Ceilometer presentation ODS Grizzly.pdf
Upcoming SlideShare
Loading in...5
×

Ceilometer presentation ODS Grizzly.pdf

1,231

Published on

true

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,231
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
85
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Ceilometer presentation ODS Grizzly.pdf

  1. 1. 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
  2. 2. 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
  3. 3. Billing: 3 Step ProcessMetering Collect usage dataRating Transform usage data into billable items and calculate costsBilling Create invoice, collect payment
  4. 4. Ceilometer is MeteringUsage data collection is the ONLY thingcommon to all clouds
  5. 5. Uses for Metering● Billing● Auditing● Capacity Planning
  6. 6. 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 :-(
  7. 7. Ceilometer Begins● Started in May 2012
  8. 8. Ceilometer Rises● Developed in StackForge ○ Same process as OpenStack● Minimal set of meters defined● Targeting OpenStack core ○ incubation pending
  9. 9. Design Requirements● Scalable ○ …if your database is too
  10. 10. Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in
  11. 11. Design Requirements● Scalable ○ …if your database is too● Message signature ○ Non-repudiation built in● Only one entry point to get data
  12. 12. 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
  13. 13. 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
  14. 14. 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
  15. 15. 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
  16. 16. 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)
  17. 17. 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
  18. 18. 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
  19. 19. DreamHost Use Case● New Public Cloud Service● Existing Billing System● Existing Users and Accounts
  20. 20. Configuring Ceilometer● Measure exactly what we want to bill for ○ instance hours ○ block storage ○ image uploads ○ bandwidth
  21. 21. Customizing Ceilometer● Custom Bandwidth Meter ○ No charge for traffic "inside" DreamHost ○ Dont expose infrastructure details to customers ○ Measure at the router, not the VIF
  22. 22. Consuming Meter Data
  23. 23. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×