- Newest
- Most votes
- Most comments
I just tested the upgrade via CLI on one of my demo environments (going from PHP 7.4) via the command line update.
Opened AWS CloudShell, and pasted in: aws elasticbeanstalk update-environment --solution-stack-name "64bit Amazon Linux 2 v3.5.0 running PHP 8.1" --environment-id "e-XXXXXXX" --region "XX-XXXXXX-1"
Pressed enter, and it took maybe 2 minutes max - went grey in the console, then came back healthy. Had a total of perhaps 30 seconds of downtime for my application (demo). It automatically created the new instance, and once healthy, removed the old instance.
I've spent vastly longer to accomplish the same thing "manually" via creating a new environment in the console, with far more room for error.
Why doesn't AWS have a button / selection in the console that does exactly this?
Relevant content
- asked a year ago