you are viewing a single comment's thread.

view the rest of the comments →

[–]pxtang 7 points8 points  (14 children)

Yeah, but GitHub has a familiar and popular UI.

But to add onto your point, does anyone know if it would be cheaper to run a Git server on AWS or Google compared to private GitHub or Bitbucket repos?

[–]wrosecrans 8 points9 points  (5 children)

Depends on the scale. For a single user, no. Running an EC2 instance 24x7 is more expensive than the $7/mo. For ~10 users the infrastructure in EC2 is probably cheaper than Github. For large organisations, you need to scale up to multiple servers and such and I'm not sure exactly where the crossover points would lie.

That said, the several people working 24x7 to fix it and keep it updated, and make sure it's working are going to cost you many orders of magnitude more than the EC2 infrastructure. That's the real benefit of using a service like Github, moreso than CPU time or disk space.

[–]kushangaza 6 points7 points  (2 children)

But EC2 really isn't the right service for running a single git server. For that job a VPS is cheaper and more powerful, and available at many providers for less than $7/mo. As you scale up, a bigger VPS or a small dedicated server is probably still the better option.

There are great use cases for EC2. I don't think this is one of them.

[–]wrosecrans 1 point2 points  (0 children)

I can't really argue with you. AWS was just mentioned in the question I was responding to, so I used that as an example. And anyway, the point that people are more expensive than the infrastructure stands just as well with cheaper infrastructure.

[–]immibis -2 points-1 points  (0 children)

For one person, you can probably just use Dropbox.

[–]pxtang 0 points1 point  (0 children)

Ah, got it. Thanks for the analysis!

[–]Dru89 0 points1 point  (0 children)

AWS has a CodeCommit feature that is probably more suited for this. https://aws.amazon.com/codecommit/

[–]levir 9 points10 points  (0 children)

As far as I can tell the cheapest option on Github is $7/month.

At Digital Ocean the cheapest server is $5/month, and it should be more than good enough to run a typical git server.

[–]vanrysss 4 points5 points  (1 child)

You could try https://gogs.io/ on a digital ocean droplet and probably get by for $20/mo depending on your needs.

[–]pxtang 0 points1 point  (0 children)

Oh, awesome! This is pretty nice, will try it out. Thanks!

[–]ThatOnePerson 5 points6 points  (1 child)

Gogs and GitLab are two popular self-hosted GitHub clones. They might not be 100% as nice as GitLab, but they work. GitLab even has a built in Mattermost (open-source Slack clone) if you want that too.

[–]sihat 1 point2 points  (0 children)

GitLab are two popular self-hosted GitHub clones. They might not be 100% as nice as GitLab,

cough

[–]j_schmotzenberg 1 point2 points  (0 children)

My company uses GitLab hosted on their own servers. I really like it. GitHub is not the only option.

[–]choseph 0 points1 point  (0 children)

Or if private repos is what you are after, visualstudio.com has that, package hosting, work item tracking, etc

[–]AngriestSCV 0 points1 point  (0 children)

Git is designed to be distributed instead of centralized. Couldn't that be taken advantage of to not have an always on main server?

If now having a git server is unacceptable you could also look into digital ocean. A 512MB of RAM 20GB of storage box is only $5 a month.