SlideShare a Scribd company logo
Little fun with cloud API
comparison
lcerveau@nephorider.com
• Our product, Nephorider, wants to provide a one
click visualization of a cloud based infrastructure.
A diagram like in computer school
• This include : Load Balancers, Instances
(including image information), Volumes, SQL DB
basic network information (e.g elastic IP)
• Now how many queries should be made to get
all this info?? We want the shortest time
Context
10 minutes fun with Cloud API comparison
Amazon AWS
• No authentification phase
• Principles: Action+XML
• Usually requests returns all information for an
category of items. The “container” contains all its
content but with no details
• Some questions requires additional calls. Disk
image, is an IP elastic
• 8 regions
Amazon AWS
8*(DescribeInstances+DescribeLoadBalancers
+DescribeVolumes+DescribeDBInstances)
Fixed
Variables
Max(NInstances*(diskimage-id))
+Max(NInstances(checkstatic))
> 42 requests, count 50
Rackspace with Openstack
• Needs one pre-authentication (although it can
last)
• Global call may or not return all informations
needed to draw the graph (cf DB)
• Not always “descending logic” between
“containers” and content. E.g instance to volume
comes with volume info
• AFAIK no concept yet of Elastic IP (see http://
feedback.rackspace.com/forums/71021-product-feedback/
suggestions/998625-configurable-ip-addresses)
• 5 regions
Rackspace with Openstack
Fixed
• /v2/tokens + Authentification
• 5 Regions (volumes/details+/servers/detail+ /
instances (for DB) + /loadbalancers)
Variables
• NLoadBalancer *loadbalancers/LBID for
instances (Node keys)
• Max(NInstances*(image))
• NDB * instances/instance_id/users (for info on
users)
> 22 requests count like 30
Google Compute Engine
• Requires an OAuth dance for authorization, then
with limited token
• At first optimization per region is possible
through /projects/PROJECTID/regions (but
apparently not zones). Returns usage per region
{!
"metric": "CPUS",!
"limit": 24,!
"usage": 1!
},!
• Better there are aggregated calls over all regions
!!!
Google Compute Engine
• APIs have fields so this allow to ask for the
needed information
• Inside an API call URL to the “containee” object
is returned
• Load balancing is not named “per
se” (ForwarwindRule and TargetPool)
Google Compute Engine
Fixed
• /oauth2/token
On Compute Engine
• /project/PROJECT-ID/aggregated/instances/
• /project/PROJECT-ID/aggregated/disks/
• /project/PROJECT-ID/aggregated/targetPools
• /project/PROJECT-ID/aggregated/
forwardingRules
On SQL
• /project/PROJECT-ID/instances/
6 to 8 (images and IP not explored)
Conclusion
• Although format changes (XML versus JSON),
AWS and Rackspace are in same philosophy.
Iterate over regions.
• By itself Rackspace requires even more calls per
region
• Google Cloud Platform is more a next generation
API. This really came as a “last minute surprise”
• We want the other to catch up!!!!!
Thank You!

More Related Content

PDF
Elements for an iOS Backend
PDF
Paris Tech Meetup talk : Troubles start at version 1.0
PPTX
SenchaCon 2016: Building a Faceted Catalog of Video Game Assets Using Ext JS ...
PPTX
Being RDBMS Free -- Alternate Approaches to Data Persistence
PPTX
Introduction to CQRS - command and query responsibility segregation
PPTX
How to Build Your First Web App in Go
PPTX
Mcknight well built extensions
PDF
Kubernetes
Elements for an iOS Backend
Paris Tech Meetup talk : Troubles start at version 1.0
SenchaCon 2016: Building a Faceted Catalog of Video Game Assets Using Ext JS ...
Being RDBMS Free -- Alternate Approaches to Data Persistence
Introduction to CQRS - command and query responsibility segregation
How to Build Your First Web App in Go
Mcknight well built extensions
Kubernetes

What's hot (20)

PPT
Scalability using Node.js
PPTX
DDD, CQRS and testing with ASP.Net MVC
PDF
DEV03 - How Watson, Bluemix, Cloudant, and XPages Can Work Together In A Real...
PPTX
Part 1 of the REAL Webinars on Oracle Cloud Native Application Development
PPTX
Automating Cloud Cluster Deployment: Beyond the Book
PDF
Anatomy of a Modern Node.js Application Architecture
PPTX
SenchaCon 2016: A Data-Driven Application for the Embedded World - Jean-Phili...
PPTX
Asynchronous programming in ASP.NET
PDF
Reactive Software Systems
PDF
Building an Angular 2 App
PPTX
Automation intro
PPTX
PDF
Play concurrency
PDF
Third Party Auth in WebObjects
PPTX
Lessons Learned from Building a Multi-Tenant Saas Content Management System o...
PPTX
PDF
NetflixOSS season 2 episode 2 - Reactive / Async
PDF
Fighting Against Chaotically Separated Values with Embulk
PDF
Async and Non-blocking IO w/ JRuby
PPTX
Scalability using Node.js
DDD, CQRS and testing with ASP.Net MVC
DEV03 - How Watson, Bluemix, Cloudant, and XPages Can Work Together In A Real...
Part 1 of the REAL Webinars on Oracle Cloud Native Application Development
Automating Cloud Cluster Deployment: Beyond the Book
Anatomy of a Modern Node.js Application Architecture
SenchaCon 2016: A Data-Driven Application for the Embedded World - Jean-Phili...
Asynchronous programming in ASP.NET
Reactive Software Systems
Building an Angular 2 App
Automation intro
Play concurrency
Third Party Auth in WebObjects
Lessons Learned from Building a Multi-Tenant Saas Content Management System o...
NetflixOSS season 2 episode 2 - Reactive / Async
Fighting Against Chaotically Separated Values with Embulk
Async and Non-blocking IO w/ JRuby
Ad

Similar to 10 minutes fun with Cloud API comparison (20)

PDF
Nodejs - Should Ruby Developers Care?
PDF
3 boyd direct3_d12 (1)
PPTX
Meetup#2: Building responsive Symbology & Suggest WebService
PPTX
AWS Batch: Simplifying batch computing in the cloud
KEY
DjangoCon 2010 Scaling Disqus
PPTX
Survey of the Microsoft Azure Data Landscape
PDF
Unlock the Power of Streaming Data with Kinetica and Confluent Platform
PPTX
DOTNET8.pptx
PDF
What's new in JBoss ON 3.2
PPTX
Cassandra training
PPTX
Webinar: What's new in the .NET Driver
PDF
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
PPTX
OrigoDB - take the red pill
PPTX
Microservices, Continuous Delivery, and Elasticsearch at Capital One
PDF
Nodejs - A quick tour (v6)
PDF
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
PPTX
System insight without Interference
PPTX
ElasticSearch as (only) datastore
PDF
WebObjects Optimization
PPTX
Evolution of a cloud start up: From C# to Node.js
Nodejs - Should Ruby Developers Care?
3 boyd direct3_d12 (1)
Meetup#2: Building responsive Symbology & Suggest WebService
AWS Batch: Simplifying batch computing in the cloud
DjangoCon 2010 Scaling Disqus
Survey of the Microsoft Azure Data Landscape
Unlock the Power of Streaming Data with Kinetica and Confluent Platform
DOTNET8.pptx
What's new in JBoss ON 3.2
Cassandra training
Webinar: What's new in the .NET Driver
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
OrigoDB - take the red pill
Microservices, Continuous Delivery, and Elasticsearch at Capital One
Nodejs - A quick tour (v6)
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
System insight without Interference
ElasticSearch as (only) datastore
WebObjects Optimization
Evolution of a cloud start up: From C# to Node.js
Ad

Recently uploaded (20)

PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Welding lecture in detail for understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Well-logging-methods_new................
PPTX
Sustainable Sites - Green Building Construction
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
PPT on Performance Review to get promotions
PPT
Project quality management in manufacturing
PPTX
Geodesy 1.pptx...............................................
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
R24 SURVEYING LAB MANUAL for civil enggi
CYBER-CRIMES AND SECURITY A guide to understanding
bas. eng. economics group 4 presentation 1.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Operating System & Kernel Study Guide-1 - converted.pdf
Mechanical Engineering MATERIALS Selection
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Welding lecture in detail for understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Well-logging-methods_new................
Sustainable Sites - Green Building Construction
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT on Performance Review to get promotions
Project quality management in manufacturing
Geodesy 1.pptx...............................................
Foundation to blockchain - A guide to Blockchain Tech
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

10 minutes fun with Cloud API comparison

  • 1. Little fun with cloud API comparison lcerveau@nephorider.com
  • 2. • Our product, Nephorider, wants to provide a one click visualization of a cloud based infrastructure. A diagram like in computer school • This include : Load Balancers, Instances (including image information), Volumes, SQL DB basic network information (e.g elastic IP) • Now how many queries should be made to get all this info?? We want the shortest time Context
  • 4. Amazon AWS • No authentification phase • Principles: Action+XML • Usually requests returns all information for an category of items. The “container” contains all its content but with no details • Some questions requires additional calls. Disk image, is an IP elastic • 8 regions
  • 6. Rackspace with Openstack • Needs one pre-authentication (although it can last) • Global call may or not return all informations needed to draw the graph (cf DB) • Not always “descending logic” between “containers” and content. E.g instance to volume comes with volume info • AFAIK no concept yet of Elastic IP (see http:// feedback.rackspace.com/forums/71021-product-feedback/ suggestions/998625-configurable-ip-addresses) • 5 regions
  • 7. Rackspace with Openstack Fixed • /v2/tokens + Authentification • 5 Regions (volumes/details+/servers/detail+ / instances (for DB) + /loadbalancers) Variables • NLoadBalancer *loadbalancers/LBID for instances (Node keys) • Max(NInstances*(image)) • NDB * instances/instance_id/users (for info on users) > 22 requests count like 30
  • 8. Google Compute Engine • Requires an OAuth dance for authorization, then with limited token • At first optimization per region is possible through /projects/PROJECTID/regions (but apparently not zones). Returns usage per region {! "metric": "CPUS",! "limit": 24,! "usage": 1! },! • Better there are aggregated calls over all regions !!!
  • 9. Google Compute Engine • APIs have fields so this allow to ask for the needed information • Inside an API call URL to the “containee” object is returned • Load balancing is not named “per se” (ForwarwindRule and TargetPool)
  • 10. Google Compute Engine Fixed • /oauth2/token On Compute Engine • /project/PROJECT-ID/aggregated/instances/ • /project/PROJECT-ID/aggregated/disks/ • /project/PROJECT-ID/aggregated/targetPools • /project/PROJECT-ID/aggregated/ forwardingRules On SQL • /project/PROJECT-ID/instances/ 6 to 8 (images and IP not explored)
  • 11. Conclusion • Although format changes (XML versus JSON), AWS and Rackspace are in same philosophy. Iterate over regions. • By itself Rackspace requires even more calls per region • Google Cloud Platform is more a next generation API. This really came as a “last minute surprise” • We want the other to catch up!!!!!