Keywords: Drupal - Amazon Web Services - How to - Upgrade
Because AWS LightSail offers only Drupal 8 AMI, (where I need Drupal 7) I had to install that and then install Drupal 7 on it.
Now I noticed that I am getting errors (in Drupal error log) with my custom modules on this AMI because it has PHP 7.1. (on my other EC2 the same modules does not give errors when using php 7.0)
So my question is how to downgrade 7.1 to 7.0 or install another PHP version to Ubuntu Bitnami AMI on aws Lighsail?
Also want to give feedback, why AWS LightSail does not offer multiple Drupal versions, currently only 8 which I can't use in any of my sites.