Elastic Beanstalk stuck for more than 12 hrs
Solution 1:
If you know how to fix the source of problem (for example: change application settings in Beanstalk Environment variables or deploy fixed version of your application), then:
- Go to page Auto Scaling Group, choose your region, find Auto Scaling Group by Beanstalk Environment ID (like e-abcd12345).
- In Details tab, push "edit", set Desired, Min and Max to 0. Remember previous settings.
- In Beanstalk page, wait for message like "Removed instances [i-xxx, i-yyy] from your environment."
- Change settings or deploy your application
- Return Autoscaling settings back.
- Be patient, it may took 5-10 minutes to change Beanstalk health to "Ok".