Introduction to Amazon Web Services
Mobile landscape Overview
Importance of the mobile backend
3 Cases – Mobile Cloud Architectures
Cloud is your Storage
Cloud is your Processor
Cloud is your Extension
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Mobile Cloud Computing Architectures
1. Architecting your Mobile Application
for the Cloud
Feb 23rd, 2012
Jeff Barr Harish Ganesan
Senior Web Services CTO and Co-Founder
Evangelist 8KMiles Software
Amazon Web Services Services
2. Agenda
• Introduction to Amazon Web Services
• Mobile landscape Overview
• Importance of the mobile backend
• 3 Cases – Mobile Cloud Architectures
• Cloud is your Storage
• Cloud is your Processor
• Cloud is your Extension
• Q&A
Send your questions to webinar@8kmiles.com
2
3. What is Amazon Web Services?
Amazon Web Services is a cloud computing platform that provides
flexible, scalable, and cost-effective technology infrastructure for
businesses of all sizes around the world…
…utilizing the knowledge, expertise, and tools
used to run Amazon.com’s global web
properties for well over a decade.
4. AWS Global Infrastructure
GovCloud US West US East South Europe Asia Pacific Asia Pacific
(US ITAR Region) (Northern (Northern America West Region Region
California) Virginia) (Sao Paulo) (Dublin) (Singapore) (Tokyo)
AWS Regions
AWS Edge Locations
5. AWS Computing Platform
Your Applications
Management &Services
Building Block Administration
Administration Deployment &
Identity & Access Monitoring
Console Workflow
Application Platform Services
Content Parallel
Messaging Libraries & SDKs
Distribution Processing
Foundation Services
Compute Storage Database Networking
Availability Zones
AWS Global Infrastructure Edge Locations
Regions
6. Amazon EC2 Architecture
Region
Amazon
Machine Availability Zone
Image (AMI) Ephemeral
EC2 Instance Storage
Elastic
CloudWatch Block
Storage
Security Group(s)
Amazon S3
Auto Scaling Load Balancing
EBS EBS
Snapshot Snapshot
Web Traffic
7. AWS Meets Enterprise Security Standards
Certifications Physical Security HW, SW, Network
SOC 1 Type 2 Datacenters in nondescript Systematic change
(formerly SAS-70) facilities management
ISO 27001 Physical access strictly Phased updates deployment
controlled
PCI DSS for EC2, S3, Safe storage decommission
EBS, VPC, RDS, ELB, IAM Must pass two-factor
authentication at least twice Automated monitoring and
FISMA Moderate for floor access self-audit
Compliant Controls
Physical access logged and Advanced network protection
HIPAA & ITAR Compliant audited
Architecture
AWS Security White Paper Available at http://aws.amazon.com/security
9. Why AWS for Mobile cloud apps ?
• Flexibility
• Wide range of services
• Pay as you go
• Align your capacity with your growth
• Scale with AWS
• World-wide footprint
• Elastically increase your AWS , DB , NoSQL , EC2
• Wide Variety of Access Methods
• Protocols : JSON , BSON , SOAP , REST , HTTP/S , TCP, RTMP
• AWS Mobile SDKs : iOS and Android 9
• Server Side Languages : Java , Python , PHP ,Ruby
10. Planet of the Apps – “Appnomy”
iTunes App Store Smartphones
Tablets generate
571,745 approved used for food
21% of mobile
apps , Android shopping by 43
traffic to retailer
Market 300,000 percent of US
sites
apps owners
Over 300,00
mobile PLANET By 2014, mobile
apps have been internet should
developed in
OF THE take over
three years APPS desktop internet
usage
One in iPhone owner
four mobile has 50+ apps
26% of the time
apps once Android owners
Smart Phone users 10
downloaded have 35+ apps
will never use the
is never used
same app again
again
14. Cloud is your Storage
Case 1 : Storage App using AWS
SDK
• Use AWS as the Central Storage
• Upload Video , Music and Other
files to backend
• Access through AWS SDK’s for iOS
and Android
14
15. Cloud is your Storage
Credentials from
AWS Security
Token Service
TVM Client
Token Vending
Machine( TVM)
iOS
Phone/Pad Amazon
SimpleDB
Multimedia &
Other files( doc ,
PDF)
Token Vending
Machine
TVM Client
15
Amazon Simple
Storage Service
Android Phone / (S3)
Tab
16. Cloud is your Storage
• Using AWS SDK for iOS/Android with
TVM:
• Address Simple Scenarios and use cases
• Might not be suitable for complex multi-
tenant SAAS applications
• Not Suitable for Enterprise scale
16
18. Cloud is your Processor
Case 2 : Productivity App
• Access Anywhere from Mobile , Pad
and Desktop
• Upload and share Notes , To-Do,
Pictures and Files
• Tag Contents
• Periodic Sync with Backend
• Search Contents stored in Backend
18
19. Cloud is your Processor
Characteristics
• 70% read and 30% write
• Highly Concurrent usage
• Peaks and Valley Load Pattern
• Variety of Data Stores
• Heavy processing at Backend
• Image conversions
• File Format conversions 19
• Analysis and algorithms
20. Cloud is your Processor
• Support for iOS , Android devices and Desktop
• JSON / Rest /HTTP based communication
• Data should be fresh and always accessible
• Constantly growing User base
• Highly available and Scalable Backend 20
21. Cloud is your Processor
Amazon
Route 53
1. Access
Elastic Load Balancer
Anywhere
2. Multi tiered
Web App
3. File Process &
Mobile Web/App EC2 Web/App EC2 Storage
4. Search
SQS SQS Contents
5. Scalability & HA
6. Concurrent
Requests
PC Processing Processing
7. Monitoring
Business Business
Services Nodes Nodes
Services
Availability Zone 1 Availability Zone 2
Pad / Tab Solr Shards
Read: 25K
RDS Multi-AZ 21
Write: 10K
S3
DynamoDB CloudWatch
22. Cloud is your Processor
• Case is relevant for companies in
• Social Sharing
• Business Productivity apps
• Media
22
24. Cloud is your Extension
Case 3 : Mobile Booking App for
Airline company
• Enterprise Mobility using Cloud
• Mobile app will drive huge traffic
during Sales promos
24
25. Cloud is your Extension
Challenges
• Mobile App is “not an Isolated” app
• Security – HTTPS, DMZ , IAM , MFA ,
Encryption , Authorization
• Whitelisting of IP addresses at
various gateways
25
26. Cloud is your Extension
• Support for iOS and Android Phones / Tabs
• JSON based communication
• Millions of requests to the AWS Backend during
Quarterly Sales promo [Periodic Load]
• Data should be fresh
26
• Highly available and Scalable Backend
27. Cloud is your Extension
1. Security
Elastic Load
2. IP WhiteListing
Balancer 3. Inter
Amazon Virtual Private Cloud Connected
Mobile Client 1
4. Scalability
Amazon
Route 53 5. HA
Web / App EC2 Web / App EC2
with Elastic IP with Elastic IP EC2 Instances
on AWS
VPC Subnet 1 VPC Subnet 2
Mobile Client N Availability Zone 1 Availability Zone 2
VPN Connection
Corporate Data center
( DC1)
3rd Party
(DC2) Services
User /Profiles 27
/Schedules
Database CRM Email
28. Cloud is your Extension
• Case is relevant for Enterprises in
• Ecommerce
• Travel
• Media
28
29. AWS Benefits
• Scale capacity on demand
• Enhanced or improved sales because of
highly available servers
• Keep data fresh in variety of data stores
• Focus on product
• Cost Effective
• Grow with AWS
29
30. 8KMiles - Who we are
• Amazon Web Services Partner
• Help companies leverage Cloud Computing ,
Mobile and BigData
• Expertise across the entire suite of AWS
products
• Team of experts located in United States,
India & Singapore
30