addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [ruby-83] Sever bootstrapping and deployment best practices

From: Calvin Y.
Sent on: Tuesday, September 18, 2012 12:16 PM
My opinion is that you're better off just setting up the server yourself and using Capistrano until you have your server architecture fully baked.  At Scoutmob, I originally did the setup for Chef, but it became too cumbersome to maintain and wound up doing a customized build out using Sprinkle (https://github.com/crafterm/sprinkle).  Sprinkle is much lighter weight and doesn't replace Capistrano.  Using Chef to deploy apps is overkill and super slow.  Downside to Sprinkle is that it isn't in active development and doesn't have the community like Chef.  In retrospect I would be more than happy to just manually stand up servers and use Capistrano until we're at a stage where bringing in a devops person makes sense.  



On Tue, Sep 18, 2012 at 11:51 AM, Ho-Sheng Hsiao <[address removed]> wrote:
Chef has a deployment provider that is more or less Capistrano ripped out and shoved in there. 

I don't know if you are using chef server or not, but you can use chef-solo. (Come to think of it, maybe a capistrano setup to drive chef solo?)

I am biased, seeing as how I work for Opscode. There is always Puppet, Ansible (probably over kill for 1-node setups) and CloudFoundery. Cloud Foundery lets you do a DIY Heroku, but it too may be overkill for a small setup. 

I have seen another but forgot the name of it. It is small (X to Chef is like Sinatra to Rails). I have seen it used as a bootstrap to set up Chef client. That was two years ago though. 

-Hosh


On Tuesday, September 18, 2012, Micah Wedemeyer wrote:
Hi all,

I'm getting ready to deploy a Rails app, and I'd like to make sure I'm using the latest and greatest tools.

The plan is to host on EC2, as Heroku will be cost prohibitive for this application. In the recent past, I used Chef and the Opscode platform for bootstrapping and managing the server infrastructure, then Capistrano for deploying. I was pleased with Chef overall, but the initial setup was more laborious than I'd like. I'm sure it would be faster this time around, but it will still take me several hours to get all the cookbooks, recipes, deployment keys, and so forth set up correctly.

Likewise, Capistrano has been good to me over the past several years, but I thought I'd take some time to look around and see if there's been any landscape shifts that I missed.

Is Chef + Opscode + Capistrano still considered a best (or at least "good") practice? What other non-Heroku solutions are people using?

Thanks,
Micah




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Micah Wedemeyer ([address removed]) from The Atlanta Ruby Meetup Group.
To learn more about Micah Wedemeyer, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Ho-Sheng Hsiao ([address removed]) from The Atlanta Ruby Meetup Group.
To learn more about Ho-Sheng Hsiao, visit his/her member profile

Our Sponsors

  • Mandrill

    Sponsors food, meeting space, and other expenses.

  • Pardot

    Sponsors food, meeting space, and other expenses.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy