Making a development site live, on Amazon EC2

Well, let’s drill down on this situation a little bit:

  1. Do you have git enabled on both environments?
  2. Do you need to migrate the database as well?

Most of the situation depends on how the previous developer has set it up.

Ideally you have different branches in git and you’re merging the develop with the master and then pull the master branch on the live site. Migrating the database is more complicated (I would recommend the WP DB migrate plugin (free from deliciousbrains)

If there isn’t git then you’ll either be forced to manually upload the new files with SFTP you’ll need to your use your ssh key.

Or a little more convenient you can use the migration plugin from before but then it’s premium version. There are other migration plugins too, but they involve more manual configuration.

If you have any more info regarding the setup let me know!