This post demonstrates how you can migrate a WordPress site to AWS.
When it comes to hosting WordPress sites on AWS, there are multiple options available to us (as with everything else on AWS :-) This video shows one of the simplest approaches; and that is to use AWS Lightsail.
Lightsail is perfect for small to medium WordPress sites that don't require advanced cloud features. In addition it is easy-to-use and provides low and predictable pricing
From your AWS console select the Lightsail service or enter it in the search box. Once the Lightsail console loads, select "create instance"

In next screen select the default settings i.e
platform: Linux/Unix
Blueprint: Apps+OS - select WordPress
By default, Lightsail is going to create the instance with the default Key pair, if you haven't downloaded and saved in a secure place yet then make sure you do so now


Next select pricing/instance plan. Lighsail gives you predictable monthly pricing and the starting plan is $3.5 per month with 1 month free :-D
Select the instance name and then hit "Create Instance"

Wait few minutes for Lightsail to create the instance
Once the instance is up you should be able to access the WordPress admin panel using <instance-ip>/admin. However to login you would need the password.
The WP admin password is located in a file on the host. So to retrieve that we would have to login.
Select the instance you just created from Lightsail console, on the connect tab select 'Connect Using SSH'

There will be a file in the home directory named 'bitnami_application_password'. Cat that file to output the admin password:
cat bitnami_application_passwordLogin to WP using <instance-ip>/admin. Enter user for user name and password that you retrieved in the above step
Currently the server has a public IP, however it is not permanent. If the server restarts it would change. Therefore next we will assign a static IP to the instance.
Select the Networking tab and click 'Create static IP'

In the next screen select your WordPress instance to attach the IP to and then in the following screen hit 'Create' after specifying a unique identifier for the static IP
