14

I'm trying to change the platform on an existing Elastic Beanstalk instance from PHP 7 to Node.js. However, via the AWS Dashboard, I can only change/upgrade the version of PHP.

Is it currently possible to make this change through the dashboard or command line?

mralanlee
  • 479
  • 5
  • 15

1 Answers1

26

I think you can use this solution:

aws elasticbeanstalk list-available-solution-stacks

aws elasticbeanstalk update-environment --solution-stack-name "64bit Amazon Linux 2017.09 v4.4.4 running Node.js" --environment-name "example-env" --region "eu-west-1"
Matthieu
  • 610
  • 7
  • 16