February 2009
4 posts
Make and attach an EBS volume on EC2 instance boot
This is all you have to do…
create_mount_ebs() {
# Make and mount an EBS. Note: your instance has to be on us-east-1a.
SIZE="$1" # in GB
log "creating and mounting a $1 GB EBS to /vol"
VOL=`ec2-create-volume -z us-east-1a -s $SIZE | awk '{print $2}'`
# Check for it on a loop..
AVAILABLE="unavailable"
while [ "$AVAILABLE" != "available" ]
do
AVAILABLE=`ec2-describe-volumes $VOL |...
Response to: "Among the stupidest tech articles... →
mrgan:
I’m sorry, did you just defend the use of a web app instead of a desktop app by pointing out a desktop app you use to run your web app?
I sure did. Why does it matter what layout engine is rendering your list view? Does [NSClunkyAssSortInboxBySenderWithinMinutes:10 crashProbability:0.7] imbue some magical properties I wasn’t aware of? Can you tell by the pixels? (PS: open bet:...
The Read Write Problem
LEXATEXY was away for awhile in other countries much of January, but constantly furrowed his brow at a classic but old-new-again problem with data and Retrieving It. How many times has this happened to you:
CUSTOMER: Here’s some data, take it, immediately!
LEXATEXY: Thank you for that data.
CUSTOMER (Within 80ms): Where is my data?
LEXATEXY: Oh, I have it, but i need to do Things with...