2010年6月22日 星期二

Some useful EC2 command line tools

Since the AWS web console crashes so frequently, using ec2 command line tools is neccessary.

Some useful usage of command line tools:
Look up the AMIs:
where_your_ec2_certifications/ec2-describe-images -o YOUR_12_DIGITS_ACCOUNT_NUMBER

Start up an Instances:
where_your_ec2_certifications/ec2-run-instances AMI_ID -k KEY_PAIR_NAME -g SECURITY_GROUP_NAME

Describe the Status of Instances:
where_your_ec2_certifications/ec2-describe-instances

Terminate an Instance:
where_your_ec2_certifications/ec2-terminate-instances i-xxxxxxxx (your instance id)

My Reference:
http://paulstamatiou.com/how-to-getting-started-with-amazon-ec2

沒有留言: