These articles are not easy to follow and need IT skills to work through, but they show what must be done to use an EC2 instance with WordPress. No liability at all for use of this information.
The following should install s3fs rather than using git and make:
sudo amazon-linux-extras install epel
sudo yum install s3fs-fuse
Article id003: Linux
This is now replaced by Article id005 for PHP7.4
I have had a lot of phpMyAdmin failures when importing SQL backups – never used to have the problem.
I may suggest making DR backups of each section of the tables – e.g. the WordPress tables, the plugin tables per plugin.
This would give ability to rebuild by omitting plugins that fail to re-install.