TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Poll: What do you use for deploying code?

29 pointsby gosurialmost 12 years ago
I'm researching for a blog post on various deployment tools and would love your input

35 comments

rdtscalmost 12 years ago
Two projects I have been following that I like are Salt and Ansible.<p><a href="http:&#x2F;&#x2F;saltstack.com&#x2F;community.html" rel="nofollow">http:&#x2F;&#x2F;saltstack.com&#x2F;community.html</a><p><a href="http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;</a>
评论 #5866270 未加载
jgautschalmost 12 years ago
I&#x27;ve actually spent the last 14 hours learning to deploy to ec2 using rubber. It&#x27;s definitely powerful, and the railscast helps, but I haven&#x27;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...)<p>Before 2 days ago I used Heroku for everything.<p>PS. Rails.
zbruhnkealmost 12 years ago
I use capistrano for deployment, I mainly like it because I can set up a VPS on any service and have it clone the repo from git, config is almost identical between applications depending on the complexities of each and it can be heavily modified for the clients needs as well.<p>Definitely worth a look
jvoorhisalmost 12 years ago
I&#x27;ll nominate fabric.<p><a href="http:&#x2F;&#x2F;fabfile.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;fabfile.org&#x2F;</a>
NathanKPalmost 12 years ago
I have been using <a href="http:&#x2F;&#x2F;beanstalkapp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;beanstalkapp.com&#x2F;</a> to do automated deployments. Basically it is Github + some nicer deployment features and a corporate repo focus. (Private by default, easy to add &#x2F; remove &#x2F; manage account access when adding or removing employees.)<p>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.<p>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.<p>But for beginners Beanstalk (<a href="http:&#x2F;&#x2F;beanstalkapp.com" rel="nofollow">http:&#x2F;&#x2F;beanstalkapp.com</a>) is the absolute best. It is dead simple to set up a Git repo on the service, and then Beanstalk&#x27;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.<p>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.
评论 #5867113 未加载
bennygalmost 12 years ago
Github is pretty key for getting my code in front of the largest amount of users - and their private repo&#x27;s keep the code that makes it to the app store versioned and accessed between all of my different workstations. Not coming from a CS background, I love their product - so naturally I&#x27;ve moved my own coding habits to using git for personal projects.<p>Unfortunately at work we&#x27;re still on svn...
评论 #5866295 未加载
digisthalmost 12 years ago
Mostly Cap and Git, but Ansible (<a href="http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ansibleworks.com&#x2F;</a>) caught my eye recently for experimentation. Looks very promising.
davidbanhamalmost 12 years ago
Currently Chef. It&#x27;s great for getting a machine in order, but it&#x27;s proven to be a real bear for actually managing deployment of server processes.<p>We&#x27;re working on a deployment manager based on Substack&#x27;s fleet.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;fleet" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;substack&#x2F;fleet</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;PinionTech&#x2F;rear-admiral" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PinionTech&#x2F;rear-admiral</a>
评论 #5866948 未加载
rajivtirualmost 12 years ago
1. Atlassian Bamboo for polling my git repository for changes<p>2. Apache ANT for the build script<p>3. Then back out to a production&#x2F;tarball git repo<p>4. Every load balanced server image has a cron job to poll the production git for changes<p>This way all I( or my team members) have to do is push to git.<p>Everything else is automated. All servers load balancing will keep themselves up to date.
评论 #5867917 未加载
sekmalmost 12 years ago
Infrastructure changes:<p>1. Stash pushes git change notification to bamboo 2. Bamboo checkout git and run cucumber tests on ec2 3. Green tests means puppet changes are pushed to puppet master under staging env 4. Manual build step to push to prod env 5. All affected infra will pickup puppet changes on next run
imjaredalmost 12 years ago
If I&#x27;m just showing off work to clients and pushing things to a staging&#x2F;dev server, a lot of the time I&#x27;ll use grunt-rsync or grunt-sftp to push everything up at the end of my `$ grunt produce` task. For site deployments, I prefer Capistrano since it&#x27;s dead simple.
CJPollalmost 12 years ago
Chef + Caterer (<a href="https:&#x2F;&#x2F;github.com&#x2F;tylerflint&#x2F;caterer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tylerflint&#x2F;caterer</a>)<p>Chef - because it&#x27;s so easy to write cookbooks<p>Caterer - because the push model is clean, and it has a similar workflow to Vagrant.
saosebastiaoalmost 12 years ago
Has anybody looked into using torrents with git? I&#x27;ve heard a few larger companies use it for fast code deployments across 100&#x27;s&#x2F;1000&#x27;s of servers. I&#x27;d be interested in more information on how they do this.
评论 #5866340 未加载
felipesabinoalmost 12 years ago
Just came across dokku this week <a href="https:&#x2F;&#x2F;github.com&#x2F;progrium&#x2F;dokku" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;progrium&#x2F;dokku</a><p>Couldn&#x27;t give it a try yet, but seems rather interesting
dansoalmost 12 years ago
I just started using EC2 BeanStalk. It&#x27;s been surprisingly painful...the system makes sense, but some of the config details are obscure...(using Rails 3.2 and mysql)<p>Shouldn&#x27;t Heroku be on this?
评论 #5865989 未加载
评论 #5866232 未加载
abrudtkuhlalmost 12 years ago
Is anyone using Octopus for .NET stack deployment? <a href="http:&#x2F;&#x2F;octopusdeploy.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;octopusdeploy.com&#x2F;</a>
typicalbenderalmost 12 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;wr0ngway&#x2F;rubber" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wr0ngway&#x2F;rubber</a>
pflatsalmost 12 years ago
I know it&#x27;s 2013 and the state of the art has changed (as have trends) but I&#x27;m kinda weirded out to not see CVS or SVN on here.
评论 #5867910 未加载
mkhpalmalmost 12 years ago
1. Build the debian package 2. Add to private repository 3. Trigger apt-get upgrade on all the servers via any tool or method of choice.
评论 #5867931 未加载
misiti3780almost 12 years ago
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.
评论 #5866239 未加载
callmeedalmost 12 years ago
Can someone explain how Chef works for Rails deployment? Does it replace Capistrano entirely? Suggested tutorials for getting started?
bproctoralmost 12 years ago
Fabric FTW
gijoeyguerraalmost 12 years ago
Jenkins + Powershell in our Microsoft stack.
评论 #5868970 未加载
评论 #5866226 未加载
grandalfalmost 12 years ago
My preferred approach is to bundle the code into an apt package (or packages) and then use fabric.
评论 #5866241 未加载
gavinhalmost 12 years ago
i use a git post-receive hook that calls a bash script and supervisor for small projects
Pewpewarrowsalmost 12 years ago
Fabric to bootstrap new Salt minions, and Salt for the actual deployment.
snambialmost 12 years ago
what is the best tool for java web applications that are built as a war file deployed on tomcat?
jdboydalmost 12 years ago
Call this a vote for Ansible.
itsuartalmost 12 years ago
SVN Commit &#x2F; SVN Update
crdoconnoralmost 12 years ago
Salt
dnmalmost 12 years ago
rsync
评论 #5866242 未加载
TylerEalmost 12 years ago
SCP, and human monitoring.
评论 #5866276 未加载
googyaalmost 12 years ago
Capistrano
chrisgomanalmost 12 years ago
fabric
peterbotondalmost 12 years ago
fossil scm