我正在尝试使用 boxfuse 在 AWS 上运行我的 Spring Boot 应用程序。我遵循了Spring 的以下教程(第 54.4 节)以及Boxfuse的入门。
当我运行以下命令时
boxfuse run target\digigram-0.1.0.jar -env=prod
我得到以下几行
Waiting for AWS to boot Instance i-74fe7fc8 and Payload to start at http://52.28.94.159:8080/ ...
WARNING: Healthcheck (http://52.28.94.159:8080/) returned 404 instead of 200. Retrying for the next 120 seconds ...
Terminating instance i-74fe7fc8 ...
它以
Destroying Security Group sg-0ed6f667 ...
ERROR: Deployment of pantera160/digigram:0.0.0.1453900589995 failed in prod:Payload of Instance i-74fe7fc8 came up at http://52.28.94.159:8080/
with HTTP 404 (expected 200) => ensure your application responds with an HTTP 200 at http://52.28.94.159:8080/ or adjust the healthcheck configuration (healthcheck.path, healthcheck.timeout, ...) to fit your application
ERROR: Running pantera160/digigram:0.0.0.1453900589995 failed!
我不明白问题出在哪里。我是否必须更改 AWS 或我的应用程序中的某些内容或...
任何帮助将不胜感激。
注意:
我正在使用 AWS 的免费计划,这可能是问题所在吗?