如何使用Elastic Beanstack配置aws cli配置文件?

时间:2017-11-08 06:37:44

标签: amazon-web-services amazon-s3 amazon-ec2 elastic-beanstalk aws-cli

我使用Elastic Beanstack来部署我的应用程序。在部署期间,我必须运行一些命令。所以我为它准备了.ebextensions脚本。我的脚本做的

  1. python(pip
  2. aws cli
  3. 和一些aws命令,我需要配置aws配置文件(aws configure
  4. 那么如何在aws profile的批处理脚本中使用Elastic Beanstack配置.ebextensions

1 个答案:

答案 0 :(得分:0)

Elastic Beanstalk为命令行界面使用不同的程序。

安装适用于Linux的awsebcli:

pip install awsebcli --upgrade --user

对于Windows:

Install Python, pip, and the EB CLI on Windows

相关问题