eb aws.push或eb deploy无法正常工作

时间:2015-07-15 09:06:00

标签: amazon-web-services elastic-beanstalk

我已使用>>> a=np.arange(2,22).reshape(4,5) >>> a array([[ 2, 3, 4, 5, 6], [ 7, 8, 9, 10, 11], [12, 13, 14, 15, 16], [17, 18, 19, 20, 21]]) >>> array_crator(a,(7,11)) array([[ 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5], [ 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5], [ 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10], [ 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10], [12, 12, 12, 13, 13, 13, 14, 14, 14, 15, 15], [12, 12, 12, 13, 13, 13, 14, 14, 14, 15, 15], [17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20]]) >>> array_crator(a,(9,17)) array([[ 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6], [ 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6], [ 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6], [ 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11], [ 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11], [ 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11], [12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16], [12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16], [12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16]]) 设置我的rails应用程序以部署在亚马逊弹性bean上但是当我尝试使用eb init推送应用程序时出现此错误

eb aws.push

当我尝试使用git: 'aws.push' is not a git command. See 'git --help' 时,会显示此错误

eb deploy

然后我找到了修复上面的错误,正在运行此命令Creating application version archive "0_7_0-dev-915-g60d8". ERROR: You cannot have more than 500 Application Versions. Either remove some Application Versions or request a limit increase. 来清理旧的应用程序版本,但它说

eb labs cleanup-versions

如何修复应用程序版本限制错误?

1 个答案:

答案 0 :(得分:-1)

您必须拥有许多应用程序版本。您可以使用AWS控制台手动删除应用程序版本:

AWS控制台/ Elastic Beanstalk / 您的应用 /应用程序版本

  • 选择一些过时的版本并删除它们。