我有一个带有amazonlinuxos的EC-2实例,它使用elasticbeanstalk在AWS上运行Flask应用程序,我正尝试使用eb terminate
命令终止我的elasticbeanstalk应用程序。下面是我尝试使用的方法的documentation:
但是,当我运行命令时,得到以下响应:
[ec2-user@ip-172-31-14-25 python2.7]$ eb terminate ecco-app-dev
Invalid command: terminate
我正在运行eb版本2.6.4:
[ec2-user@ip-172-31-14-25 python2.7]$ eb --version
AWS Elastic Beanstalk Command Line Interface v2.6.4
有没有人知道我为什么会收到“无效命令”响应,或者我能做些什么来终止eb应用程序?如果别人能帮我,我将不胜感激。你知道吗
eb terminate
是eb版本的3命令。你知道吗eb 2.6仅支持以下内容:
资料来源:http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cmd-commands.html
eb版本3命令:
资料来源:http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-cmd-commands.html
为了终止我的电子商务环境,我访问了:
https://console.aws.amazon.com/elasticbeanstalk/?region=us-west-2
其中提供给
region=
的值是包含要关闭的环境的区域。在该页面上,您可以轻松地快速停用多个环境:相关问题 更多 >
编程相关推荐