Why does Amazon Elastic Beanstalk take a long time to update my deployment?

I have an Amazon EB. with (Puma, Nginx) 64-bit Amazon Linux 2014.09 v1.0.9 with Ruby 2.1 (Puma).

Suddenly , when I deployed my project, send the following error in my terminal: ERROR: timeout on command completion

Note. It wasn’t before.

I see an event in the console, and this is the log: The environment update operation is completed, but with command timeouts. Try to increase the waiting period. See the troubleshooting documentation for more information.

I am already increasing time without success.

option_settings: - namespace: aws:elasticbeanstalk:command option_name: Timeout value: 1800 

Health takes a long time to put it in green (about 20 minutes), and then it will take another time to update the instance with new changes (aprox, the remaining 20 minutes) (I only have 1 instance).

How can I see other magazines? Any suggestion?

+6
source share
2 answers

This seems like a fairly common elastic layer problem. In short, your EC2 instance is about to hide. What you can do is terminate the EC2 instance on the EC2 control panel, and the bootloader balancer will start a new instance, and this can save your problem. To minimize downtime, you can first start a new instance and then abort your old instance. Just be careful that you lose any ephemeral data, and you may have to reinstall certain dependencies (if they are not in your ebextensions 0

Let me know if you need more help. Check out the aws ebs forum

Cheers biobirdman

+2
source

The problem was RAM in the instance, so I had to change this instance to another.

+1
source

Source: https://habr.com/ru/post/981721/


All Articles