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

From: Brian C.
Sent on: Tuesday, September 18, 2012 12:05 PM
I've also used amazon's cloudformation + capistrano with reasonable success. I wrote a gem that generates formation files and integrates with the aws cloudformation api if you want it. Pretty hacky right now though. The nice thing about it is you can easily start with the base jeos linux ami's from amazon that they keep up to date so keeping your stack fresh is pretty easy.

Brian


On Tue, Sep 18, 2012 at 11:50 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.

  • Primedia

    hosts the coding group meetings

  • Big Nerd Ranch

    is sponsoring the group and organizes the monthly meetup!

  • ATDC

    provides space for meetings.

  • Emcien

    sponsors the Intermediate Ruby subgroup

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