简体   繁体   English

将AWS Elastic beanstalk部署到不同区域的环境

[英]Deploy AWS Elastic beanstalk to an environment in different region

I'm a little new to Elastic Beanstalk on AWS so forgive me if this is a little newbie.... 我对AWS上的Elastic Beanstalk有点新意,请原谅我,如果这是一个小新手......

But we've got an instance of our product in a new region (EU) and I'm unsure how to bind a specific git brand to deploy to that environment? 但我们在新的地区(EU)有一个我们产品的实例,我不确定如何绑定特定的git品牌以部署到该环境? (Using CLI3) (使用CLI3)

If it something best setup in the config.yml? 如果它在config.yml中设置最好的东西?

Many thanks! 非常感谢!

To do it once: eb deploy {environment-name} --region {region-name} 要做一次: eb deploy {environment-name} --region {region-name}

To always deploy to it: 要始终部署到它:

eb init --region {region-name}
eb use {environment-name}

Then use: 然后使用:

eb deploy

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM