プラットフォームことはありません。 Elastic Beanstalkで.ebextensions設定ファイルは、ファイル
はので、私は、コマンドを下回ることにより、zip形式(私は春ブートを使用しているため、Tomcatのではないので、私は組み込みのTomcatを使用)java8をzip -r app.zip app.jar .ebextensions
.ebextensionsにはtest.configファイルが含まれています。
files: "/etc/nginx/conf.d/test.conf": mode: "000644" owner: root group: root content: | client_max_body_size 10M;
私はそれぞれのEC2インスタンスをチェックしますが、
/etc/nginx/conf.d/test.conf作らないと私は/var/log/eb-activity.log
[2017-10-15T05:12:32.538Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook] : Starting activity... [2017-10-15T05:12:32.538Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook/01_configure_application.sh] : Starting activity... [2017-10-15T05:12:33.164Z] INFO [2995] - [Application deployment [email protected]/StartupStage0/AppDeployPreHook/01_configure_application.sh] : Completed activity. Result: Executing: /usr/bin/unzip -o -d /var/app/staging /opt/elasticbeanstalk/deploy/appsource/source_bundle Archive: /opt/elasticbeanstalk/deploy/appsource/source_bundle inflating: /var/app/staging/map.jar inflating: /var/app/staging/Procfile creating: /var/app/staging/.ebextensions/ inflating: /var/app/staging/.ebextensions/test.config Executing: HOME=/tmp /opt/elasticbeanstalk/lib/ruby/bin/ruby /opt/elasticbeanstalk/lib/ruby/bin/foreman export supervisord --procfile /var/app/staging/Procfile --root /var/app/current --app application --log /var/log/ --user webapp --template /opt/elasticbeanstalk/private/config/foreman/supervisord --env /var/elasticbeanstalk/staging/elasticbeanstalk.env /var/elasticbeanstalk/staging/supervisor [foreman export] writing: application.conf Executing: /opt/elasticbeanstalk/bin/log-conf -n supervisor -l'/var/log/supervisord.log' -t bundlelogs Executing: /opt/elasticbeanstalk/bin/log-conf -n containerlistener -l'/var/log/eb-container-listener.log' -t bundlelogs
...