If you just want to migrate your current installation to AWS, you can follow the steps for backing up and restoring: Click here.
Once you have the tar.gz file, send it over to your AWS instance, and extract it to the same destination (e.g. if you compressed it in your local machine at
/opt/magento-2.2.4-1, in AWS you must extract it to
Next, start your services:
sudo INSTALLDIR/ctlscript.sh start
If your new instance already had a Bitnami installation, you must disable it:
sudo /opt/bitnami/ctlscript.sh stop
sudo rm -rf /opt/bitnami
I hope it helps!