Elastic Beanstalk Environment Stuck in Updating State

Question by malero

My elastic beanstalk environment has been stuck in the 'Updating' state for more than 6 hours after attempting to deploy. I've tried destroying instances, and changing many different configuration options and nothing will take it out of the 'Updating' state. I cannot abort the current operation either, it says that it's not in the correct state to abort the current operation.

Answers

  • I ended up doing the following to get my environment back up and running:

    
    eb clone <environment-name>
    

    Test it and make sure everything is okay. I had to modify a few security group settings for my new environment to have access to them.

    
    eb swap <environment-name> <new-environment-name>
    

    Answered by malero