Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploy Drupal with Chef

Deploy Drupal with Chef

A lightning talk that shows the process of going from zero-to-Drupal with Chef.

Nathen Harvey

January 14, 2013
Tweet

More Decks by Nathen Harvey

Other Decks in Technology

Transcript

  1. What is Chef? Recipes and Cookbooks that describe Infrastructure as

    Code. Chef enables people to easily build & manage complex & dynamic applications at massive scale • New model for describing infrastructure that promotes reuse • Programmatically provision and configure • Reconstruct business from code repository, data backup, and bare metal resources Chef is an automation platform for developers & systems engineers to continuously define, build, and manage infrastructure. CHEF USES: “ ”
  2. Zero-to-Drupal with Chef •  Configure Vagrant Vagrant::Config.run do |config| config.vm.box

    = "drupal-ubuntu-12.04" config.vm.box_url = "https://opscode-vm…com/…/…/opscode-ubuntu-12.04.box" config.vm.forward_port 80, 8080 # Use this configuration for chef-client and a Chef server config.vm.provision :chef_client do |chef| chef.chef_server_url = "https://api.opscode.com/organizations/learnchef" chef.validation_key_path = "./.chef/learnchef-validator.pem" chef.validation_client_name = "learnchef-validator" chef.add_recipe("apt") chef.add_recipe("drupal") chef.node_name = "vagrant_drupal" end end
  3. Drupal on EC2 •  knife ec2 server create -r 'recipe[apt],recipe[drupal]'

    -f t1.micro -N ec2_drupal -I ami-3d4ff254 -x ubuntu
  4. Thank You •  What questions do you have? •  https://github.com/learnchef/deploy_drupal

    •  Chef Introductory Workshop – Feb 27 – “MEETUP” saves you 10% •  Nathen Harvey •  Technical Community Manager, Opscode •  [email protected] •  @nathenharvey