Transcript of "APAC Webinar Apr 10 - Architecting your Mobile App for the Cloud"
Architecting your Mobile Application for the Cloud April 10th, 2012 Raghuraman Kingsley Wood Balachandran Business Development Principal Architect and Sales 8KMiles Software Amazon Web Services 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 firstname.lastname@example.org 2
What is Amazon Web Services?Amazon Web Services is a cloud computing platform that providesflexible, scalable, and cost-effective technology infrastructure forbusinesses of all sizes around the world……utilizing the knowledge, expertise, and toolsused to run Amazon.com’s global webproperties for well over a decade.
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
AWS Computing Platform Your ApplicationsManagement &ServicesBuilding Block Administration Administration Deployment & Identity & Access Monitoring Console WorkflowApplication Platform Services Content Parallel Messaging Libraries & SDKs Distribution ProcessingFoundation Services Compute Storage Database Networking Availability ZonesAWS Global Infrastructure Edge Locations Regions
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
Planet of the Apps – “Appnomy” iTunes App Store SmartphonesTablets generate 571,745 approved used for food 21% of mobile apps , Android shopping by 43traffic to retailer Market 300,000 percent of US sites apps owners Over 300,00 mobile PLANET By 2014, mobileapps 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
All this is made possible by… … the power of Mobile Backend! 11
Mobile Cloud Architectures Cloud is your Storage Cloud is your Processor Cloud is your Extension 12
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 13
Cloud is your Storage Credentials from AWS Security Token Service TVM Client Token Vending Machine( TVM) iOSPhone/Pad Amazon SimpleDB Multimedia & Other files( doc , PDF) Token Vending Machine TVM Client 14 Amazon Simple Storage ServiceAndroid Phone / (S3) 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 multi- tenant SAAS applications • Not Suitable for Enterprise scale 15
Mobile Cloud Architectures Cloud is your Storage Cloud is your Processor Cloud is your Extension 16
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 17
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 18 • Analysis and algorithms
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 19
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 2Pad / Tab Solr Shards Read: 25K RDS Multi-AZ 20 Write: 10K S3 DynamoDB CloudWatch
Cloud is your Processor• Case is relevant for companies in • Social Sharing • Business Productivity apps • Media 21
Mobile Cloud Architectures Cloud is your Storage Cloud is your Processor Cloud is your Extension 22
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 23
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 24
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 25• Highly available and Scalable Backend
Cloud is your Extension 1. Security Elastic Load 2. IP WhiteListing Balancer 3. Inter Amazon Virtual Private Cloud ConnectedMobile 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 2Mobile Client N Availability Zone 1 Availability Zone 2 VPN Connection Corporate Data center ( DC1) 3rd Party (DC2) Services User /Profiles 26 /Schedules Database CRM Email
Cloud is your Extension• Case is relevant for Enterprises in • Ecommerce • Travel • Media 27
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 28
8KMiles - Who we are• 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 29
Q&A8KMileshttp://cloud.8KMiles.comCall: 636-544-8413cloud@8KMiles.comAmazon Web Servicesaws.amazon.comaws.amazon.com/contact-us/aws-sales 30
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.