tags:

views:

2638

answers:

5

Can subversion be hosted on Amazon's hosted cloud service?

+8  A: 

Sure. Set up an ec2 instance with linux and install svn on that server.

Chris Hynes
+5  A: 

Absolutely - my company hosts a public open source SVN repository and our private repository on an Amazon EC2 instance. You'll want to be careful about data integrity and backups; we store the repository data on an Elastic Block Store volume for resilience, svnsync the repositories to another EC2 instance and EBS volume so that we can quickly bring up a new SVN server if the main one goes down, and also do an offsite backup via svnadmin dump to one of our physical servers just in case the whole cloud goes offline (hey, our source code is our crown jewels after all !)

The only other thing I can think of is that Amazon isn't particularly up to date with the Linux versions that they provide. We run Fedora Core, and the latest version available on EC2 is Fedora Core 8. The version of SVN that's installed via yum on FC8 is only 1.4.2.2, so if you want a newer version like 1.5 you may have to compile it from source.

gareth_bowles
+1 interesting. But is there an advantage (e.g. cost, performance, reliability) over more traditional hosting services? Using two independent hosting services (one main, one backup) seems safer and cheaper at first glance.
Wim Coenen
It depends on your hosting company; Amazon has just introduced "reserved instance" pricing, which really cuts down the cost for a long running instance such as an SVN server. Even with the old pricing, we were saving about half the amount of money we'd previously been paying to Rackspace.
gareth_bowles
A: 

Doesn't EC2 cost about $0.10/minute to keep your server up? (That's what it cost a year ago, the last time I checked.) There are other hosted subversion options that cost significantly less. I used to use cvsdude for about $5-10/month.

Clint Miller
The mininum full price for an EC2 instance is 10c / hour, but you can halve that with Amazon's new "reserved pricing". Still more than cvsdude or some of the traditional hosting services, but worth it for us to get full control over the server.
gareth_bowles
A: 

You can try the hosted Indefero offer. It will cost you $0.007/hour (£49/year). So cheaper than EC2. The day you want to get your own server, you just download all your data, load that in your server, change your DNS entry and go.

As you have the full data export, your forge is under your own domain and Indefero is GPL software, you have no vendor lock-in effect.

Loïc d'Anterroches
+1  A: 

Get a reserved instance at ec2 if you plan on using it for at least a year.

On a one year contract you pay $227.50 + $0.03/hr for a default instance, and on a three year contract it's $350 + $0.03/hr.

If you were to keep them running full time:

  • (0.03*24*365 + 227.50) / 12 = 40.86 / month for 1yr contract
  • (0.03*24*365*3 + 350) / 36 = 31.62 / month for 3yr contract

For full details of the various instance options see http://aws.amazon.com/ec2/#pricing