Amazon web services AWS部署失败-jhipster应用程序-EBS

Amazon web services AWS部署失败-jhipster应用程序-EBS,amazon-web-services,amazon-elastic-beanstalk,jhipster,Amazon Web Services,Amazon Elastic Beanstalk,Jhipster,我已经尝试通过直接上传war在AWS Elastic BeanStalk中部署jhipster应用程序。当创建环境时,我得到了这个错误 [Instance: i-08f7c9efd8b2c5476] Command failed on instance. Return code: 1 Output: (TRUNCATED).../util/SystemPropertyUtils.class Failed to execute '/usr/bin/unzip -o -d /var/ap

我已经尝试通过直接上传war在AWS Elastic BeanStalk中部署jhipster应用程序。当创建环境时,我得到了这个错误

 [Instance: i-08f7c9efd8b2c5476] Command failed on instance. Return code: 1 
 Output: (TRUNCATED).../util/SystemPropertyUtils.class Failed to execute 
  '/usr/bin/unzip -o -d /var/app/staging 
  /opt/elasticbeanstalk/deploy/appsource/source_bundle' Failed to execute 
  '/usr/bin/unzip -o -d /var/app/staging 
  /opt/elasticbeanstalk/deploy/appsource/source_bundle'. Hook 
  /opt/elasticbeanstalk/hooks/restartappserver/pre/01_configure_application.sh 
   failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
请建议我下一步做什么

根据jhipster页面中的文档,我还尝试使用了yo jhipster:aws命令

我得到的是缺少credentails配置

我的问题是我在给定的操作中添加了凭据.properties文件 ~/.aws/凭证

表示.aws/credentials/credentials.properties(文件)。文件扩展名是否正确,文件夹结构是否正确

  Create S3 bucket
  Error jhipster:aws

  Missing credentials in config

我不确定您的第一个错误是什么,因为您正在尝试手动设置环境,我们需要信息来重现

关于
yo jhipster:aws
失败,aws凭证文件应位于
~/.aws/credentials
,而不是
~/.aws/credentials/credentials.properties

之后,在Mac/Linux上的~/.aws/credentials或Windows上的C:\Users\USERNAME.aws\credentials上创建一个凭据文件


从文档中:

为了进一步说明,请使用vi并在“~/.aws”文件夹下创建一个名为“credentials”的文件

首先,ElasticBeanstalk应缩写为
EB
。Amazon使用EBS来表示弹性块存储。另外,您可以发布
/var/log/eb activity.log
的内容吗?您可以使用
eb-ssh
登录到您的实例并检索日志,或者从您的开发环境中使用
eb-logs