Amazon Web Services
User Data for automated RancherOS instances
April 27, 2016
There are a lot of container management services poping up these days and right now Rancher is my choice in solutions (for the moment). One of the coolest accessories to go with this container ranch is RancherOS. The OS is purpose built to do nothing but Docker and, in fact, runs the few required system services in Docker as well. Comming in at a massive 27MB (For v0.4), it’s a perfect choice to run in AWS under something like spot instances and autoscaling. However, if you’re properly autoscaling — you need a way for your new hosts to join the RancherOS cluster… which is where user data (aka cloud-init) comes in.
Hosting a website for $0.10 a month
December 7, 2014
Recently I registered the domain “derp.army” and wanted to host a couple static pages on it, on the quick and cheap. Of course I have a server that works perfectly well, but the less complicated the infrastructure (or the less I have to run), the less headaches for me. The best solution for static websites I know of is AWS S3. Since this is obviously going to be an extremely popular website, we can’t forget to add a CDN in front of it, for that I chose Cloudflare. Here’s how I did it in a few easy steps.
AWS SES + Postfix + DKIM
May 28, 2013
For the last year or so I’ve been using SendGrid to relay all emails coming from my server. I don’t send a lot of emails through the system; it’s mostly notifications from the blog and a few related automated messages. While I like paid version of SendGrid (which I’ve used at work), the free version is lacking a few features and includes an unsubscribe link on emails which is really annoying. I decided to mix things up a bit and give Amazon Simple Email Service (AWS SES) a shot. Along with SES I wanted to configure all my mail to be signed with DKIM, on my server. I hope the internet continues to allow the anonymity it currently does, but that comes with a price (because people are abusive bastards), and that price is trust. DKIM is like trust, for email!
IPv6: Backwater hick to bleeding edge – in a weekend?!
July 14, 2010
So last week, I didn’t know a whole lot about IPv6 (backwater hick — slow and behind the times). After spending a long weekend delving into the world of it, I find out that I’m basically on the bleeding edge already… and that makes me sad. How can I go from not even having used IPv6 to the bleeding edge in a few days? As it turns out, there isn’t much of a distance to go.
WordPress: Smart backups BackWPup and Amazon S3
June 30, 2010
WordPress being as popular as it is, is a very common target for all sorts of evil and dastardly hacks. As such, you should make sure to back it up on a very regular basis. Sometimes we don’t backup because we’re lazy, cheap, or it simply takes too much work. Well, let me tell you about a way to backup your WordPress easily, cheaply, and completely automated: BackWPup. This is a plugin I found that does one thing, and does it well, it runs backups. You can very easily setup BackWPup to backup your all your WordPress files and database to a file on your server. This is a great start, but not the best idea. Now, for those who aren’t in the “know” the best place to have your backups is “offsite” (or not on the same server or in the same physical location as your original data). This means that after the backup files are created, they need to be pushed somewhere else. BackWPup offers you the ability to FTP said files, but if you don’t have another server…this doesn’t help you much. What BackWPup offers, that is a fantastic feature, is the ability to push to Amazon Simple Storage Service (S3). The basic idea is: “Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web.” Most importantly, it is cheap! It is only 15 cents per Gigabyte/Month.