Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change Ruby minor version in AWS Elastic Beanstalk
# Currently (2017/2018) it's not possible to change the Ruby 'minor' version (eg. 2.3 => 2.4) using the web console
# However, it's possible using the 'awscli' tool.
brew install awscli # pip install awscli
aws elasticbeanstalk update-environment \
--solution-stack-name "64bit Amazon Linux 2017.09 v2.6.1 running Ruby 2.4 (Puma)" \
--environment-name "myappenv1" --region "us-east-2"
# For Amazon Linux 2
aws elasticbeanstalk update-environment \
--solution-stack-name "64bit Amazon Linux 2 v3.2.3 running Ruby 2.7" \
--environment-name "myappenv1" --region "us-east-2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment