Introducing pkgcloud

OpenStack SDK for node.js

Ken Perkins | Rackspace | @kenperkins
Phani Raj | HP Cloud | @phanirajuyn

node.js

Platform built on Chrome's V8 JavaScript runtime.

...uses an event-driven, non-blocking I/O model that makes it lightweight and efficient...

node strengths

Asynchronous workloads, coordination,
integrating multiple systems, provisioning.

node weaknesses

CPU intensive workloads, Maths, non-intuitive patterns

A look to the past

Created by nodejitsu December 2011
initially compute & storage on Rackspace.

Vision: support for multiple providers and a generalized interface.

pkgcloud <= v0.6

  • Compute (Amazon, Rackspace, Azure, Joyent, limited Openstack)
  • Storage (Amazon, Rackspace, Azure)
  • Limited Database support (poorly defined)

Enter Rackspace

Committing to an existing multi-cloud library was better.

Examples: Apache jclouds, fog, and Apache Libcloud.

Enter HP

Originally offered hpcloud-js.

hpcloud-js is now deprecated in favor of pkgcloud

Stamp of Approval

pkgcloud endorsed on developer.openstack.org as the node.js SDK for openstack

pkgcloud today (v1.0.x)

OpenStack in pkgcloud

compute provider

  • Server
  • Flavor
  • Image

Demo

storage provider

  • Container
  • File

Demo

practical examples

Demo

The Future?

Where does pkgcloud go from here?

  • More providers (Google)
  • Broader service support
  • Modular architecture
  • More comprehensive tests
  • Logo, website?

Contributing!

Or we need your help...

#pkgcloud on Freenode IRC, github.com/pkgcloud/pkgcloud on Github

Not yet implmented

  • Load Balancers
  • Images
  • Full Identity
  • Telemetry
  • Something you care about...

Thanks & Q & A!

this deck | github

@kenperkins

@phanirajuyn