Wednesday, August 20, 2014

Hosting Wordpress on a AWS EC2 instance


Hosting Wordpress on a AWS EC2 instance



If you want to install Wordpress by hand on EC2. It's a lot of fun to get in to AWS and play around.

Get Wordpress Running on EC2


This tutorial gets you 80% there...

http://stephen-white.blogspot.com/2012/05/how-to-set-up-wordpress-on-amazon-ec2_31.html

But if you are like me, and don't want to putz around with FTP... and you want Full Automatic Upgrades, you need a couple more things.

Enabling Wordpress Auto Updates on EC2


Follow this tutorial to get the permissions right.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hosting-wordpress.html

Then add this to the wp-config.php:

define('FS_METHOD','direct');

Bam! You can upgrade without FTP.

No comments: