13 ms·
> Why does a failure mean that I cannot read AND write from BitBucket ? Why are those two things even related ? https://status.aws.amazon.com/ https://status.a
by chrisan 9y ago
> Why does a failure mean that I cannot read AND write from BitBucket ? Why are those two things even related ?
https://status.aws.amazon.com/ https://status.aws.amazon.com/
If there are network issues then it wont matter if you want to read or write to bitbucket
- 013a 9y agoThere are ways to engineer on AWS to basically never go down barring massive, systemic, cross-region failure. Granted, there's no economical way you could self-host a Gittea instance to avoid this.
- ComputerGuru 9y agoIt’s laughably economical to do so, actually. Just not at GitHub/Bitbucket’s scale.
- 013a 9y agoGithub costs $7/mo. Is it more economical than that? Can you seriously say that you can achieve higher cross-region redundancy, for both your instances and storage, than Github can, at a price less than $7/mo? The only way I can think of accomplishing it is to make use of GCP's free f1.micro instance, so you can spin up two of those for pretty cheap in different regions ($3.88/mo). Have DNS hosted somewhere that can resolve to each of your two instances at random ($12/year? Lets's say $1/mo). Then you have instance storage; good luck finding globally redundant block storage for practically unlimited repositories, with backups, for $2.12/mo. Let's just leave network egress charges out of it, since those would be marginal. And let's go ahead and say I value my free time at a conservative $30/hr. It takes me an hour to set this thing up and maintain it every year; horribly conservative. That's an additional $2.50/mo. Maybe you can do it. It isn't laughably economical.
- ComputerGuru 9y agoEconomical does not mean “the cheapest option” or even “still cheaper than GitHub”. I have no argument with you.
- parliament32 9y agoTwo replicated instances across two VPS providers (say, Linode and DigitalOcean), on different continents, $5/mo each. And you'll have spare cycles to run anything from email to a monitoring solution to a build server. How is this not economical?
- 013a 9y agoHow do you access these VPS's? Load balancer? You'll need a globally distributed load balancer as well. DO LBs only have availability tolerance cross-AZ, not cross-Region, and are $20/mo. You might need a GCP Global Load Balancer. How are your git repos stored? Attached block storage? Seriously? Those aren't highly available at all, and it wouldn't even work in your proposed setup because each instance will have its own block storage. No, that won't do. You'll have to implement some form of cross-region replication, possibly blocked by S3 or something. Good luck. Its not easy.