Live data from Hacker News

Poll: What do you use for deploying code?

news.ycombinator.com

41–50 of 65 posts

Re: Poll: What do you use for deploying code?

#41

My preferred approach is to bundle the code into an apt package (or packages) and then use fabric.

can you give more info on how you do this ?

Take a look at http://hynek.me/articles/python-app-deployment-with-native-p...

Re: Poll: What do you use for deploying code?

#42
I have been using http://beanstalkapp.com/ to do automated deployments. Basically it is Github + some nicer deployment features and a corporate repo focus. (Private by default, easy to add / remove / manage account access when adding or removing employees.)

I have experimented with EC2 Beanstalk and AWS OpsWorks. Both are horrible, and I do not recommend them. The documentation is incredibly obscure, with gaping holes for even basic use cases and I found the deployments themselves to be slow to complete, and unreliable, frequently having issues that were extremely hard to diagnose because of hard to access logs and cryptic error messages.

Git is by far the best deployment system in my opinion, especially if you can automate the code to get each server instance to automatically pull when needed.

But for beginners Beanstalk (http://beanstalkapp.com) is the absolute best. It is dead simple to set up a Git repo on the service, and then Beanstalk's servers will automatically deploy via SFTP to servers (or even directly to Amazon S3 for static content, even invalidating CloudFront caches), and you instantly have a secure deployment mechanism out of the box with no fiddling required.

With Node.js code if you are running your server through Forever you can easily configure it to watch the code directory for changes and restart the server when needed. End to end setup is extremely quick, and it is incredibly reliable.

Re: Poll: What do you use for deploying code?

#44
I've actually spent the last 14 hours learning to deploy to ec2 using rubber. It's definitely powerful, and the railscast helps, but I haven't found much in the way of help for doing anything beyond deploying basic apps (for example, working on setting up resque workers right now...)

Before 2 days ago I used Heroku for everything.

PS. Rails.

Re: Poll: What do you use for deploying code?

#45

Has anybody looked into using torrents with git? I've heard a few larger companies use it for fast code deployments across 100's/1000's of servers. I'd be interested in more information on how they do this.

I don't think it's based on git, but twitter has their own bittorrent-based solution called Murder.

https://github.com/lg/murder

Re: Poll: What do you use for deploying code?

#48

Fabric is pretty great - but every time I read about chef I wish I had the time and energy to sit down and learn ruby so I could use it.

also - can anyone comment on what is the closet thing to chef written in the best language every, python :)

http://saltstack.org
Post reply on HN