Amazon Web Services




Arch Linux AMI for Amazon EC2

April 2, 2013 at 12:00 AM

Update August 21, 2016

I am no longer maintaining Arch Linux images for Amazon EC2, and I no longer recommend using Arch Linux on servers. The attitude in some of the core pieces of the system has become far less disciplined and… what I will in a politically correct way say is more centered around agenda than users or system use.

Specifically the issue that broke this for me is the way versions of pacman since the file reorganization effort remove symlinks in the root path install path of a package. This bug has been brought up several times in pacman’s history. The author and current Arch czar has stated that symlinks are improper and should be replaced with bind mounts. This approach breaks the best practice of being able to separate the OS from the data, and using bind mounts causes disk metrics, analysis and monitoring to misreport. In previous instances, this bug was fixed, however so far this time it is not being addressed.

Read More...

Permanent Link — Posted in Cloud Computing , Amazon Web Services , Arch Linux

Arch Linux Boot Script for Amazon EC2

January 17, 2013 at 12:00 AM

I have an updated Arch Linux image for Amazon EC2 that is systemd. I created a boot script that sets the hostname and root keys. It will even update DNS in Route53 and send you an email letting you know the instance IP.

Released under the MIT license on github.

I am working on cleaning up the base image that I use on Amazon EC2 and publishing the AMI as well.

Read More...

Permanent Link — Posted in Cloud Computing , Amazon Web Services , Arch Linux


Increase Amazon EC2 Reliability and Performance with RAID

May 25, 2012 at 12:00 AM

While I haven’t *knock on wood* had any EBS failures in Amazon’s cloud myself, I have heard the horror stories and that makes me uneasy. Another issue with disks in cloud that I do run into a lot is latency. The disk io in many cases is slower to begin with, and random bouts of latency tend to crop up.

I have addressed both of these problems by deploying RAID 10 on my Amazon EC2 instances. It sounds techie but you don’t have to be a rocket scientist to do this. If you are managing an EC2 instance you can do it and I have published a script that will get you there in a few steps.

Read More...

Permanent Link — Posted in Geek Tactics , Cloud Computing , Amazon Web Services

Update Amazon Route53 via python and boto

April 18, 2012 at 12:00 AM

I wrote a python script to update DNS on Amazon Route53. You can use it on dynamic hosts by putting it into cron, or on boot for cloud instances with inconsistent IP addresses.

It uses the boto Amazon Web Services python interface for the heavy lifting. You’ll need that installed. (Arch Linux has a python-boto package)

You need to edit the script to place your AWS credentials in the two variables near the top of the script (awskeyid, awskeysecret). Then it’s ready to go.

Read More...

Permanent Link — Posted in Geek Tactics , Cloud Computing , Amazon Web Services