gpt4 book ai didi

amazon-web-services - AWS Elastic beanstalk - 更改解决方案堆栈名称

转载 作者:行者123 更新时间:2023-12-04 12:07:59 26 4
gpt4 key购买 nike

我有一个在 AWS 上运行的弹性 beantalk,即“运行 Tomcat 7 Java 7 的 64 位 Amazon Linux 2013.09”。
我想在不重新配置完整环境的情况下升级到 2014.03 解决方案堆栈名称。

我尝试新建一个环境,加载旧的环境配置,但是加载的时候,把linux版本改回了2013.09。

请指教。

谢谢
塔尔

最佳答案

更新

Elastic Beanstalk 发布 2015-03-30引入了对就地支持 Upgrading the Elastic Beanstalk Environment's Platform Version ,这大大简化了使任何特定平台保持最新的过程(更改平台又名解决方案堆栈名称,例如从 Go 1.3 到 Go 1.4,仍然需要初始答案中概述的方法):

When a new version of your environment's the section called “Supported Platforms” is available, Elastic Beanstalk shows a message in the environment management console and makes the Change button available.

[...]

  1. Navigate to the management console for your environment.
  2. In the Overview section, under Configuration, click Change.
  3. On the Update Platform Version page, click Platform, and then click the platform version that you want the environment to use.
  4. After you choose the platform version you want to use, click Save.


初步答复

标准解决方案堆栈更新程序通常在解决方案堆栈公告中概述,例如参见 Announcement: AWS Elastic Beanstalk announces updated application containers and R3 instance type support (听起来你基本上遵循了这个程序?):

To migrate an existing environment to the newly released platform version follow the steps below:

  1. Log in to the AWS Management Console and select Elastic Beanstalk from the list of services.
  2. Find the application you want to migrate and then click the Actions button next to the application name.
  3. In the drop-down menu, select Launch New Environment.
  4. Click the appropriate Predefined configuration and Environment type, and then click Continue. (NOTE: Elastic Beanstalk will select a default version of the configuration. You can click Change Defaults to choose a different version.)
  5. In the drop-down menu, choose the application version that you want to run on the updated environment.
  6. Complete the rest of the wizard by choosing the appropriate settings for your application.
  7. Once the environment has launched, test your application to make sure that it works as expected.
  8. On the new environment’s Overview screen, click Actions and then click Swap Environment URLs.
  9. On the swap URL screen, select the old environment that you want to swap URLs with and then click Swap.
  10. Once the swap is complete the new environment will be serving traffic.

关于amazon-web-services - AWS Elastic beanstalk - 更改解决方案堆栈名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23977570/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com