我想运行 Elastic Beanstalk,仅使用 nginx 来从 EFS 提供文件(也许这有点小题大做?)。
我尝试在不指定 config.yml 的情况下进行设置default_platform:
,但这只会使其默认为 Java 8。
eb create
然后失败
ERROR: Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile.
ERROR: [Instance: i-34a55904] Command failed on instance. Return code: 1 Output: (TRUNCATED)...config/logging.yml
Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile.
Unable to launch application as the source bundle does not contain either a file named application.jar or a Procfile.
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/01_configure_application.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
WARN: Environment health has transitioned from Pending to Degraded. Command failed on all instances. Initialization completed 16 seconds ago and took 3 minutes.
ERROR: Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.
WARN: Environment health has transitioned from Degraded to Severe. Command failed on all instances. ELB health is failing or not available for all instances.
ERROR: The operation timed out. The state of the environment is unknown. The timeout can be set using the --timeout option.
因为没有可用的 Java 应用程序。
有没有办法设置一个只运行 nginx 而没有任何平台支持的弹性 beantalk 环境?