Skip to content

Instantly share code, notes, and snippets.

@mikewadhera
Created April 15, 2009 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mikewadhera/95529 to your computer and use it in GitHub Desktop.
Save mikewadhera/95529 to your computer and use it in GitHub Desktop.
pool :involver_rails do
cloud :nginx do
instances 2..2 # binds against 2 elastic IPs
has_package "nginx"
end
cloud :app do
instances 2..12
# calls register_backend(self) on all members of cloud nginx on bootstrap & configure
has_frontend_cloud :nginx
end
cloud :db do
mysql do
...
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment