webinar: architecting your mobile app for the cloud

31
Architecting your Mobile Application for the Cloud Jeff Barr Senior Web Services Evangelist Amazon Web Services Harish Ganesan CTO and Co-Founder 8KMiles Software Services Feb 23 rd , 2012

Upload: 8kmiles-software-services

Post on 26-Jan-2015

118 views

Category:

Technology


4 download

DESCRIPTION

Mobile App development is big business and everyone from graduate students to large corporations are making huge investments. The key to good app development - is engagement. One of the ways to keep users engaged is to keep data fresh at all times, which requires a strong mobile backend that is both scalable and always on. This requires cloud.

TRANSCRIPT

Page 1: Webinar: Architecting your Mobile App for the Cloud

Architecting your Mobile Application for the Cloud

Jeff Barr Senior Web Services Evangelist Amazon Web Services

Harish Ganesan CTO and Co-Founder 8KMiles Software Services

Feb 23rd, 2012

Page 2: Webinar: 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: Webinar: 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: Webinar: 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: Webinar: 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: Webinar: 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: Webinar: 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: Webinar: Architecting your Mobile App for the Cloud

AWS Mobile SDKs

8

Page 9: Webinar: 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: Webinar: 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: Webinar: Architecting your Mobile App for the Cloud

Smartphone user is Smart!

11

Page 12: Webinar: Architecting your Mobile App for the Cloud

12

… the power of

Mobile Backend!

All this is made possible by…

Page 13: Webinar: Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

13

Cloud is your Storage

Cloud is your Processor

Cloud is your Extension

Page 14: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Storage

14

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 15: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Storage

15

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 16: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Storage

16

• 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 17: Webinar: Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

17

Cloud is your Processor

Cloud is your Storage

Cloud is your Extension

Page 18: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Processor

18

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 19: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Processor

19

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 20: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Processor

20

• 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 21: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Processor

21

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 22: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Processor

22

• Case is relevant for companies in

• Social Sharing

• Business Productivity apps

• Media

Page 23: Webinar: Architecting your Mobile App for the Cloud

Mobile Cloud Architectures

23

Cloud is your Extension

Cloud is your Storage

Cloud is your Processor

Page 24: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Extension

24

Case 3 : Mobile Booking App for

Airline company

• Enterprise Mobility using Cloud

• Mobile app will drive huge traffic

during Sales promos

Page 25: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Extension

25

Challenges

• Mobile App is “not an Isolated” app

• Security – HTTPS, DMZ , IAM , MFA ,

Encryption , Authorization

• Whitelisting of IP addresses at

various gateways

Page 26: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Extension

26

• 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 27: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Extension

27

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 28: Webinar: Architecting your Mobile App for the Cloud

Cloud is your Extension

28

• Case is relevant for Enterprises in

• Ecommerce

• Travel

• Media

Page 29: Webinar: Architecting your Mobile App for the Cloud

AWS Benefits

29

• 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 30: Webinar: Architecting your Mobile App for the Cloud

30

• 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

8KMiles - Who we are

Page 31: Webinar: Architecting your Mobile App for the Cloud

Q&A

31

8KMiles

http://cloud.8KMiles.com

Call: 636-544-8413

[email protected]

Amazon Web Services

aws.amazon.com

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