Chef Tips

25 May 2011

One of the best things that came out of using EngineYard Cloud was learning about Chef. Chef has changed my world when it comes to managing servers, and I now wouldn't do any amount of system administration without the kind of automation and scriptability Chef provides. Here are a couple of tips on the reasons for and the benefits of using Chef.

Read the rest of this entry ยป



An EngineYard Cloud Gotcha

16 October 2009

I'm still loving the EngineYard Cloud for my client deployments. I encountered one snag today, though, when cloning an environment for staging: Custom chef recipes do not get cloned along with the rest of the environment.

This means that if you have uplaoded/deployed custom chef recipes for, say, a production environment, and then you clone that environment to one called, say, staging, your custom recipes will not be automagically available in the staging environment. This could be bad if your application depends on something like MongoDB being installed by your chef recipes. :)

The fix is simple. Just upload your recipes using the ey-recipes tool to the new environment once you create it from scratch or via a clone. I would argue that it makes sense to clone the recipes along with the rest of the environment, but at least the workaround is easy.



A Chef recipe for ProFTPD

13 October 2009

I needed to deploy an anonymous FTP server, and of course I wanted to do it using Chef, so I went looking for a Chef recipe to install ProFTPD. Sadly, the lazyweb failed me. So, I did some actual work so the lazyweb won't fail you. :)

Here is the commit that adds a ProFTPD Chef recipe to my fork of the ey-cloud-recipes repo. Enjoy!