Update Platform (Linux Version) on AWS Elastic Beanstalk

1. Update by clicking on the button.
if its not worked.

We will update via AWS CLI
2. Check available stacks
    aws elasticbeanstalk list-available-solution-stacks
    Suppose if the available stack is "64bit Amazon Linux 2018.03 v2.10.1 running Ruby 2.5 (Puma)"

3. Update Via CLI
    aws elasticbeanstalk update-environment --solution-stack-name "64bit Amazon Linux 2018.03 v2.10.1 running Ruby 2.5 (Puma)" --environment-name "vigoroom-staging" --region "us-west-2"

4. EB Deploy

5. Rebuild Environment.


** Note
Check if pip3 is installed
pip3 --version
if its not installed, run
sudo apt install python3-pip


Check if AWS EB CLI is installed
eb --version
if its not installed, run
pip install awsebcli --upgrade --user

Comments