Deploy AWS Elastic beanstalk to an environment in different region

百般思念 提交于 2019-12-22 10:44:19

问题


I'm a little new to Elastic Beanstalk on AWS so forgive me if this is a little newbie....

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? (Using CLI3)

If it something best setup in the config.yml?

Many thanks!


回答1:


To do it once: 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


来源:https://stackoverflow.com/questions/29886795/deploy-aws-elastic-beanstalk-to-an-environment-in-different-region

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!