Before updating to a new version of Amazon Linux, I like to update apps installed on the EC2 instance, you are usually notified of new versions when you SSH to your EC2 instance and tell you which command to run. Update Repos: Update Apps: Check which versions are available: This will give you a list…