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?
Elastic Beanstalk provides platforms for programming languages (Go, Java, Node. js, PHP, Python, Ruby), application servers (Tomcat, Passenger, Puma), and Docker containers.
The scripts keyword is now used instead of the legacy NodeCommand option in the aws:elasticbeanstalk:container:nodejs namespace. Use the engines keyword in the package. json file to specify the Node. js version that you want your application to use.
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With