bbc/ey-cloud-recipes-fork

Name: ey-cloud-recipes-fork

Owner: BBC

Description: A starter repo for custom chef recipes on EY's cloud platform. These are for reference, and do not indicate a supported status.

Created: 2015-09-16 15:31:55.0

Updated: 2016-01-13 12:33:14.0

Pushed: 2016-01-13 12:42:50.0

Homepage: http://www.engineyard.com/products/cloud

Size: 9853

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

VIVO Cloud Recipes

This is a customised fork of EY's default cloud recipes provided at: [https://github.com/engineyard/ey-cloud-recipes] Documentation: [https://confluence.dev.bbc.co.uk/display/cps/Engine+Yard+Notes]

Main changes (this list is NOT comprehensive):

1.We are using the mongodb cookbook (`cookbooks/mongodb/recipes/install.rb`)
2.We are killing the nginx server (`cookbooks/main/recipes/default.rb`)

This project needs to be synched with the original repo every month like so:

git remote add upstream https://github.com/engineyard/ey-cloud-recipes
git pull upstream master
git push origin master

To apply any changes

ey recipes upload -e environment_name
ey recipes apply -e environment_name

To install the above ey tool if you don't have it:

sudo gem install engineyard

Please update the below line when you update the project.

Last Updated: 13 Jan 2016

EY Cloud Recipes

Build Status

Introduction

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.

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):

FAQ
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:

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.