AWS Elastic beanstalk - change the name of the solution stack

I have an elastic beanstalk running on AWS, that is, "64-bit Amazon Linux 2013.09 running Tomcat 7 Java 7". I would like to update the stack name to 2014.03 without having to reconfigure the full environment.

I tried to create a new environment and load the configuration of the old environment, but when I downloaded it, it changed the Linux version to 2013.09.

Please inform.

Thanks Tal

+6
source share
1 answer

Update

Flexible beanstack release 2015-03-30 introduced on-site support Updating the platform version for the flexible beanstal environment , which greatly simplifies the process of updating any specific platform (changing the platform or the name of the solution stack, for example from Go 1.3 to Go 1.4, still requires an approach described in the original answer):

When the new version of your environment is in the "Supported by Platforms" section , Elastic Beanstalk displays a message in the environment management console and makes the "Change" button available.

[...]

  • Go to the management console for your environment.
  • In the Overview section, in the Configuration section, click Change .
  • On the Update Platform Version page, click Platform , and then select the platform version that you want to use.
  • After selecting the version of the platform that you want to use, click Save .

Original answer

The standard procedure for updating the solution stack is usually specified in the solution stack declarations, see, for example, Announcement: AWS Elastic Beanstalk announces updated application containers and support for R3 instance types (it looks like you basically performed this procedure?):

To migrate an existing environment to a recently released platform, follow these steps:

  • Log in to the AWS Management Console and select Elastic Beanstalk from the list of services.
  • Locate the application that you want to transfer and click the Actions button next to the application name.
  • From the drop-down menu, select Start New Environment .
  • Select the appropriate predefined configuration and Environment Type , and then click Continue . (NOTE: Elastic Beanstalk will choose a default configuration. You can click "Change Defaults" to select a different version.)
  • Select the version of the application that you want to run in the updated environment from the drop-down menu.
  • Complete the rest of the wizard by selecting the appropriate settings for your application.
  • Once the environment starts, check your application to make sure it is working properly.
  • In the new Browse environment, click Actions , and then click Change swap URLs .
  • On the Swap URL screen, select the old environment you want to change the URL to, and click Share .
  • When the exchange is complete, the new environment will serve the traffic.
+5
source

Source: https://habr.com/ru/post/970138/


All Articles