WORDPRESS IN THEAMAZON EC2 CLOUDSouthern California WordPress Meetup, May 21st,2013Belsien Thomas, @belsienhttp://wppowerguide.com
WHO AM I? I’m Belsien Thomas (@belsien), building websites with PHP,JAVA, and various programming languages for over 12+ years.Worked with WordPresss since 2006 (version 2.0). Spoken atWordCamp LA. Run a WordPress blog http://wppowerguide.com has guides andtips on how to utilize WordPress as a CMS in powerful ways,other than just a blog. Built free video guided tutorial at http://buildyourwpsite.com , willbe putting up more free tutorials soon. Check out these two sites.
TOPICS COVEREDWhy EC2?Advantages/DisadvantagesWhat is Bitnami?AWS Marketplace 1-Click InstallersCustomize the default setup
WHY RUN ON EC2• Micro instance is free for 1st year, after that basic costs~$15/month (depending on # of services)Cost Effective• Micro instance has 613MB, more than most VPSFast• EC2 is very secure, requires keypairs to connect and securitygroups to open portsSecure• Start with “micro” and ramp up.Scales well
ADVANTAGESCreate an unlimited number of websites, norestrictions on WordPress instancesSame world class infrastructure asAmazon.comAlready PCI Compliant, great for eCommerce!Established and popular, easy to find peoplewho know AWS Systems and API’sEverything can automated.
DISADVANTAGESNo Cpanel, Plesk style software, need to getcomfortable using Virtual Console or RemoteDesktopTakes some learning to understand the “AWSlanguage” (Elastic IP, RDS, etc.)No support from Amazon technical staff unlessyou pay big $$$A bit of a learning curve to setup initially
WHAT IS BITNAMI?Preconfigured virtual server with entire stackLAMP stack setupPopular Linux flavors: Ubuntu 64-bit, Red Hat,etc.Creates default users for Apache anddatabases for MySQLMultiple Setup Options – 1 click installationsCompletely Free software!
AMAZON TERMINOLOGY “Elastic IP” = Static IP By default amazon instances startup with a “Public IP” , not guaranteed to bethe same. Always setup a Static/Elastic IP right after you create an instance. EC2 (Elastic Cloud Compute) = Web Server S3 = Redundant Storage RDS = Redundant MySQL Server (Oracle & MS-SQL also avail)
ENABLE REMOTE ACCESS TOPHPMYADMIN Ready to go but only accessible locally for extra security! Reference See: http://bitnami.com/faq/virtual_machines Edit /opt/bitnami/apps/phpmyadmin/conf/phpmyadmin.conf
MOVE WORDPRESS URL UP TO ROOT(/)Bitnami comes with a built in migration toolsudo /opt/bitnami/apps/wordpress/updateip --appurl /Bitnami installs with WordPress setup as subfolder:http://<domain.com>/wordpress/
THANKS!Find more guides and videos onlineat:http://wppowerguide.comhttp://buildyourwpsite.comTwitter: @belsien