A starter repo for custom chef recipes on EY's cloud platform. These are for reference, and do not indicate a supported status.
Switch branches/tags
11282018 CC-400 CC-509 CC-668 CC-673 CC-674 CC-675 CC-687 CC-745 CC-818 CC-820 CC-843 CC-920 CC-1001 CC-1002 CC-1100 CC-1101 CC-1103 CC-1169 CC-1215-patch-1 CC-1217 DATA-100 DATA-147-new DATA-147 DATA-225 DATA-289 DATA-319 DATA-378 DATA-419-new DATA-419 DATA-507 GD-859 GH350 MongoBackups Support-574-fail2ban Support-574 Support-753 Updating_Mongoid_to_v3 ZD-61225 api-keys-yml-documentation api_tokens aws_cli_cookbook cc-844 clamav collectd-swap-alerts collectd custom_nodejs_recipe data-386 db_ssl descriptive_hostname dj dnapiless_elasticsearch elastic-jdk-update elastic23 emerge-doc emerge-readme extensions9_2 eybackup_slave_readme_upd filebeat fix-sidekiq-daemon flume-jdk-update flume imagemagick iptables jamez01-fix-shared_db knife le_fix_agent_key libmysql logentries-to-rapid7 master memcache-yml-erb-cleanup memcached_yml mongo_license_and_source_link mongoArbiter mongodb_test multi_app_shared_db neo4j newrelic_infra newrelic_plugins next-release nginx-badbot-blocker nginx_rewrite old_riak_recipes packages-cookbook pg_reload_not_restart pg_stat_statements php_newrelic php55 php56 rails-secrets rds readme-ref-v5 redis-cluster redis-match-patch redis-sentinel-pr redis-slave redis refactor refactored-postgis remove_rvmrc riak-update rubygems-update rubygems samanage shared_db sidekiq-memory-limit sidekiq-orphan-monitor sidekiq-patch-20171020-1 sidekiq-readme-patch-1 sidekiq-timeout sidekiq solr-jdk-update solr-recipe-readme-patch solr ssh_tunnel_rewrite travis-ci ts3-solo-fix undoslavebinlogging xforwardfor
Nothing to show
Clone or download
paulasaurus Merge pull request #356 from engineyard/11282018
Fail2ban address typo on default.rb and added missing action on nginx-dos jail
Latest commit 00c930d Nov 28, 2018


EY Cloud Recipes

Build Status


The ey-cloud-recipes repository is a collection of chef cookbooks that setup and configure commonly used tools for ruby applications, as well as cookbooks that can be used to modify parts of the EY Cloud environment.

Note: These cookbooks are for reference, and do not indicate a supported status. For Gentoo 2016 or v5 stack, please see documentation for Migrating Custom Chef Recipes from V4 to V5.

Quick Start Guide

  1. Clone this repository
  2. Uncomment the recipes that you wish to use in cookbooks/main/recipes/default.rb
  3. Make any changes that are mentioned in the individual cookbook's readme.md file
  4. Install the engineyard gem, if you haven't already (gem install engineyard).
  5. Upload your recipes to EY Cloud using ey recipes upload -e ENVIRONMENT, where ENVIRONMENT is the name of your environment.
  6. Run your recipes on the environment using ey recipes apply -e ENVIRONMENT

EY Cloud Documentation

A full guide to customizing your EY Cloud environment with chef can be found at the following URL:

The following pages may also be of some use:

Chef Documentation

Below is a list of chef documentation pages that you may find useful, especially if you are just getting started with chef:

There is also a great RailsCast on the use of chef-solo (however, it is only available to RailsCasts Pro subscribers):


What version of chef is used on EY Cloud?

We use chef-solo on EY Cloud. If you are using the new Gentoo 2012 stack, then you will be using chef 10. If you are running on an older version of the stack, then it will be chef 0.6.

How can I view the recipes uploaded to an environment?

You can view the recipes that have been uploaded to an environment in two ways:

  • You can download the recipes for an environment using ey recipes download, which will be downloaded into a directory called cookbooks in the current directory.
  • You can login to any of your instances and navigate to /etc/chef-custom/recipes/cookbooks, which is the location that your custom cookbooks are located.

An error occurred during my chef run, where can I find the logs?

Next to each instance, on the dashboard, there are two links entitled "Base" and "Custom", the "Custom" link will take you to the chef log for the last run of your custom chef recipes, for that instance.

The chef log for your custom recipes is also located on each instance at /var/log/chef.custom.log