wordpress on amazon ec2

16
WORDPRESS IN THE AMAZON EC2 CLOUD Southern California WordPress Meetup, May 21 st , 2013 Belsien Thomas, @belsien http://wppowerguide. com

Upload: belsien

Post on 10-May-2015

1.150 views

Category:

Technology


2 download

DESCRIPTION

How to setup WordPress on Amazon EC2 with 1-click setup.

TRANSCRIPT

Page 1: WordPress on Amazon ec2

WORDPRESS IN THE AMAZON EC2 CLOUD

Southern California WordPress Meetup, May 21st, 2013

Belsien Thomas, @belsien

http://wppowerguide.com

Page 2: WordPress on Amazon ec2

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 at WordCamp LA.

Run a WordPress blog http://wppowerguide.com has guides and tips 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 , will be putting up more free tutorials soon. Check out these two sites.

Page 3: WordPress on Amazon ec2

TOPICS COVERED

Why EC2?

Advantages/Disadvantages

What is Bitnami?

AWS Marketplace 1-Click Installers

Customize the default setup

Page 4: WordPress on Amazon ec2

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 VPS

Fast

• EC2 is very secure, requires keypairs to connect and security groups to open ports

Secure

• Start with “micro” and ramp up.

Scales well

Page 5: WordPress on Amazon ec2

ADVANTAGES

Create an unlimited number of websites, no restrictions on WordPress instances

Same world class infrastructure as Amazon.com

Already PCI Compliant, great for eCommerce!

Established and popular, easy to find people who know AWS Systems and API’s

Everything can automated.

Page 6: WordPress on Amazon ec2

DISADVANTAGES

No Cpanel, Plesk style software, need to get comfortable using Virtual Console or Remote Desktop

Takes some learning to understand the “AWS language” (Elastic IP, RDS, etc.)

No support from Amazon technical staff unless you pay big $$$

A bit of a learning curve to setup initially

Page 7: WordPress on Amazon ec2

WHAT IS BITNAMI?

Preconfigured virtual server with entire stack LAMP stack setup

Popular Linux flavors: Ubuntu 64-bit, Red Hat, etc.

Creates default users for Apache and databases for MySQL

Multiple Setup Options – 1 click installations

Completely Free software!

Page 8: WordPress on Amazon ec2

AWS MARKETPLACE – 1-CLICK INSTALLERS!

Page 9: WordPress on Amazon ec2

BITNAMI LAUNCH WIZARD

Page 10: WordPress on Amazon ec2

AMAZON TERMINOLOGY

“Elastic IP” = Static IP By default amazon instances startup with a “Public IP” , not

guaranteed to be the 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)

Page 11: WordPress on Amazon ec2

OVERVIEW OF INSTALLATION STEPS

1. Setup a AWS

Account

2. Create a keypair to connect to

server

3. Install 1-click Bitnami installer on

AWS Marketplace

4. Connect & configure default settings

Page 12: WordPress on Amazon ec2

BITNAMI SERVER DEFAULT ACCOUNTS

SSH User: User: bitnami Pass: bitnami

MySQL User: root Pass: bitnami

WP Admin: User: user Pass: bitnami

PHP MyAdmin (basic auth) User: administrator Pass: bitnami

Change your default passwords!....not hard to guess what it is!

Page 13: WordPress on Amazon ec2

LETS DO THIS LIVE!!

Page 14: WordPress on Amazon ec2

ENABLE REMOTE ACCESS TO PHPMYADMIN

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

Page 15: WordPress on Amazon ec2

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/

Page 16: WordPress on Amazon ec2

THANKS!

Find more guides and videos online at: http://wppowerguide.com http://buildyourwpsite.com

Twitter: @belsien