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 and architecture. 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. Join Harish Ganesan as he talks about how enterprises are leveraging Cloud for mobile applications to provide dynamic, feature rich applications without breaking the bank. This session will be beneficial for enterprise product managers, technology and innovation leaders, mobile app architects and anyone interested in understanding how cloud computing can deliver unique experiences to end users with minimal cost and time investment. We will see how to architect a Mobile Cloud Application for an Enterprise in a case based approach, What are the characteristics of this application , What are the unique challenges and intricacies that Enterprise brings into the table for Mobile cloud Architectures? What are the best practices that need to be adopted? How we can solve those using AWS or other clouds?
More than Just Lines on a Map: Best Practices for U.S Bike Routes
How Enterprises are leveraging Mobile Cloud Computing
1. How Enterprises are leveraging Mobile
Cloud Computing
May 24th, 2012
Cloud Connect 2012 , India
Harish Ganesan
Cofounder and CTO
Harish11g.aws@gmail.com
2. Agenda
• Mobile Cloud Computing
• Problem Scenario
• Solution Approach
• Before and After
• About 8KMiles
• Q&A
2
3. What is
Mobile Cloud
Computing ?
Source Wikipedia : Mobile
cloud computing is the
usage of cloud computing in
combination with mobile
devices.
Image Source: Internet
4. Planet of the Apps – “Appnomy”
iTunes App Store
570K+ approved
apps , Android
Market 300K+
apps
Over 300,00
mobile PLANET iPhone owner
apps have been has 50+ apps
developed in
OF THE Android owners
three years APPS have 35+ apps
One in four mobile 4
apps once downloaded
is never used again
5. Mobile Cloud Stats
• Cellular subscriptions worldwide: 6
billion
• Market for cloud-based mobile apps is
expected to grow 88% from 2009 to 2014
-Juniper Research
• More than 240 million business
customers will access cloud computing
services via mobile devices by 2015 5
- ABI Research
9. Mobile Cloud for Airline company
• Trending App in Android and
iPhone stores
• ~ Millions of App downloaded
• JSON based Communication
between Mobile and Cloud
• Mobile App is “not an Isolated”
app (talks to other enterprise backend
systems) 9
10. Mobile Cloud for Airline company
• Mobile app will drive huge traffic
during Sales promos
• Constantly growing user base
• Heavy spikes and valleys load
pattern
• Heavy processing at Mobile Cloud
Backend needed
10
• Storage , Processing and Integration
needed in Mobile Cloud Backend
14. • Mobile Backend accessed from Multiple Devices /
Apps
• Data should be fresh and accessible from multiple
devices
14
Image Source: Internet
15. Provisioning the Mobile Backend Infrastructure for every
promotion takes lots of time/efforts
15
Image Source: Internet
16. Load Volatility
Peak utilization during
Compute
Sales Promos
Wasted Capacity
Yearly
Under utilization of Infrastructure other
times
• Fluctuating load utilization patterns
16
• Cost Leakage because of Wasted Capacity
17. Need for Auto Scaling of Backend Infra
Image Source: Internet
21. Step1 : AWS for Mobile Cloud Backend
Smart Phone
Pad / Tab
PC
21
22. Robust: 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)
Scale with AWS
• World-wide footprint
• Elastically increase
your EC2 , DB , NoSQL
etc
AWS Regions
AWS Edge Locations
Image Source: AWS
23. Variety : AWS Mobile SDKs
Wide Variety :
Protocols : JSON , BSON , SOAP , REST , HTTP/S
, TCP, RTMP
Server Side Languages : Java , Python , PHP
23
,Ruby ,.Net, Node.JS
24. Secure : 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
25. Flexible
Pay as You Go
On demand Instances
Reserved Instances
Image Source: Internet
26. Step 2: Securing the Mobile Cloud
1. Virtual Private
Cloud
Elastic Load
Balancer
Amazon Virtual Private Cloud
2. VPN to Existing DC
Smart Phone VPC Subnet 1
Amazon 3. Private and Public
Route 53 Subnets
4. Identity Access
Management
Policies
Pad / Tab
5. Security Groups
Availability Zone 1 /Firewall with
Tiered restrictions
VPN Connection
6. Hardened OS
PC
7. Load Balancer
with SSL
Corporate Data center
( DC1) 8. Data Encryption @
DB and Storage 26
Layer
27. Step 3: Managing the Integrations
1. VPN based
Elastic Load
connectivity to
Balancer Existing
Amazon Virtual Private Cloud Enterprise DC’s
Smart Phone VPC Subnet 1
Amazon
Route 53
2. Closely Integrated
with existing
Applications
inside the
Enterprise DC
Pad / Tab
3. Consecutive AWS
Availability Zone 1
Elastic IP’s
Whitelisted in 3rd
Party Service
PC
VPN Connection Elastic IP’s Gateway’s
4. HTTP/S , TCP ,
Corporate Data center JSON/BSON
( DC1) 3rd Party
integrations with
Service
Mobile and other
27
Gateway
services
CRM Email XYZ
28. Step 4: Scaling the Mobile Cloud
1. Usage of
Elastic Load
Inherently
Balancer Scalable AWS
Amazon Virtual Private Cloud Building blocks –
Smart Phone VPC Subnet 1 Route53 , ELB , S3
Amazon etc
Route 53
Web / App EC2 2. Amazon
with Elastic IP AutoScaling for
Web/App Layer
Pad / Tab Amazon scale out
RDS MySQL
Auto Scaling
Master
Availability Zone 1
3. Scale out / down
Mobile cloud
Elastically
PC
VPN Connection Elastic IP’s depending upon
request load from
Mobile users
Corporate Data center
( DC1) 3rd Party
4. Improved
Service
experience for the
28
Gateway
Mobile app users
during peak load
CRM Email XYZ
29. Step 5:Building HA for Mobile Cloud
1. High Availability @
Elastic Load
Web/App level
Balancer
Amazon Virtual Private Cloud
2. High Availability @
Smart Phone VPC Subnet 1 VPC Subnet 2
DB Layer – RDS
Amazon
Route 53 Master – Slave /
Shards
Web / App EC2 Web / App EC2
with Elastic IP with Elastic IP
3. High Availability @
Pad / Tab Amazon Availability
RDS MySQL RDS MySQL Zone Level
Master Slave
Availability Zone 1 Availability Zone 2
4. Usage of Inherently
Fault Tolerant
VPN Connection Elastic IP’s Blocks like ELB ,
PC
Route 53, S3 etc in
the architecture
Corporate Data center
3rd Party
( DC1)
Service 5. Success of Mobile 29
Gateway Cloud ~ Robustness
of the Mobile Cloud
Backend
CRM Email XYZ
30. Step 6: Designing the IT Ops
1. Log Analysis using
Elastic Load
Hadoop on AWS
Balancer
Amazon Virtual Private Cloud
2. Monitoring using
Smart Phone VPC Subnet 1 VPC Subnet 2 CloudWatch and
Amazon
Route 53
HDFS Nagios monitoring
Web / App EC2
with Elastic IP
Web / App EC2
with Elastic IP
3. Automated AMI
snapshots and
Pad / Tab
S3
Periodic Backup’s
RDS MySQL RDS MySQL
to S3
Master Slave
Availability Zone 1 Availability Zone 2
CloudWatch
4. Puppet for
Automated
VPN Connection Elastic IP’s Deployment in
PC Highly scalable
environment
Corporate Data center
3rd Party 5. Automated
( DC1)
Service infrastructure 30
Gateway management for
easy maintenance
CRM Email XYZ
31. Before After
Provisioning / Deployment efforts ~ in Automated Cloud Provisioning 60+
days VMs ~ 25 minutes
Only Manual Scale up ~ in days Amazon Auto Scaling ~ 3 minutes
Ensure HA Manually in hours Automated Self Healing HA in minutes
Upfront Capex Pay by usage (in thousands)
Business Lost during Peak load More Business conversions because of
Auto Scaling
Leakage in efforts/costs ~60% savings in infra costs during
Sales Promo
~20 % savings during Peak/Valleys
using Amazon Auto Scaling
12+ Member Team 3 Member Team
mage Source: Internet
32. Case relevance
• Mobile Cloud use case is applicable in
• E-commerce
• Travel
• Media
• Online Education
32
33. About us
4+ yrs of expertise on Cloud
computing
Advanced Consulting Partner
Help enterprises leverage Cloud ,
Mobile and BigData
On Cloud : Architecture ,
Consulting , Development and
Migration
“Let's get the job done”