Navigation Menu

Skip to content
technicalpickles edited this page Sep 13, 2010 · 14 revisions

Install:


gem install poolparty

Setup your remoter base (ec2, or other) Setting up ec2

Make your manifest


pool generate [name]

Example manifest:

 
 pool :cb do  
   instances 2..5
   ami "ami-1cd73375" #Alestic's base Ubuntu AMI
cloud :app do
apache do
installed_as_worker
has_virtualhost do
name “poolpartyrb.com”
listen("")
virtual_host_entry ::File.join(File.dirname(FILE), “templates”, “virtual_host.conf.erb”)
#We are going to have a repository that is updated across the servers
has_git({:name => “poolpartyrepos”,
:source => “git://github.com/auser/poolparty-website.git”,
:at => “/var/www/poolpartyrb.com”}) do
has_symlink({:name => “/var/www/poolpartyrb.com/public”,
:from => “/var/www/poolpartyrb.com/repos/site”})
end
end
end
end

end

The above example requires the apache plugin

Start


cloud start

Interact


cloud list

Login


cloud ssh