This morning I read about the new Amazone Elastic Compute Cloud service. It's basically a cluster of Xen VPSes, done right.
At least that's what I thought until I actually tried to use it.
Let's see:
- Sign up for AWS
- Sign up for S3
- Create certs
- Download tools
- Export 3 EC2 environment variables
- Oh, hell. Tools are in java. Switch to windows box since I don't have the patience to figure out installing Java 1.5 on debian right now.
- Repeat steps 4-5
- Export JAVA_HOME
- Run ec2-describe-images
- Exception in thread "main" java.lang.NoClassDefFoundError: com/amazon/aes/webservices/client/cmd/DescribeImages
Looks like I get to try to fix the classpath for them. How retro-cool can you get? It's just like 1999!
Bah. Next time, use Python, guys.
update:: Apparently they didn't even bother testing on windows and their script was just plain broken. Way to go.

3 comments:
Shrug. It took me less than twenty minutes - on a Windows machine - from first hearing about EC2 to having an instance up and running apache & mysql with one of my apps on it.
Er, if you're running Debian and you can't figure out how to install Java, perhaps you shouldn't be messing with something like EC2... Or Debian for that matter!
heh. I know this is over a year old, but yeah, if you can't figure out how to install java on debian (which is about as easy as it gets), then I dunno why you decided to tackle this.
It isn't like you need to know java to use these tools. Hell, I hate java(and love Python). But that's hidden from you, with these tools. Gotta think that more people with Windows will have java than python already anyway.
Seriously, what's hard about 'sudo apt-get install sun-java6-bin'?
Post a Comment