Cloud Services just launched Cloud Studio which is a java-based desktop application for managing images and instances in Amazon's EC2. I've yet to try it, but from the screenshots, it looks really nice. I'm not sure, though, if it does anything more than the very capable Elasticfox which runs right in your Firefox browser. Cloud Studio is also available as an Eclipse plugin which is really convenient for Java developers and users of the popular open source IDE.
GUI's like Elasticfox and Cloud Studio make working with Amazon EC2 really easy. Now I wish someone would create similar management tools for Amazon's SQS and SimpleDB. I'd like to be able to list, see stats for, and manage my SQS queues and SimpleDB domains, items, and attributes without having to run command line scripts. Hint, hint, Cloud Services!
Showing posts with label cloud computing. Show all posts
Showing posts with label cloud computing. Show all posts
Saturday, May 17, 2008
Tuesday, May 06, 2008
Amazon EC2 - My First Step into the Cloud
Ever since returning from the Web 2.0 Expo in San Francisco last month, I have been excited about learning how to setup a machine in the Amazon Elastic Compute Cloud (EC2). My first goal was just to get a Linux machine running in the cloud on which later I will try to install enough software to get a basic web application running.To learn what to do, I consulted a the Programming Amazon Web Services book which is fortunately available on Safari Online. In parallel I read the Getting Started Guide on Amazon's website. The steps to get a virtual machine running were roughly the following:
- Register for Amazon EC2.
- Download a X.509 certificate private key and public key pair and store them in a ~/.ec2 directory on my computer.
- Take note of my AWS account number.
- Download the Amazon EC2 Command-Line Tools
- Set environment variables: EC2_HOME, EC2_PRIVATE_KEY, EC2_CERT
- Run ec2-describe-images -o self -o amazon to search for images.
- Generate keypair using ec2-add-keypair gsg-keypair
- Fired up the Getting Started AMI with ec2-run-instances ami-2bb65342 -k gsg-keypair
- Open SSH and HTTP ports: ec2-authorize default -p 22, ec2-authorize default -p 80
- SSH into the instance: ssh -i id_rsa_gsg_keypair root@ec2-75-101-209-13.compute-1.amazonaws.com
- Access the instance's web server: http://ec2-75-101-209-13.compute-1.amazonaws.com/
- Shutdown the instance: ec2-terminate-instances i-db6ea2b2
Subscribe to:
Posts (Atom)