服务器 频道

云计算实战:Amazon EC2之初体验

Cleaning Up

16. 运行如下命令注销AMI

C:\EC2\bin>ec2-deregister <your-s3-bucket>

17. 运行如下命令从Amazon S3上移除你的AMI

bash-3.2#ec2-delete-bundle -b <your-s3-bucket> -p image -a <aws-access-key-id> -s <aws-secret-access-key>

18. 中止你的实例。一旦你的实例启动后,你就必须为它消耗掉的资源付钱。如果你决定不再使用它了,最好中止掉它

C:\EC2\bin>ec2-terminate-instances i-c3f31eaa
INSTANCE i-10a64379 running shutting-down

或直接关闭你的实例
bash-3.2#shutdown –h now

相关连接

? Amazon EC2 Getting Started Guide (API Version 2007-03-01)
http://docs.amazonwebservices.com/AWSEC2/2007-03-01/GettingStartedGuide/

? Setting up and Running Amazon EC2 from Windows
http://developer.amazonwebservices.com/connect/servlet/KbServlet/download/583-102-1043/ec2-tutorial-transcript-from-castingwords.html

0
相关文章