by apinstein · 15y ago · 0 comments
I managed the process, and consider it a success. However, here are some points I would make:
1. It took a long time. Let's be generous and say it took 2-3 man-months of time to set up 4-5 different projects and roles. This was probably 10-20x what it would've taken to set up the servers directly. Why? Learning curve with chef for both our programmer and sysadmin. Figuring out how to make config changes automatable and idempotent.
2. The scale you get from chef is bigger than managing production infrastructure. We now use chef for not only production deployment, but also dev. Once paired with Vagrant, we are able to get new devs up with a complete stack in about 10m of keyboard time. If we need to upgrade to some new version of something, only one person has to deal with the sysadmin; everyone else can just update their box.
3. I think it will save money in the long-term. A good sysadmin is $100/hr+. Unfortunately you have to pay that rate whether they're doing architecture, security review, or just editing text files. With chef, a non-sysadmin resource can generate recipes with just architectural advice and review from a sysadmin. This is much more efficient, especially for small shops where a sysadmin is an expensive and not immediately available resource.
(We recently hired a sysadmin "+").
I interviewed several sysadmins over the years and no one that I deemed competent charged less than $100/hour.
I did find people charging as low as $50/hour but they didn't seem that great, or that reliable, or that available.
For me as well, you pretty much need to trust your sysadmin more than almost anyone else in your company (except people that can sign checks).
Trust comes at a premium.
I will yield that I don't like working with substandard people. I hate having to manage people and am willing to pay a premium for people I trust to work on the right things with the right skills in a timely manner. Besides, it doesn't scale. One of my business goals is to never have middle management.
I am not an experienced sysadmin, but when I feel like I could do a better job than the person I'm interviewing, I consider that substandard.
You could hire someone full time for about $120K a year but then with benefits and employer taxes it will end up being closer to $150K a year anyway.
Although it's very new, I think I'll try out juju.ubuntu.com for my next large deployment instead of sticking with chef or puppet, if only for the flexibility of the hooks-in-any-language thing and a chance to feed my bash fetish.
2-3 months is a long time.
We consistently hear 2-6 weeks to get to full production, with 30-120 minutes for some proof of concept work.
And one of the great things about Puppet is you can start very small - automate the parts that are hardest, most critical, etc., and do bits manually as it makes sense for your problem set.
And yeah, managing dev and prod the same way is absolutely critical for clean deployments.
[1]: http://theforeman.org/projects/foreman/wiki/Screencasts
I don't know what you mean by "execute receipts" however in the video they kick off a puppet run, which makes me think you could similarly kick off a chef run instead.
btw, I am copying your method of managing dotfiles with a Rakefile as we speak.
I counter that while it takes a while to learn chef, it also takes many times more effort to maintain a custom set of shell scripts over the long term