- Newest
- Most votes
- Most comments
Hello,
Thank you for reaching to us.
Elastic Beanstalk does control the environment instances and it runs docker service on the instance itself. Hence when there will be a reboot/ new instance launch, beanstalk will stop/start the docker service. This is because it is part of the environment, so bringing down the instance count to 0 will actually bring down the docker service as well, since there are no instances in the environment to run the service.
Also, please note that Elastic Beanstalk scales up and down the Ec2 instances within the autoscaling group according to the metric that it will be monitoring. So in order for the docker to be UP and running within the Elastic Beanstalk environment, you should need to make sure that the instance count is never going to 0.
Relevant content
- asked a year ago
- asked 6 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Just an update on this, it did seem to be working fairly well but then for some reason EB stopped and started the docker service, whiwch obviously killed my long running job. I'm not sure if it's maybe just because I'd recently set the environment to 0 instances and then put it back to 1.