Created
January 24, 2013 18:22
-
-
Save rottmanj/4626037 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ironfan.cluster 'sweetyhigh_production' do | |
cloud :ec2 do | |
# permanent true | |
availability_zones ['us-east-1d'] | |
flavor 'c1.medium' # change to something larger for serious use | |
backing 'ebs' | |
image_name 'ubuntu-precise-ironfan' | |
chef_client_script 'client.rb' | |
mount_ephemerals | |
end | |
environment :production | |
cloud(:ec2).security_group(:ssh) | |
role :base | |
role :chef_client | |
#role :set_hostname | |
#role :volumes | |
facet :appnode do | |
instances 1 | |
role :rails_app_server | |
end | |
# facet :app_proxy_node do | |
# instances 1 | |
# role :application_proxy_server | |
# end | |
# face :dbnode do | |
# cloud(:ec2).flavor 'm1.large' | |
# instances 2 | |
# role :database_master | |
# end | |
# facet :db_proxy_node do | |
# instances 1 | |
# role :database_proxy_server | |
# end | |
# facet :solr_node do | |
# instances 1 | |
# role :utility_service_server | |
# end | |
# facet :background_job_node do | |
# instances 1 | |
# role :utility_service_server | |
# end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment