This is an old revision of the document!
Allocate EC2 instance - Amazon Linux 2 instance (t2.small) as of 2018-08
Install apache httpd - yum install httpd.x86_64
Install PHP - amazon-linux-extras install php7.2
Install MariaDB - yum install mariadb.x86_64
Create dump of database from old machine
Log into old machine
Connect to mysql for dump:
Copy web.dump to new machine
Log into new machine and restore
Can set password on db root to some value:
Set up to mount web site store