Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to push my code into AWS EB


I have been facing issue with pushing my ruby on rails code into AWS ElasticBeansTalk server. I first time was able to initialize the EB, commit and push the code and tried to run the EB server. Everything was fine, but after a few commits, suddenly it is raising the exception as following.

remote: error: Unable to create application version: You cannot have more than 500 Application Versions. Either remove some Application Versions or request a limit increase.

I am not able to find what to do with that.
Can anybody help me out to achieve the solution clearly please?
Thanks in advance.

like image 657
VenkatK Avatar asked Feb 18 '14 10:02

VenkatK


1 Answers

The error code suggests you've pushed a very large number of builds onto the Elastic Beanstalk environment. Try going in to your AWS Console, and go to Elastic Beanstalk, and from the Actions button for your application, select View Application Versions.

Most probably, you'll find 500 different versions of your application here. Select as many old ones as you wish, and do Delete to remove these. Then you should be able to continue.

(Of course, if my hunch is correct, a more interesting question is how on earth you've managed to upload 500 different versions of your application. I'm not running Ruby on Rails, so I'm not too familiar with that environment...)

Good luck!

like image 62
joker Avatar answered Oct 01 '22 07:10

joker