Сбой развертывания Elasticbeanstalk - PullRequest
0 голосов
/ 31 января 2019

Я пытаюсь развернуть среду, основанную на докере, которая использует балансировщик нагрузки приложения 1-1 в AWSasticbeanstalk.Я получаю сообщение об ошибке ниже.Казалось, что развертывание было очень хорошо раньше, но по неизвестным причинам новые развертывания терпят неудачу.

2019-01-31 18:52:23    INFO    Environment update is starting.      
2019-01-31 18:53:03    INFO    Deploying new version to instance(s).
2019-01-31 18:53:12    INFO    Successfully pulled node:10.15.0     
2019-01-31 18:57:34    INFO    Successfully built aws_beanstalk/staging-app
2019-01-31 18:57:42    ERROR   Failed to start nginx, abort deployment
2019-01-31 18:57:44    ERROR   [Instance: i-0d4b3811324b90c27] Command failed on instance. Return code: 1 Output: nginx: [emerg] no host in upstream ":8080" in /etc/nginx/conf.d/elasticbeanstalk-nginx-docker-upstream.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
Failed to start nginx, abort deployment. 
Hook /opt/elasticbeanstalk/hooks/appdeploy/enact/01flip.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
2019-01-31 18:57:45    INFO    Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2019-01-31 18:57:45    ERROR   Unsuccessful command execution on instance id(s) 'i-0d4b3811324b90c27'. Aborting the operation.
2019-01-31 18:57:45    ERROR   Failed to deploy application.        

...