实例ELB健康状态一直是“OutOfService”

时间:2017-04-04 10:27:54

标签: symfony amazon-web-services amazon-ec2 elastic-beanstalk

我已将我的应用程序部署在elastic-beanstalk上,但我一直收到以下错误:

实例ELB健康状况已为"OutOfService" 10小时:实例连续至少失败了健康检查的不健康阈值数。

请在这里查看日志文件 - > https://ufile.io/9e94d

main.config

commands:
  01_update_composer:
    command: export HOME=/root && export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update 1.0.0-alpha11

option_settings:
  - namespace: aws:elasticbeanstalk:application:environment
    option_name: COMPOSER_HOME
    value: /root
  - namespace: aws:elasticbeanstalk:application:environment
    option_name: HOME
    value: /root
  - namespace: aws:elasticbeanstalk:container:php:phpini
    option_name: document_root
    value: /web
  - namespace: aws:elasticbeanstalk:container:php:phpini
    option_name: composer_options
    value: --optimize-autoloader

setting.config

option_settings:
  aws:elasticbeanstalk:container:php:phpini:
    document_root: /web
    memory_limit: 2048M
    zlib.output_compression: Off
    allow_url_fopen: On
    max_execution_time: 4000

health check

0 个答案:

没有答案