Sei sulla pagina 1di 45

Cloud Computing

Jumping into the PoolParty

Ari Lerner @ CitrusByte


Why cloud compute?
• Distributed

• Flexible

• Centralization

• Minimization of capital expenditure

• Performance

• Multitenancy

• Shared resourcing
Cool!
What?
Internet

Server

Traditional model
Internet

Server

Server Server

Cloud computing
Internet

Server

Server Server

DB

DB

Or
Internet

Server

Server Server

Transcoder

Or
Internet

Server

Server Server

Facebook App

Facebook App

Transcoder
DB

DB

Or
Internet

Server

Server Server

Server Server

DB

DB
Facebook App

Facebook App

Transcoder

Or
Internet

Server

Server Server

Server Server

DB
Server Server
DB
Facebook App

Facebook App

Transcoder

Scalable flexibility
Cool
Enter
PoolParty
What?
• Not ruby-specific
• Easy cloud computing
• High-level configuration
• DRY
• Extensible
Provisioner

• Simple DSL for designing clouds


• Hassle-free installation
• Write once, use again and again
Maintainer

• Monitors the cloud


• Auto-heals the cloud
Scaler

• Monitors load on the cloud


• Expands the cloud
• Contracts the cloud
• Highly extensible
• Highly configurable
• Plugin-based recipes
History
Open-sourced just under 2 months ago
Overwhelmingly positive response
3 core iterations
Growing number of contributers
Granular-ization of code
Highly extensible
Cool!
How?
➡ Install

➡ Setup

➡ Configure

➡ Deploy

➡ Smile
Install

sudo gem install auser-poolparty


Setup

(sign up with aws at aws.amazon.com)


rake dev:init
(follow instructions)
rake dev:setup
Configure

Options:
a) Create your config/config.yml
b) Write the config on the command-line
Deploy

Deployment is not poolparty specific


Plugins are available now for deployment:
git deploy plugin
cap deploy plugin - coming soon
Smile (DSL)

instance ssh
pool -v clouds_list
pool list
...
Demo
What’s happening now?

• Large core-rewrite
• Expert system, machine learning scaling
• New core cloud-speak DSL
Coming soon

solution :myapp do
cloud :db do
mysql :master => 1, :max_slaves => 4
end
cloud :web do
rails ...
end
cloud :indexing
sphinx ...
end
end
Coming soon

:myapp:
:db:
:mysql:
:master: 1
:max_slaves: 4
:web:
:rails:
...
:indexer:
:sphinx:
...
Get involved

• irc.freenode.net / #poolpartyrb
• http://poolpartyrb.com/resources
• http://groups.google.com/group/
poolpartyrb
• ari.lerner@citrusbyte.com
Questions?
Thank you

Potrebbero piacerti anche