25
CloudKitty by Objectif Libre Christophe Sauthier – CEO Stéphane Albert – Project Technical Leader for CloudKitty The Rating Component for OpenStack

OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Embed Size (px)

Citation preview

Page 1: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty by Objectif LibreChristophe Sauthier – CEO

Stéphane Albert – Project Technical Leader for CloudKitty

The Rating Component for OpenStack

Page 2: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Branches Toulouse | Paris

The year we were born

employeesin our

Dream Team

And we are looking for more !

trained (and happy) people

OpenStack SummitBTW: who owns the loyalty program?

Growth each year for the last 3 years

The part of 2015 revenues invested in R&D

Yes We Count!

2009

2

+3000+30%

6th 13%

11

Page 3: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

We contributeany time we can

CloudKitty creation, development and maintenance

Commits and reviews

TrainingsConferences, Meetups

OpenStack Summits'Starter Packs'

We spread the culture

We develop

Components adaptationIntegration

Applications “cloudification” 'Dev&Test Packs'

Consulting & designDeployments & Proof of Concepts

Support & management

We deploy & run cloudsfor our clients and partners

Our OpenStack Involvement

Page 4: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty joined the Big Tent!

Sowhat?

Page 5: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Let us introduce you… CloudKitty

The Rating Component for OpenStack

Developed with full respect of OpenStack best practices

Interfacing with Ceilometer API and much more

Integrated with OpenStack and Horizon

Highly-modular

Metrics module

(Ceilometer or other) API

Rating policy configuration

Tarif view, even before resource activation

Cost analysis follow-up

Usage live follow-up and history

User view

API or GUI(Horizon

extension)

Admin view

Data extraction in any format for post-treatmentAPI

API or GUI(Horizon

extension)

Page 6: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Thanks to CloudKitty, you can...

IT ManagersCloud

ProvidersPublishers

Charge for use any application or SaaS

solution

On cloud infrastructures…

or old-fashion ones!

Charge usage for all types of clouds

Address each of your clients – it's

multi-tenant

Analyze data from OpenStack… and

also from your own data

Define and apply your pricing policy

Give users tools to predict and track

their usage

Page 7: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty: from metrics to billing

Tenant fetcher

Collector

Rating

Storage

4 steps to get the best from cloud

metrics to your UX

Ceilometer / metrics

Ready for billing !

Page 8: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Responsible for gathering eligible tenants

Modular

Keystone support (v2/v3) shipped with CloudKitty

Tenant fetcher

Collector

Rating

Storage

Page 9: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Retrieves and aggregates metrics

Polls backend for data

Modular

Ceilometer support out of the boxTenant fetcher

Collector

Rating

Storage

Page 10: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Performs calculation on collected data

Executed sequentially based on priority

Configuring, enabling, disabling directly from the API

Modular

Tenant fetcher

Collector

Rating

Storage

Page 11: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Focus on Rating module: Hashmap

Tenant fetcher

Collector

Rating

Storage

Create rating rules based on service or metadata matching✔ Simple calculations

based on metadata & metrics values

✔ Threshold calculations based on levels

✔ Group calculations to create complex operations

Page 12: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Tenant fetcher

Collector

Rating

Storage Write your own python code to create sophisticated rating rules

Rules automatically distributed to all the nodes

CloudKitty step by step

Focus on Rating module: PyScriptsNew !

Page 13: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Stores resources and rates information

Query API available

sqlalchemy support by default

And modular !

Tenant fetcher

Collector

Rating

Storage

Page 14: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

CloudKitty step by step

Tenant fetcher

Collector

Rating

Storage Ready for billing !

➔ Aggregated data

➔ Rates

➔ Graphical view

➔ Showback

Ceilometer / metrics

Page 15: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Focus on Report Generator(Associated tool)

Exports data as a consolidated file

Multiple formats like .csv

Eases integration with 3rd

party software

Generates global or by tenant reports

(Guess what?) Modular

Tenant fetcher

Collector

Rating

Storage Report Generator

Page 16: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Enough chalk talk !

Let's create a rating policyand look at the impact on the user side

Demo !

Page 17: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

http://olib.re/ck-tky-1http://olib.re/ck-tky-2http://olib.re/ck-tky-3http://olib.re/ck-tky-4

Demo ! Videos Links

Page 18: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Foreseen evolutions

Gnocchi support

Improved Storage Backend

Graphical improvements

- Improved reporting

- Easier policy definition

Page 19: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Try it with devstack!

enable_plugin cloudkitty https://github.com/openstack/cloudkitty masterenable_service ck-api ck-proc

enable_plugin cloudkitty https://github.com/openstack/cloudkitty masterenable_service ck-api ck-proc

enable_plugin cloudkitty https://github.com/openstack/cloudkitty masterenable_service ck-api ck-proc

enable_plugin cloudkitty https://github.com/openstack/cloudkitty masterenable_service ck-api ck-proc

enable_plugin cloudkitty https://github.com/openstack/cloudkitty masterenable_service ck-api ck-procR

atin

g as

a S

erv

ice

with

Clo

udK

itty

✂✂

Page 20: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Visit us Booth #T66

Design Session: Thu 29 2:40Kotobuki room

Page 21: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Thank you

www.objectif-libre.com

@objectiflibre

Stéphane Albert (sheeprine) Christophe Sauthier (huats)

Page 22: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Coming soon

Collector management in Horizon

Page 23: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Coming soon

Metrics description list in Horizon

Page 24: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Coming soon

Metadata description list in Horizon

Page 25: OpenStackSummitTokyo - CloudKitty an Open Source rating and chargeback component for OpenStack

Innovative infrastructure technologies

Your #ID please ?

A 100% Open Source Services

Company

Satisfied clients &Community involvement

ConsultingExpertise

DeploymentsSupport

We Linux #Cloud #Virtualization#Automation

98% of happy traineesMajor OpenStack Contributor

OpenStack 'Starter Packs'Comprehensive training catalog