You are on page 1of 31

Architecting your Mobile Application for the Cloud

Feb 23rd, 2012


Jeff Barr
Senior Web Services Evangelist Amazon Web Services

Harish Ganesan
CTO and Co-Founder 8KMiles Software Services

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

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.coms global web properties for well over a decade.

AWS Global Infrastructure


GovCloud
(US ITAR Region)

US West
(Northern California)

US East
(Northern Virginia)

South America
(Sao Paulo)

Europe West
(Dublin)

Asia Pacific Region


(Singapore)

Asia Pacific Region


(Tokyo)

AWS Regions AWS Edge Locations

AWS Computing Platform


Your Applications
Management &Services Building Block Administration Administration Console Identity & Access Deployment & Workflow Monitoring

Application Platform Services Content Distribution Foundation Services Compute Storage Database Networking Messaging Parallel Processing Libraries & SDKs

Availability Zones

AWS Global Infrastructure


Regions

Edge Locations

Amazon EC2 Architecture


Amazon Machine Image (AMI) Region

Availability Zone
EC2 Instance
Ephemeral Storage Elastic Block Storage

CloudWatch
Security Group(s)

Auto Scaling

Load Balancing

Amazon S3
EBS Snapshot EBS Snapshot

Web Traffic

AWS Meets Enterprise Security Standards


Certifications Physical Security HW, SW, Network Systematic change management Phased updates deployment Safe storage decommission

SOC 1 Type 2 (formerly SAS-70)


ISO 27001 PCI DSS for EC2, S3, EBS, VPC, RDS, ELB, IAM

Datacenters in nondescript facilities


Physical access strictly controlled Must pass two-factor authentication at least twice for floor access Physical access logged and audited

FISMA Moderate Compliant Controls


HIPAA & ITAR Compliant Architecture

Automated monitoring and self-audit


Advanced network protection

AWS Security White Paper Available at http://aws.amazon.com/security

AWS Mobile SDKs

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 Server Side Languages : Java , Python , PHP ,Ruby
9

Planet of the Apps Appnomy


Tablets generate 21% of mobile traffic to retailer sites Over 300,00 mobile apps have been developed in three years

iTunes App Store 571,745 approved apps , Android Market 300,000 apps

Smartphones used for food shopping by 43 percent of US owners


By 2014, mobile internet should take over desktop internet usage

PLANET OF THE APPS

One in four mobile apps once downloaded is never used again

26% of the time Smart Phone users will never use the same app again

iPhone owner has 50+ apps Android owners have 35+ apps

10

Smartphone user is Smart!

11

All this is made possible by

the power of Mobile Backend!


12

Mobile Cloud Architectures


Cloud is your Storage Cloud is your Processor

Cloud is your Extension


13

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 SDKs for iOS and Android

14

Cloud is your Storage


TVM Client
Credentials from AWS Security Token Service

iOS Phone/Pad

Token Vending Machine( TVM)


Amazon SimpleDB

Multimedia & Other files( doc , PDF)

Token Vending Machine


TVM Client Amazon Simple Storage Service (S3)

15

Android Phone / Tab

Cloud is your Storage


Using AWS SDK for iOS/Android with TVM:
Address Simple Scenarios and use cases Might not be suitable for complex multitenant SAAS applications Not Suitable for Enterprise scale

16

Mobile Cloud Architectures


Cloud is your Storage Cloud is your Processor

Cloud is your Extension


17

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

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 Analysis and algorithms
19

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

Cloud is your Processor


Amazon Route 53
Elastic Load Balancer

1. 2. 3. 4.

Mobile

Web/App EC2
SQS

Web/App EC2
SQS

5. 6.
PC Processing Nodes Processing Nodes

7.

Access Anywhere Multi tiered Web App File Process & Storage Search Contents Scalability & HA Concurrent Requests Monitoring

Business Services

Business Services

Availability Zone 1

Availability Zone 2

Pad / Tab

RDS Multi-AZ

Read: 25K Write: 10K

Solr Shards

21

S3

DynamoDB

CloudWatch

Cloud is your Processor


Case is relevant for companies in Social Sharing Business Productivity apps Media

22

Mobile Cloud Architectures


Cloud is your Storage Cloud is your Processor Cloud is your Extension
23

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

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

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

Cloud is your Extension


Elastic Load Balancer Amazon Virtual Private Cloud Mobile Client 1

1. 2. 3.

Amazon Route 53
Web / App EC2 with Elastic IP VPC Subnet 1 Mobile Client N Availability Zone 1 Web / App EC2 with Elastic IP VPC Subnet 2 Availability Zone 2

4. 5.

Security IP WhiteListing Inter Connected Scalability HA

EC2 Instances on AWS

VPN Connection

Corporate Data center

( DC1) (DC2)

3rd Party Services

User /Profiles /Schedules Database

27
CRM Email

Cloud is your Extension


Case is relevant for Enterprises in Ecommerce Travel Media

28

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

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

Q&A
8KMiles http://cloud.8KMiles.com Call: 636-544-8413 cloud@8KMiles.com

Amazon Web Services aws.amazon.com aws.amazon.com/contact-us/aws-sales

31

You might also like