Upgrade ubuntu 16 to ubuntu 18: AWS lightsail : challenges and solutions

Must read: AWS Lightsail upgrade Ubuntu 16.04 LTS to 18.04 LTS

https://www.cyberciti.biz/faq/aws-lightsail-upgrade-ubuntu-16-04-lts-to-18-04-lts/

Promising:

SSH not working post upgrade to Ubuntu 18.04 from 16.04 [AWS Lightsail]

https://community.bitnami.com/t/ssh-not-working-post-upgrade-to-ubuntu-18-04-from-16-04-aws-lightsail/76827

Instance firewalls in Amazon Lightsail

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail

Well: Upgrade from 2.2.3 to 2.4.1 direct? needs Ubuntu 18 to get php latest. you can just get php though

https://community.magento.com/t5/Magento-2-x-Version-Upgrades/Upgrade-from-2-2-3-to-2-4-1-direct/m-p/462410#M3947

Extensions in Magento 2:
https://devdocs.magento.com/cloud/howtos/install-components.html

How To Manually Upgrade PHP version – Ubuntu Server LTS Tutorial

https://computingforgeeks.com/how-to-install-php-on-ubuntu/

How to Upgrade Ubuntu 16.04 LTS to 20.04 LTS using command terminal

https://www.how2shout.com/linux/upgrade-ubuntu-16-04-lts-to-20-04-lts-using-command-terminal/