Skip to content
geoffsmith edited this page Sep 13, 2010 · 1 revision

The deploy configuration needs a number of variables to be able to run your farm:

EC2

  • ec2_image_ami: The EC2 image AMI to use for a new instance
  • ec2_key_pair_name: The name of the keypair to use for a new instance
  • ec2_security_group: An EC2 security group (Amazon default is ‘default’)
  • ec2_zone: The zone to use for starting new instances.
  • ebs_size: The size of the EBS volume to create when adding new DB instances.
  • aws_access_key: Your Amazon access key
  • aws_secret: Your Amazon secret key
  • aws_region: The region to use for this farm

Farm

  • farm_db_host: The host with your farm SQL database
  • farm_db_database: The database name
  • farm_db_user, farm_db_password: Username and password for that database.
  • chef_server: The address of your chef server
  • chef_validation: Your chef validation key, so that clients can automatically authenticate themselves with chef.

Database

  • db_user: The username to use on databases on DB instances
  • db_password: … and the password
  • db_database: … and the database name

Other

  • git_host_key: The key of your git host. This is used to add your git host’s key to known_hosts on instances.

Tip: Using SSH-agent forwarding makes your scm configuration much simpler is most cases: set :ssh_options, { :forward_agent => true }

Clone this wiki locally