Live data from Hacker News

Discuss HN: How do you deploy?

news.ycombinator.com

1–10 of 14 posts

Discuss HN: How do you deploy?

#1
I was actually pretty surprised after running a search that this topic hasn't really been discussed in detail.

So let's go over the different methods that many of us use. Please explain the method you use to deploy your latest code releases. Do you use continuous deployment, or do you run out weekly/major cycles only.

It would be useful to provide the following...

--------------

[] Your deployment cycles. (ie Continuous or only major releases)

[] Means that you deploy your code

[] Approximate number of servers you deploy to

[] Version control used (if at all applicable to how you deploy)

[] Web technologies used (if applicable to how you manage your deploy)

Re: Discuss HN: How do you deploy?

#5

I use Chef or Puppet for provisioning, and Capistrano or Fabric for deployment. The process varies based on the application, but IMHO the process should be entirely automated (i.e. I shouldn't have to SSH onto a production machine).

I think a lot about this. If you automate the process, you still SSH in to production machines, but implicitly.

If done properly, it should be sufficient to make a package known to your environment and use a remote execution manager like Salt[0] to initiate the update process.

[0]: http://saltstack.org/

Re: Discuss HN: How do you deploy?

#6
I like to git push to my CI server and from there build packages for the env I'm working in. Nice and quick roll back, delete package reinstall. Git pull does not scale well and with Fabric in the wrong hands is really slow.

Re: Discuss HN: How do you deploy?

#7
I like to git push to my CI server and from there build packages for the env I'm working in. Nice and quick roll back, delete package reinstall. Git pull does not scale well and with Fabric in the wrong hands is really slow.

Re: Discuss HN: How do you deploy?

#9
I use Dotcloud (and their hosting) to push my latest code to the servers. Once you have got hang of using dotcloud cli, it's pretty easy to use and saves a lot of time in pushing the code to the servers.
Post reply on HN