39. NINJA
SPEED
9 GLOBAL
DATACENTERS
Singapore ⋅ Tokyo ⋅ Sydney ⋅
Sao Paulo ⋅ N. Virginia ⋅ Oregon ⋅
N. California ⋅ Ireland ⋅ Frankfurt
HHVM
WP BOOSTER CDN
43. HHVM IS FASTER PHP-‐FPM
HHVM VS. PHP-‐FPM
TOP PAGE
44. AVERAGE
RESPONSE TIME
1566 ms 3108 ms
NUMBER OF
PROCESSED
REQUESTS
5387 2637
NGINX CACHE
EFFECTIVENESS
15 ms 386830
HHVM PHP-‐FPM
45. HHVM
although slower response,
HHVM is s*ll opera*ng
(un*l the end)
Around 150-‐200 clients,
php-‐fpm is unmeasured &
50x errors were received
HHVM VS. PHP-‐FPM
48. Avg response Zme: 10563 ms
Success responses: 1189
Avg response Zme: 8259 ms
Success responses: 1685
HHVM 3.9
Response *me improved by 20% & the total request
processing number increased by 50%.
HHVM 3.6 VS. 3.9
62. MULTILINGUAL
NEEDS TO BE HIGH SPEED
MULTISITE
HUGE ENTERPRISE
SITE
1 AMIMOTO instance =
can have mul_ple
WordPress installs
Install Mul_lingual
WP plugins
92. can remain with you
even there is no associated instance
returned (and cannot be retrieved)
as soon as you stop a Virtual Machine
OpZonal
When you create a Virtual Machine,
you get a Public IP
No maWer how many Zmes
you stop / start an intance with EIP,
the same IP will conZnue to be available
as the public IP of the Virtual Machine.
If there is no EIP,
each Zme you stop and start the instance,
you get a new Public IP every Zme.
hWp://blog.digitalcube.jp/archives/1870
ELASTIC IP ADDRESS VS. PUBLIC IP ADDRESS
106. ENABLE FLUSH CACHE
FOR AUTOMATIC
CACHE DELETION
FOR MULTI-‐SITE, ACTIVATE
NGINX CACHE CONTROLLER
ON EACH DASHBOARD
hWp://amimoto-‐ami.com/2015/01/25/nginx-‐cache-‐controller-‐configuraZon-‐sekngs/
107. OFF:
Requests per second: 7.73 [#/sec]
ON:
Requests per second: 707.26 [#/sec]
hWps://amimoto-‐ami.com/2015/01/15/c4-‐family-‐added-‐aws-‐ec2/
142. 1. Start PuTTY (from the Start menu, click All
Programs > PuTTY > PuTTY).
2. In the Category pane, select Session and
complete the following fields:
a) in the Host Name box, enter
ec2-‐user@public_dns_name
b) under ConnecZon type, select SSH
c) ensure that Port is 22
Connect from Windows Using PuTTY
143. 3. In the Category pane, expand ConnecZon,
expand SSH, and then select Auth.
Complete the following:.
a) click Browse
b) select the .ppk file that you generated for
your key pair, and then click Open
c) click Open to start the PuTTY session
4. If this is the first Zme you have connected
to this instance, a security alert dialog box
will be displayed. Click Yes. A window opens
and you are connected to your instance.
Connect from Windows Using PuTTY
144. 1. Open your command shell and run the following command:
$ chmod 600 /paths/my-key-pair.pem
2. Next, run the following command:
$ ssh -i /paths/my-key-pair.pem ec2-user@public_dns_name
Connect from Mac or Linux Using an SSH Client
145. Amer login to the SSH run the following command:
$ curl -L https://raw.githubusercontent.com/amimoto-ami/run-
httpd-as-ec2-user/master/run-httpd-as-ec2-user.sh | sudo bash
Run the following command
hWps://amimoto.zendesk.com/hc/en-‐us/arZcles/206552077-‐How-‐to-‐connect-‐Amimoto-‐instance-‐to-‐S-‐FTP-‐client-‐somware-‐
146. SERVER CONNECTION SETTINGS
Server: Instance IP Address
Username: ec2-‐user
Secret key
Path: / var / www / vhosts / {instance name
(opZonal)}
ConnecZon method (Port): SFTP (22)
Connect with (S) FTP Client Sokware
156. DigitalCube Team & What We Do
WordPress, WordCamp +
Amazon Web Services
Our WordPress Story
First Steps with WordPress & AWS
What you can do with WordPress (blog, site,
eCommerce, business)
What you can do with AWS
Why WordPress & AWS
AMIMOTO WordPress HosZng
HHVM & HHVM Performance Tests
AMIMOTO: WordPress + AWS
(Sites, Issues & SoluZons)
How to: EC2 Instance SelecZon
AWS Console / Dashboard
Launch Instance / Virtual Server
Configure Instance
Key Pair
ElasZc IP Address
Set up WordPress
AcZvate pre-‐installed plugins
NGINX Cache Controller Plugin
Scale up & down of instance
Route 53
Terminate Instance
Release ElasZc IP Address
JIN-‐KEI: FREE AWS CloudFormaZon Template