SlideShare a Scribd company logo
Barcamp Macau 2014 
Introduction to AWS 
Edison Wong 
2014 Oct 4th
Edison Wong 
● CEO, PantaRei Design 
– hswong3i@pantarei-design.com 
● Drupal developer & contributor 
– https://drupal.org/user/33940 
● HKDUG Co-founder 
– https://groups.drupal.org/drupalhk 
● Startup founder 
– 2009 - PantaRei Design founded 
– 2010 - YBHK applicant 
– 2011 - ITF SERAP applicant 
– 2011 - HKSTP Incu-Tech applicant
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) 
– Team collaborate solution with Atlassian 
● 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
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
Outline 
● What is Amazon Web Services (AWS)? 
● What Can I Do with AWS? 
● Web Application Hosting 
● Fault Tolerance & High Availability
What is AWS? 
● Amazon Web Services (AWS) 
– Cloud computing 
– Infrastructure as a service (IaaS) 
– Provides computing resource and services 
– Pay-as-you-go pricing
What is AWS? (cont.) 
● History 
– 1994: Founded by Jeff Bezos 
● Initial product with online virtual bookstore 
– 2000: Survived the dot-com bubble burst 
● Lots of infrastructure (some said ~90%) idled 
● Need some way to utilize such resource 
– 2003: Why not resell the resource DIRECTLY? 
– 2006: AWS officially launched
Barcamp Macau 2014 - Introduction to AWS
What is AWS? (cont.) 
● AWS Management Console 
– Web-based user interface 
– Access all AWS service in one place 
● https://console.aws.amazon.com/
What Can I Do with AWS? 
● Foundation Services 
– Deploy IT infrastructure in the cloud 
– Compute, storage, database, etc 
● Application Services 
– Add functionality to application 
– Search, messaging, CDN, etc 
● Administration Services 
– Manage AWS resources 
– Identity, monitoring, deployment, etc
Barcamp Macau 2014 - Introduction to AWS
What Can I Do with AWS? (cont.) 
● Route 53 
● CloudFront 
● Simple Storage Service (S3) 
● Elastic Compute Cloud (EC2) 
● Elastic Block Store (EBS) 
● Auto Scaling 
● Relational Database Service (RDS) 
● … and more!!
Route 53 
● Domain Name System (DNS) 
● ONLY provide domain name management 
– You need to register domain name somewhere else 
● USD0.50 per hosted zone / month
CloudFront 
● Content Delivery Network (CDN) 
● Serve content to end-users with high availability and high 
performance 
● Distribute static or dynamic content, e.g. 
– .html 
– .css 
– .js 
– .php 
– Image 
– Video, etc
Simple Storage Service (S3) 
● Stores and retrieves digital files 
● Object storage 
● Can serve static content website DIRECTLY!! 
● NOT FTP!!
Elastic Compute Cloud (EC2) 
● Virtual computing 
– Seems like VMWare, VirtualBox or Virtual PC 
● Resizable computing capacity, e.g. 
– m3.medium: 1 vCPU, 3.75GB RAM 
– m3.2xlarge: 8 vCPU, 30GB RAM (!?) 
● Can run with Linux (e.g. Ubuntu, RedHat) or 
Windows instance
Elastic Block Store (EBS) 
● Block storage 
● Persistent file system for EC2 
● Seems like physical harddisk in PC 
● Up to 1TB per disk 
– Always use LVM under Linux for live 
add/remove/update partition management!!
Auto Scaling 
● Add or remove EC2 dynamically 
● Scale-up or scale-down due to peaks and lulls 
in traffic
Relational Database Service (RDS) 
● Database-as-a-Service 
● Support MySQL, Oracle or SQL Server 
● Support multiple Available Zone (AZ) High 
Availability (HA) setup by default 
– P.S. Multiple instance required (i.e. more $$)
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
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
Barcamp Macau 2014 - Introduction to AWS
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
Barcamp Macau 2014 - Introduction to AWS
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
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)
Barcamp Macau 2014 - Introduction to AWS
Q&A
References 
● http://www.slideshare.net/davinken/amazon-web-servic 
es-history-overview-presentation 
● http://aws.amazon.com/architecture/ 
● http://docs.aws.amazon.com/gettingstarted/latest/awsgs 
g-intro/gsg-aws-intro.html 
● http://docs.aws.amazon.com/cloudhsm/latest/gsg/ha-be 
st-practices.html 
● http://www2.safenet-inc.com/AWS-guides/Luna_High_ 
Availability_and_Load_Balancing_TN2013_revA.pdf 
● http://www.slideshare.net/BarcampSaigonOrganizer/high-availability- 
how-to-get-9999-service-availabilty-desig 
ning-clusters-dos-donts
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

More Related Content

PDF
Hong Kong Drupal User Group - Sep 13th
PDF
Rich storytelling with Drupal, Paragraphs and Islandora DAMS
ODP
Hosting Drupal on Amazon EC2
PDF
Scaling drupal on amazon web services dr
PDF
Amazon Web Services Building Blocks for Drupal Applications and Hosting
PPTX
Kubernetes talk at DDDSydney 2017
PPTX
Share point 2013 on azure
PDF
Simple cloud reference architecture
Hong Kong Drupal User Group - Sep 13th
Rich storytelling with Drupal, Paragraphs and Islandora DAMS
Hosting Drupal on Amazon EC2
Scaling drupal on amazon web services dr
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Kubernetes talk at DDDSydney 2017
Share point 2013 on azure
Simple cloud reference architecture

What's hot (20)

PPT
Ruby Setup
PPTX
Microsoft Azure Media Services
PPTX
Scaling Drupal & Deployment in AWS
PDF
Final melnyk 2
PDF
Cloud Computing: AWS for Lean Startups
PDF
SAP Open Source meetup/Speedment - Palo Alto 2015
PPTX
Running MongoDB on AWS
PDF
Roshan Bhattarai: Scaling WordPress for high traffic sites
PPTX
Scaling wordpress for high traffic
PDF
Edge performance with in memory nosql
PPTX
CI_CONF 2012: Scaling
PPTX
Drupal performance
PPTX
Storage Services
PPTX
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
PPTX
Scylla Summit 2022: New AWS Instances Perfect for ScyllaDB
PPTX
storage on windows azure
ODP
AutoScaling and Drupal
PDF
Bacd zenoss
PDF
Ajay_trivedi
PPTX
Windows Azure Caching
Ruby Setup
Microsoft Azure Media Services
Scaling Drupal & Deployment in AWS
Final melnyk 2
Cloud Computing: AWS for Lean Startups
SAP Open Source meetup/Speedment - Palo Alto 2015
Running MongoDB on AWS
Roshan Bhattarai: Scaling WordPress for high traffic sites
Scaling wordpress for high traffic
Edge performance with in memory nosql
CI_CONF 2012: Scaling
Drupal performance
Storage Services
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
Scylla Summit 2022: New AWS Instances Perfect for ScyllaDB
storage on windows azure
AutoScaling and Drupal
Bacd zenoss
Ajay_trivedi
Windows Azure Caching
Ad

Similar to Barcamp Macau 2014 - Introduction to AWS (20)

PPTX
Introduction to amazon web services for developers
PPTX
Website on aws
PPTX
Brief theoretical overview on AWS Components
PPT
Amazon web services : Layman Introduction
PPTX
Architecting for AWS Cloud - let's do it right!
PDF
AWS 101, London - September 2014
PDF
Fundamentals of Cloud Computing & AWS
PPTX
PPTX
AWS101: London May 2014
PDF
AWS 101 December 2014
PPTX
AWS cloud computing internship training.pptx
PPTX
Cloud computing & aws concepts
PDF
Introduction to AWS
DOC
PPT
Cloud Computing Workshop
PPT
Cloud Computing Primer: Using cloud computing tools in your museum
PDF
Scaling web application in the Cloud
PDF
The IoT Academy_awstraining_part2_aws_ec2_iaas
PPTX
Jump Start to Amazon Web Services
PPTX
Amazon Web Services for Application Hosting | SugarCon 2011
Introduction to amazon web services for developers
Website on aws
Brief theoretical overview on AWS Components
Amazon web services : Layman Introduction
Architecting for AWS Cloud - let's do it right!
AWS 101, London - September 2014
Fundamentals of Cloud Computing & AWS
AWS101: London May 2014
AWS 101 December 2014
AWS cloud computing internship training.pptx
Cloud computing & aws concepts
Introduction to AWS
Cloud Computing Workshop
Cloud Computing Primer: Using cloud computing tools in your museum
Scaling web application in the Cloud
The IoT Academy_awstraining_part2_aws_ec2_iaas
Jump Start to Amazon Web Services
Amazon Web Services for Application Hosting | SugarCon 2011
Ad

More from Wong Hoi Sing Edison (20)

PDF
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
PDF
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
PDF
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
PDF
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
PDF
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
PDF
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
PDF
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
PDF
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
PDF
[20160314][CUHK][CSCI4140]Life of an Agile Team]
PDF
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
PDF
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
PDF
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
PDF
DruStack- a mobile-friendly web content management system (cms
PDF
drustack a mobile-friendly web content management system (cms)
PDF
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
ODP
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
PDF
IT Entrepreneurship Talk - City University of Hong Kong
PDF
OSS Community Meeting - OSS Community Management for Dummy
PDF
Barcamp Hong Kong 2014 - Introduction to GIT
PDF
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[20160314][CUHK][CSCI4140]Life of an Agile Team]
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
DruStack- a mobile-friendly web content management system (cms
drustack a mobile-friendly web content management system (cms)
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
IT Entrepreneurship Talk - City University of Hong Kong
OSS Community Meeting - OSS Community Management for Dummy
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Empathic Computing: Creating Shared Understanding
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
Building Integrated photovoltaic BIPV_UPV.pdf
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation_ Review paper, used for researhc scholars
Empathic Computing: Creating Shared Understanding

Barcamp Macau 2014 - Introduction to AWS

  • 1. Barcamp Macau 2014 Introduction to AWS Edison Wong 2014 Oct 4th
  • 2. Edison Wong ● CEO, PantaRei Design – hswong3i@pantarei-design.com ● Drupal developer & contributor – https://drupal.org/user/33940 ● HKDUG Co-founder – https://groups.drupal.org/drupalhk ● Startup founder – 2009 - PantaRei Design founded – 2010 - YBHK applicant – 2011 - ITF SERAP applicant – 2011 - HKSTP Incu-Tech applicant
  • 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) – Team collaborate solution with Atlassian ● 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
  • 7. Outline ● What is Amazon Web Services (AWS)? ● What Can I Do with AWS? ● Web Application Hosting ● Fault Tolerance & High Availability
  • 8. What is AWS? ● Amazon Web Services (AWS) – Cloud computing – Infrastructure as a service (IaaS) – Provides computing resource and services – Pay-as-you-go pricing
  • 9. What is AWS? (cont.) ● History – 1994: Founded by Jeff Bezos ● Initial product with online virtual bookstore – 2000: Survived the dot-com bubble burst ● Lots of infrastructure (some said ~90%) idled ● Need some way to utilize such resource – 2003: Why not resell the resource DIRECTLY? – 2006: AWS officially launched
  • 11. What is AWS? (cont.) ● AWS Management Console – Web-based user interface – Access all AWS service in one place ● https://console.aws.amazon.com/
  • 12. What Can I Do with AWS? ● Foundation Services – Deploy IT infrastructure in the cloud – Compute, storage, database, etc ● Application Services – Add functionality to application – Search, messaging, CDN, etc ● Administration Services – Manage AWS resources – Identity, monitoring, deployment, etc
  • 14. What Can I Do with AWS? (cont.) ● Route 53 ● CloudFront ● Simple Storage Service (S3) ● Elastic Compute Cloud (EC2) ● Elastic Block Store (EBS) ● Auto Scaling ● Relational Database Service (RDS) ● … and more!!
  • 15. Route 53 ● Domain Name System (DNS) ● ONLY provide domain name management – You need to register domain name somewhere else ● USD0.50 per hosted zone / month
  • 16. CloudFront ● Content Delivery Network (CDN) ● Serve content to end-users with high availability and high performance ● Distribute static or dynamic content, e.g. – .html – .css – .js – .php – Image – Video, etc
  • 17. Simple Storage Service (S3) ● Stores and retrieves digital files ● Object storage ● Can serve static content website DIRECTLY!! ● NOT FTP!!
  • 18. Elastic Compute Cloud (EC2) ● Virtual computing – Seems like VMWare, VirtualBox or Virtual PC ● Resizable computing capacity, e.g. – m3.medium: 1 vCPU, 3.75GB RAM – m3.2xlarge: 8 vCPU, 30GB RAM (!?) ● Can run with Linux (e.g. Ubuntu, RedHat) or Windows instance
  • 19. Elastic Block Store (EBS) ● Block storage ● Persistent file system for EC2 ● Seems like physical harddisk in PC ● Up to 1TB per disk – Always use LVM under Linux for live add/remove/update partition management!!
  • 20. Auto Scaling ● Add or remove EC2 dynamically ● Scale-up or scale-down due to peaks and lulls in traffic
  • 21. Relational Database Service (RDS) ● Database-as-a-Service ● Support MySQL, Oracle or SQL Server ● Support multiple Available Zone (AZ) High Availability (HA) setup by default – P.S. Multiple instance required (i.e. more $$)
  • 22. 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
  • 23. 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
  • 25. 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
  • 27. 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
  • 28. 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)
  • 30. Q&A
  • 31. References ● http://www.slideshare.net/davinken/amazon-web-servic es-history-overview-presentation ● http://aws.amazon.com/architecture/ ● http://docs.aws.amazon.com/gettingstarted/latest/awsgs g-intro/gsg-aws-intro.html ● http://docs.aws.amazon.com/cloudhsm/latest/gsg/ha-be st-practices.html ● http://www2.safenet-inc.com/AWS-guides/Luna_High_ Availability_and_Load_Balancing_TN2013_revA.pdf ● http://www.slideshare.net/BarcampSaigonOrganizer/high-availability- how-to-get-9999-service-availabilty-desig ning-clusters-dos-donts
  • 32. 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