Connecting a Git Repository to Amazon S3 and AWS Services
aws.amazon.com
aws.amazon.com
But instead it is a webhook which reacts to pushes on a repo.
[0] https://github.com/jelmer/dulwich/blob/master/README.swift.m...
Edit: title has been improved in the meantime
0: http://download.eclipse.org/jgit/docs/jgit-2.0.0.20120613090... 1: https://git-scm.com/docs/git-remote-helpers
OVH has nicer prices for roughly same specs eg. 2cores 8GB ram at I think $16/mo but that detachable/scalable is really nice without data loss on server configs.
Yeah good point about the year, I was surprised when I was charged the $99.99 for Amazon Prime haha
yeah I run a vps too, multiple domains but I do like that functions as a service approach.
I unfortunately started with GoDaddy haha hilarious, overpriced that economy $1 thing garbage.
Just my opinions but yeah... had some caching problems too wouldn't replace the content ahhhhh. Saying it was my fault "flush dns" I'm testing with Tor externally in other countries. Also I'm using Ubuntu no flushing required I don't know.
Edit: moving up to t2.medium was because I implemented defuse/php-encryption and it took a toll encrypting decrypting, didn't help I had a dumb mistake where the cloning of data was stacking and not deleting so it was getting longer and longer... I know can use a better language but PHP is what I know at this time. I was able to drop back down to a t2.small but damn MySQL man... uses so much resources... with 2GB RAM it's idling like at 1.4GB or something... it just grows. I know you can tweak the settings. It's built on WordPress, I'm suggesting to strip the function of the site out of WordPress but future improvement.
Edit: not crapping on WordPress the plugins/dynamic aspect is cool and if I thoroughly understood it my shit wouldn't be so janky. I interfaced with an Evernote Sync plugin and was surprised the comments were in chinese haha but it's PHP so I could read the code.
Using memcache(d) was cool, yeah it was a cool job all in all.
Edit: You know what's hilarious is HIPAA compliant servers DAMN! That's expensive, I clearly was not using HIPAA servers as those were $300 - $600/mo at least. But not just that but the architecture of the site, I clearly expressed that I am not a security expert. But AWS goes over a bit on the design of separating interface with the storage of data. At least we've got zero-knowledge design of everything encrypted... that's kind of a problem in a way too, when the key-obj to encrypt is not known and you've got strings that you can't decrypt and you start getting "failed to decrypt" error messages like "oh shit..." I think that was just an initial config though hopefully.
Had a recent never-ending loop problem wow... you can watch the server spike to 100% CPU usage in HTOP and you're like "ah crap something's wrong"
That's funny. I'm curious what's the catch besides someone else hosting your data of course that's ridiculous/how do you explain using everything else...
Good point and thanks. Would trust their setup more than mine, speed up the learning process too but it wasn't bad setting it up.
Thanks a lot, would speed up the process not worrying about the permissions/setting it up. Still have to read some guides on Git but yeah I appreciate the tip.
I also like that it's not on the same server as the production server just because that one has limited resources at this time. Granted again it's just me.
edit: the one for $30/mo on AWS is 2 Core, 4GB RAM, like 30GB space, what specs are you getting for that price? For me roughly that (though $ is not as strong) that's what I mentioned above through OVH.
https://news.ycombinator.com/item?id=14247795
> notamy: I have an application on OVH (on the USD $3.50/month plan) that pushes/pulls >10TB/month
That entire discussion is recommended for anyone looking for a cheap VPS.
For Hetzner as mentioned, once you exceed the included bandwidth (which for most VPSs and servers is 2-3TB at least per month), it costs less than 2 euro/month extra.
This isn't likely to affect you for a personal git repo, but mentioning it as it's one of the things that often burn people with AWS, as the AWS bandwidth rates are crazily high to the point where for high-bandwidth applications even if you want/need to use AWS it's sometimes cheaper to run your own CDN in front of it to reduce bandwidth charges.
My order of preference if I don't need AWS specific services tends to be Hetzner, OVH and Digital Ocean, depending on what additional geographical regions I need (Hetzner is only in Germany) or other service requirements.
AWS is great for specific use-cases as long as you keep a close eye on costs.
Thanks for the tip, I wasn't even considering bandwidth. I think when I first was setting up EC2 I got a "bad batch" if that's a thing, I should say instance. I couldn't figure out why the TTFB was varying from 3-5 seconds I tried so many things eventually I had to switch and since I didn't have elastic IP I think, I switched servers (regions) to whatever I was assigned on restart and it was instant/correct like in the 10s/100s ms range. Anyway I'll keep an eye on that, don't have users yet but something to keep in mind, thankfully not really serving media mostly text.
I don't know I am often wrong, just need to learn how to deal with it, the proper thing is to accept/thank/learn move on haha.
Assuming you like them, trust them, etc. My home "server" was... "reclaimed" recently and until I buy new hardware I really should get my shit up and running again.
But setting up a git server is so easy if you don't care about having a UI like github or gitlab. Git talks SSH, so pretty much just spin up a VPS, get it SSHable, then install git, create a bare repo, and push to that path.
Also I agree that emailing patches seems like an archaic way to do things, but that's how Linux handles PRs.
Yeah, no thanks, if i'll have to spend money on an EC2 instance to run my mirror, i rather use this ec2 instance to run the mirror itself (no need to spend more money with codecommit on my usecase). Also, it's really strange that codecommit doesn't offer this option, i know gitlab does.
[1]https://aws.amazon.com/blogs/devops/replicating-and-automati...
ssh user@rsync.net s3cmd get s3://rsync/mscdex.exe
ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd"
So you could run a cron job that would clone a repo to your rsync.net account and then publish (or backup) that repo to an s3 account.Or whatever.
You are suggesting the exact opposite.
I just pasted those two example commands in that order because that's what order they are in on our howto page...