我已经使用AWS Web Console设置了一个弹性beantalk应用程序和环境。现在,我需要将此环境的配置复制到另一个区域中的另一个环境。有没有办法做到这一点。有人可以帮我提供详细的文档吗?
您可以通过以下方式将一个弹性beantalk环境配置从一个区域复制到另一个区域。
I-保存环境的配置
1. Open the Elastic Beanstalk console
2. Navigate to the management page for your environment.
3. Choose Actions, and then choose Save Configuration.
4. Use the on-screen form to name the saved configuration. Optionally, provide a brief description, and add tag keys and values.
5. Choose Save.
II-使用第一个区域中的环境初始化EB CLI
III-下载已保存的配置
1. You can download a configuration using the EB CLI eb config command, as shown in the following example.
`eb config get NAME` ; where NAME is the name of your saved configuration.
IV-使用第二个区域中的环境初始化EB CLI
V-将配置文件上传到另一个区域的弹性bean茎环境
1. You can upload a configuration file using following command.
`eb config put filename` ; where `filename` is the name of configuration file without the full path.
The filename must have the file extension .cfg.yml
(Now you can see the configuration in `Saved configuration` in the second environment )
VI-在环境创建期间应用保存的配置(Elastic Beanstalk控制台)
1. Open the Elastic Beanstalk console.
2. Choose an application.
3. Choose Saved Configurations.
4. Choose a saved configuration, and then choose Launch environment.
5. Proceed through the wizard to create your environment.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句