apac webinar apr 10 - architecting your mobile app for the cloud

30
Architecting your Mobile Application for the Cloud Kingsley Wood Business Development and Sales Amazon Web Services Raghuraman Balachandran Principal Architect 8KMiles Software Services April 10 th , 2012

Upload: 8kmiles-software-services

Post on 01-Dec-2014

760 views

Category:

Art & Photos


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Architecting your Mobile Application for the Cloud

Kingsley Wood Business Development and Sales Amazon Web Services

Raghuraman

Balachandran Principal Architect 8KMiles Software Services

April 10th, 2012

Page 2: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

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

2

Send your questions to [email protected]

Page 3: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

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.

Page 4: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

AWS Global Infrastructure US West (Northern

California)

US East (Northern

Virginia)

Europe

West (Dublin)

Asia Pacific

Region (Singapore)

Asia Pacific

Region (Tokyo)

AWS Regions

AWS Edge Locations

GovCloud (US ITAR Region)

South

America (Sao Paulo)

Page 5: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

AWS Computing Platform

Your Applications

Foundation Services

Building Block Services

Compute Storage Database Networking

Application Platform Services

Management & Administration

AWS Global Infrastructure Regions

Availability Zones Edge Locations

Content Distribution

Messaging Parallel

Processing Libraries & SDKs

Administration Console

Identity & Access Deployment &

Workflow Monitoring

Page 6: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Region

Availability Zone

Amazon EC2 Architecture

EC2 Instance

Security Group(s)

Load Balancing

Elastic Block

Storage

CloudWatch

Auto Scaling

Ephemeral Storage

Amazon S3

EBS Snapshot

EBS Snapshot

Amazon Machine

Image (AMI)

Web Traffic

Page 7: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

AWS Meets Enterprise Security Standards

Certifications

SOC 1 Type 2

(formerly SAS-70)

ISO 27001

PCI DSS for EC2, S3,

EBS, VPC, RDS, ELB, IAM

FISMA Moderate

Compliant Controls

HIPAA & ITAR Compliant

Architecture

Physical Security

Datacenters in nondescript

facilities

Physical access strictly

controlled

Must pass two-factor

authentication at least twice

for floor access

Physical access logged and

audited

HW, SW, Network

Systematic change

management

Phased updates deployment

Safe storage decommission

Automated monitoring and

self-audit

Advanced network protection

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

Page 8: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

AWS Mobile SDKs

8

Page 9: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Why AWS for Mobile cloud apps ?

9

• 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

Page 10: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Planet of the Apps – “Appnomy”

10

PLANET OF THE

APPS

Tablets generate 21% of mobile

traffic to retailer

sites

Smartphones used for food

shopping by 43 percent of US

owners

By 2014, mobile internet should

take over desktop internet

usage

iPhone owner has 50+ apps

Android owners have 35+ apps

Over 300,00 mobile

apps have been developed in three years

One in four mobile apps once

downloaded

is never used again

iTunes App Store 571,745 approved

apps , Android Market 300,000

apps

26% of the time Smart Phone users will never use the

same app again

Page 11: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

11

… the power of

Mobile Backend!

All this is made possible by…

Page 12: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

12

Cloud is your Storage

Cloud is your Processor

Cloud is your Extension

Page 13: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Storage

13

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

Page 14: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Storage

14

iOS

Phone/Pad

Android Phone /

Tab

Amazon

SimpleDB

Token Vending

Machine( TVM)

Token Vending

Machine

Amazon Simple

Storage Service

(S3)

TVM Client

TVM Client

Credentials from

AWS Security

Token Service

Multimedia &

Other files( doc ,

PDF)

Page 15: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Storage

15

• 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

Page 16: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

16

Cloud is your Processor

Cloud is your Storage

Cloud is your Extension

Page 17: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Processor

17

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

Page 18: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Processor

18

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

Page 19: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Processor

19

• 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

Page 20: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Processor

20

Mobile

Availability Zone 1

Elastic Load Balancer

Amazon Route 53

1. Access Anywhere

2. Multi tiered Web App

3. File Process & Storage

4. Search Contents

5. Scalability & HA

6. Concurrent Requests

7. Monitoring

Availability Zone 2

Read: 25K

Write: 10K

DynamoDB

PC

Pad / Tab RDS Multi-AZ

S3

Solr Shards

Web/App EC2 Web/App EC2

Processing Nodes

Processing Nodes

Business Services

Business Services

SQS SQS

CloudWatch

Page 21: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Processor

21

• Case is relevant for companies in

• Social Sharing

• Business Productivity apps

• Media

Page 22: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

22

Cloud is your Extension

Cloud is your Storage

Cloud is your Processor

Page 23: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Extension

23

Case 3: Mobile Booking App for

Airline company

• Enterprise Mobility using Cloud

• Mobile app will drive huge traffic

during Sales promos

Page 24: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Extension

24

Challenges

• Mobile App is “not an Isolated” app

• Security – HTTPS, DMZ, IAM, MFA,

Encryption, Authorization

• Whitelisting of IP addresses at

various gateways

Page 25: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Extension

25

• 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

• Highly available and Scalable Backend

Page 26: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Extension

26

Corporate Data center

( DC1)

(DC2)

Amazon Virtual Private Cloud

Mobile Client 1

Mobile Client N

VPN Connection

User /Profiles

/Schedules

Database CRM Email

Availability Zone 1 Availability Zone 2

VPC Subnet 1 VPC Subnet 2

Elastic Load

Balancer

Amazon Route 53

Web / App EC2

with Elastic IP

Web / App EC2

with Elastic IP EC2 Instances

on AWS

1. Security

2. IP WhiteListing

3. Inter Connected

4. Scalability

5. HA

3rd Party

Services

Page 27: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Cloud is your Extension

27

• Case is relevant for Enterprises in

• Ecommerce

• Travel

• Media

Page 28: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

AWS Benefits

28

• 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

Page 29: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

29

• Amazon Web Services Partner

• Help companies leverage Cloud Computing,

Mobile and Big Data

• Expertise across the entire suite of AWS

products

• Team of experts located in United States,

India & Singapore

8KMiles - Who we are

Page 30: APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud

Q&A

30

8KMiles

http://cloud.8KMiles.com

Call: 636-544-8413

[email protected]

Amazon Web Services

aws.amazon.com

aws.amazon.com/contact-us/aws-sales