如何避免在AWS弹性魔豆一TooManyApplicationVersion例外? [英] How to avoid a TooManyApplicationVersion exception on AWS Elastic Beanstalk?

查看:148
本文介绍了如何避免在AWS弹性魔豆一TooManyApplicationVersion例外?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近有没有人见证了

TooManyApplicationVersions Exception

AWS弹性魔豆控制台,同时部署新的应用程序版本(战争)?它是如此讨厌,因为它似乎你已经完成后才上传战看到这则消息。

on AWS Elastic Beanstalk console while deploying a new application version (war)? It's so annoying to see this message as it appears only after you have finished uploading the war.

我很想知道为什么这个异常发生什么precautions应该采取避免这种情况?

I would be interested to know why this exception occurs and what precautions one should take to avoid such situations?

推荐答案

您所看到的异常到达的 AWS弹性魔豆你们各自的帐户限制茎,见的错误的<一个href="http://docs.amazonwebservices.com/elasticbeanstalk/latest/api/API_CreateApplicationVersion.html">CreateApplicationVersion [转述] 的:

Cause

The exception you are seeing stems from reaching your respective account limits for AWS Elastic Beanstalk, see section Errors in CreateApplicationVersion [paraphrased]:

      
  • TooManyApplicationVersions - 来电已超过上限值   与他们的帐户相关联的应用程序版本号。
  •   
  • TooManyApplications - 来电已超过了对他们的帐户相关联的应用程序的数量限制
  •   
  • TooManyApplicationVersions - The caller has exceeded the limit on the number of application versions associated with their account.
  • TooManyApplications - The caller has exceeded the limit on the number of applications associated with their account.

目前限制在各自的常见问题解答我有多少应用程序可以使用AWS弹性魔豆运行概述?

The current limits are outlined in the respective FAQ How many applications can I run with AWS Elastic Beanstalk?:

您可以创建最多25个应用程序和 500应用程序版本。通过   默认可以在所有的运行多达10环境您   应用程序。如果您还使用AWS弹性魔豆之外,   你可能不[...] 如果您需要更多的资源,完成AWS弹性   青苗申请表和您的要求将及时评估。 [重点煤矿]

You can create up to 25 applications and 500 application versions. By default you can run up to 10 environments across all of your applications. If you are also using AWS outside of Elastic Beanstalk, you may not be [...] If you need more resources, complete the AWS Elastic Beanstalk request form and your request will be promptly evaluated. [emphasis mine]

由于强调,AWS提供了常用的升级选项,并允许你提交一个要求增加AWS弹性魔豆限制,如果​​你真的需要,许多应用程序版本是可以重复使用依然。否则,你可能只是删除旧的你将不再使用,问题应该相应地消失了。

Solution

As emphasized, AWS offers the usual escalation option and allows you to submit a Request to Increase AWS Elastic Beanstalk Limits, if you really need that many application versions to be available for reuse still. Otherwise you might just delete older ones you will not use anymore and the problem should vanish accordingly.

祝你好运!

这篇关于如何避免在AWS弹性魔豆一TooManyApplicationVersion例外?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆