【发布时间】:2017-09-21 05:06:44
【问题描述】:
我刚刚开始使用 Amazon EC2 Container Service,我正在尝试遵循本指南:
http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_AWSCLI.html
我在 puTTY (ubuntu) 上登录并使用
获取 AWS CLIsudo apt-get install -y awscli
(注意:我是 Mac 用户,对这一切都不熟悉)但是现在当我尝试运行开发指南中的第一个命令时,出现错误:
$ aws ecs create-cluster --cluster-name MyCluster
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:
autoscaling | cloudformation
cloudfront | cloudsearch
cloudtrail | cloudwatch
datapipeline | directconnect
dynamodb | ec2
elasticache | elasticbeanstalk
elastictranscoder | elb
emr | iam
importexport | kinesis
opsworks | rds
redshift | route53
ses | sns
sqs | storagegateway
sts | support
swf | s3api
s3 | configure
help
【问题讨论】:
-
这看起来可能更适合 Ask Ubuntu Stack Exchange。在这里试试:askubuntu.com
标签: ubuntu amazon-ec2 putty aws-cli amazon-ecs