Skip to content

Instantly share code, notes, and snippets.

@kumekay
Forked from januszm/change_eb_ruby_version.sh
Last active March 19, 2019 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kumekay/83911328776d366c61cc42818d06a704 to your computer and use it in GitHub Desktop.
Save kumekay/83911328776d366c61cc42818d06a704 to your computer and use it in GitHub Desktop.
Change Ruby minor version in AWS Elastic Beanstalk
# Currently (03.2019) 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.
# List of available platforms: https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.ruby
brew install awscli # pip install awscli
aws elasticbeanstalk update-environment \
--solution-stack-name "64bit Amazon Linux 2018.03 v2.9.1 running Ruby 2.6 (Puma)" \
--environment-name "***-dev-web" --region "us-east-1" --profile "***-dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment