3. PantaRei Design
● Hong Kong based Free and Open Source Software (FOSS) service
provider
– Content Management System (CMS) with Drupal
– Cloud hosting with Amazon Web Services (AWS)
● Business Partnership
– 2012 - AWS Consulting Partner
– 2013 - Acquia Partner
– 2013 - Atlassian Experts
– 2014 - Rackspace Hosting Partner
● FOSS Contributor
– 2008 - Hong Kong Drupal User Group Co-founder
– 2012 - Drupal Services Provider
4.
5.
6.
7.
8.
9. Outline
● Web Application Hosting
● Fault Tolerance & High Availability
● Related Drupal Modules
10. Web Application Hosting
● LAMP
– a.k.a. Linux, Apache, MySQL and PHP
– Most common system architecture for Drupal
● Ubuntu 14.04 LTS
– Apache 2.4
– MySQL 5.5
– PHP 5.5
– Drupal 7.x compatible
11. Web Application Hosting (cont.)
● Virtualmin
– http://www.virtualmin.com/
– FOSS Web-based system management GUI
● Manage (almost) everything for virtual hosting
– DNS (Bind9)
– Mail (Postfix) + spam filter (Spamassassin) + virus filter (ClamAV)
– Web (Apache) + PHP
– Database (MySQL, PostgreSQL)
● Our one-line script for installation (Ubuntu 14.04 LTS):
– https://github.com/phpshift/virtualmin-installer
12.
13. Web Application Hosting (cont.)
● AWS (Amazon Web Service)
– CDN (Content Delivery Network)
– AZ (Available Zone)
– RDS (Relational Database Service)
● Can scale-out and scale-up in a flexible style
– EC2
– Elastic Load Balancing
– Auto Scaling
14.
15. Fault Tolerance & High Availability
● Hot Spare ($$$$$)
– Real-time sync and replacement on failure
– Usually combine with performance scale-out
● Warm Spare ($$)
– Maybe async and replace during failure
– May not as powerful as master setup
● Cold Spare ($)
– Usually periodically backup to similar setup
– May even just backup useful data for restore
– Need more time for resume during failure
16. Fault Tolerance & High Availability
(cont.)
● About 99.99%
– 1m (weekly), 4m19s (monthly) or 52m33s (yearly)
● Solution
– Implement multiple layer, e.g. web, application,
database, storage, etc
– Each layer coming with failover and recovery
solution
– e.g. MySQL in master-slave replication (or AWS
RDS)
22. I Need More Help!
● Read documents from Drupal Community
– https://drupal.org/documentation
● Join Hong Kong Drupal User Group
– Event organizing: http://www.meetup.com/drupalhk
– Technological discussion: https://groups.drupal.org/drupalhk
– Business connection:
http://www.linkedin.com/groups/?gid=6644792
– General sharing: https://www.facebook.com/groups/drupalhk
● Contact us for one (1) month free-trial support service
– http://pantarei-design.com/services/support/#support-service-plan
s
23. Thank You
● Please feel free to contact us:
– Unit 207, 2/F IC Development Centre, No.6 Science
Park West Avenue, Hong Kong Science Park,
Shatin, N.T.
– +852 3576 3812
– http://pantarei-design.com/
– sales@pantarei-design.com