Request a Quote

Changing the Platform version in Elastic Beanstalk application

Changing the Platform version in Elastic Beanstalk application

September 5, 2018 at 6:07 pm By Rishil Shaji
AWS Elastic Beanstalk is a cloud deployment and provisioning service which automates the process of getting applications up and running on the Amazon Web Services infrastructure. It supports environments such as Java, PHP, Python, .Net, Node.js, Ruby and Docker on familiar servers such as EC2, S3, SNS, ELB, and Auto-scaling. On configuring the Elastic Beanstalk with the latest Platform version and you prefer to downgrade the platform version you must follow certain steps. These steps are being used if we are not able to change the latest version directly via a change in the configuration in the dashboard via GUI.

Steps for changing the platform version in Elastic Beanstalk

  • Navigate yourself to the S3 bucket corresponding to the Elastic Beanstalk.
  • Find the corresponding configuration file in the Elastic Beanstalk bucket in S3.
    1. It can be found in the Corresponding Bucked related to the Elastic Beanstalk.
    2. Inside the bucket find resource object then, template Object.
    3. In the template object, we can see the applications that are configured in the Elastic Bean.
    4. Select the appropriate application object in the S3 bucket and Download the conf file inside the template which is inside the application object.
  • Edit the platform arn now points to points to the Elastic Beanstalk new platform.
    • For eg: changing the PHP version from 7 to 5.6
  • Update the platform arn to points to the Elastic Beanstalk PHP 5.6 platform.
    • change to
  • Once the files been updated, upload the configuration file to the corresponding location where the configuration files are been placed.
  • After the successful upload. Navigate to Elastic Beanstalk.
    1. Then click the action button on the top right corner located inside the Dashboard.
    2. Click the Load Configuration. ( It takes time to update inside the Saved configuration)
    3. Click on the updated files which were been uploaded to the S3 bucket and click load.
Now we can see that the Configuration is now updated with the new platform version and wait for the health check to complete the validation and good to go.


AWS Elastic Beanstalk makes it even easier for developers to quickly deploy and manage applications in the AWS Cloud. If we deployed an Elastic Beanstalk with the latest platform version, there might come in a situation that we are not able to downgrade the platform version. So we must manually upload the environment platform configuration file and load the configuration of this file and load it to the Elastic Beanstalk. Elastic Beanstalk applies managed updates with no downtime or reduction in capacity and cancels the update immediately if instances running your application on the new version fail health checks.