Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
November 12, 2014 | Las Vegas, NV 
Rich Cowper, Solution Architect
65% of mobile apps are abandoned within 90 days. http://blog.flurry.com/bid/90743/App-Engagement-The-Matrix-Reloaded
Apple APNS 
Google GCM 
Amazon ADM
Cloud App 
Platform Services 
Mobile Apps
Mobile Apps 
Push Intermediary 
Cloud App 
Platform Services
Mobile Apps 
Cloud App 
Platform Services 
Amazon SNSMobile Push
Apple APNS 
Google GCM 
Amazon ADM 
Windows WNS and MPNS 
Baidu CP 
Industry’s First! 
New! 
Android Phones and Tablets 
A...
Mobile Apps 
Cloud App 
Platform Services 
Amazon SNSMobile Push
Mobile Apps 
Cloud App 
Platform Services 
Amazon SNSMobile Push
$392.88393M44,9637871M787M
We know these use cases well 
Broadcast 
Direct 
Closed Loop 
Identical messages to many users at once 
Unique messages to...
Direct and Broadcast is very straightforward 
Publish 
Publish 
Publish 
Publish 
Direct Push 
Broadcast with SNS Topics
Direct and Broadcast is very straightforward 
Direct Push 
Broadcast with SNS Topics 
High-profile Startups 
trust SNS for...
Many topics with many devices for many reasons 
Geography 
Activity 
Product 
US –West Coast 
Daily Actives 
Flapping Bird...
Amazon 
Kinesis 
Amazon Redshift 
Marketing 
Kinesis-enabled 
app 
Amazon SNS App Back-End 
Mobile Push 
Campaign 
Topic
Combining these tools, push evolves 
Broadcast 
Direct 
Closed Loop 
Identical messages to many players at once 
Unique me...
“time_to_live”: 3600
Cloud App 
Platform Services 
Mobile Apps
Cloud App 
App Stores 
Mobile Apps
Mobile App with Baidu agent 
Cloud App 
Amazon SNSMobile Push 
BaiduCloud Push
Step 1: Obtain Application Prerequisites 
•APNs: 
•Apple Push Notification service SSL certificate 
•Application Private K...
Step 2: Register Your Mobile App with AWS 
Amazon SNSMobile Push
Step 3: Get Device Token from device 
•APNs: 
•Device Token 
•GCM: 
•Registration ID 
•ADM: 
•Registration ID 
CloudApp 
<...
Step 4: Add Token to Amazon SNS 
•For existing devices 
•Use the console for .csv import 
•Or use CreatePlatformEndpointAP...
Device Registration –Back-end Code example 
privateString getArnForDeviceEndpoint( 
String platformApplicationArn, 
String...
Device Self-Registration –iOS Example<YOUR SNS APP ARN> MyUserID;iPhone5 
Amazon Cognito 
Credentials
Step 5a: Send Push Notifications via the Console 
Hello world!
Step 5b: Send Push Notifications via the API 
MyMac:~ glez$ python 
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4....
Step 6: Receive and Close the Loop
We redesigned the inbox to make email light, fast, and mobile- friendly.
Mobile push notifications are a core part of the Mailbox user experience 
Fast, reliable messages at the right time on all...
Amazon SNSMobile Push 
3rdParty Mobile Push Provider 
At Launch 
Late 2013: Self Managed 
January 2014 
•Unpredictable 
•B...
Amazon SNSMobile Push 
Hundreds of millions of mobile push deliveries per week 
Launched our Android app on SNS, with no c...
http://bit.ly/awsevals
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014
Upcoming SlideShare
Loading in …5
×

(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014

3,016 views

Published on

Cross-platform push notifications that can engage your customers even when your app is in the background are becoming a central part of a mobile app user experience. Some customers may rarely open an app that provides useful information to them; for them, the notifications are the most important part. But great user experiences can break if your messages get dropped or delayed. How do you ensure your messages are delivered fast and reliably at scale? And how can you use them to extend the user experience of your app? In this session, we show you how Amazon SNS provides the performance and simplicity of a managed service, while also supporting interactive notifications, silent push, and broadcasts to large groups. We also learn from Mailbox, who rely on large-scale push notifications as a core part of the user experience, and who will share real-world design patterns.

Published in: Technology

(MBL301) Beyond the App - Extend Your User Experience with Mobile Push Notifications - Featuring Mailbox | AWS re:Invent 2014

  1. 1. November 12, 2014 | Las Vegas, NV Rich Cowper, Solution Architect
  2. 2. 65% of mobile apps are abandoned within 90 days. http://blog.flurry.com/bid/90743/App-Engagement-The-Matrix-Reloaded
  3. 3. Apple APNS Google GCM Amazon ADM
  4. 4. Cloud App Platform Services Mobile Apps
  5. 5. Mobile Apps Push Intermediary Cloud App Platform Services
  6. 6. Mobile Apps Cloud App Platform Services Amazon SNSMobile Push
  7. 7. Apple APNS Google GCM Amazon ADM Windows WNS and MPNS Baidu CP Industry’s First! New! Android Phones and Tablets Apple iPhones and iPads Kindle Fire Devices Android Phones and Tablets in China iOS Windows Desktop and Windows Phone Devices Cloud App Amazon SNSMobile Push
  8. 8. Mobile Apps Cloud App Platform Services Amazon SNSMobile Push
  9. 9. Mobile Apps Cloud App Platform Services Amazon SNSMobile Push
  10. 10. $392.88393M44,9637871M787M
  11. 11. We know these use cases well Broadcast Direct Closed Loop Identical messages to many users at once Unique messages to individual users Targeted and optimized with analytics
  12. 12. Direct and Broadcast is very straightforward Publish Publish Publish Publish Direct Push Broadcast with SNS Topics
  13. 13. Direct and Broadcast is very straightforward Direct Push Broadcast with SNS Topics High-profile Startups trust SNS for their high-profile launches Launched its Android App with SNS, noprovisioning required Advanced targeted Notifications bring players back into the game Mature games increase retention using SNS Topics Jetpack Joyride Fruit ninja Secret.ly
  14. 14. Many topics with many devices for many reasons Geography Activity Product US –West Coast Daily Actives Flapping Bird Rio Interest Tier Segment 49ers Premium Top 100 Players
  15. 15. Amazon Kinesis Amazon Redshift Marketing Kinesis-enabled app Amazon SNS App Back-End Mobile Push Campaign Topic
  16. 16. Combining these tools, push evolves Broadcast Direct Closed Loop Identical messages to many players at once Unique messages to individual players Targeted and optimized with analytics User Experience The Notification becomes the UI
  17. 17. “time_to_live”: 3600
  18. 18. Cloud App Platform Services Mobile Apps
  19. 19. Cloud App App Stores Mobile Apps
  20. 20. Mobile App with Baidu agent Cloud App Amazon SNSMobile Push BaiduCloud Push
  21. 21. Step 1: Obtain Application Prerequisites •APNs: •Apple Push Notification service SSL certificate •Application Private Key •GCM: •API Key (Sender Auth Token) •ADM: •Client ID •Client secret
  22. 22. Step 2: Register Your Mobile App with AWS Amazon SNSMobile Push
  23. 23. Step 3: Get Device Token from device •APNs: •Device Token •GCM: •Registration ID •ADM: •Registration ID CloudApp <e960d9b1…de43f6c0>
  24. 24. Step 4: Add Token to Amazon SNS •For existing devices •Use the console for .csv import •Or use CreatePlatformEndpointAPI •For future devices •Use a proxy server and the CreatePlatformEndpointAPI •Or use Amazon Cognito and let devices register themselves •Receive an ARN back Amazon SNSMobile Push CloudApp <e960d9b1…de43f6c0> arn:aws:sns:eu-west-1:12…1f
  25. 25. Device Registration –Back-end Code example privateString getArnForDeviceEndpoint( String platformApplicationArn, String deviceToken) { CreatePlatformEndpointRequest request = newCreatePlatformEndpointRequest() .withPlatformApplicationArn(platformApplicationArn) .withToken(deviceToken); CreatePlatformEndpointResult result = snsClient.createPlatformEndpoint(request); returnresult.getEndpointArn();
  26. 26. Device Self-Registration –iOS Example<YOUR SNS APP ARN> MyUserID;iPhone5 Amazon Cognito Credentials
  27. 27. Step 5a: Send Push Notifications via the Console Hello world!
  28. 28. Step 5b: Send Push Notifications via the API MyMac:~ glez$ python Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import boto >>> import boto.sns >>> boto.sns.connect_to_region("eu-west-1").publish( ... message="Hello world!", ... target_arn="arn:aws:sns:eu-west- 1:979463966312:endpoint/APNS_SANDBOX/Push2reInvent/fc1234a1-67ef-4f62-b31a- ac320bf7631f") {u'PublishResponse': {u'PublishResult': {u'MessageId': u'1893fa9d-7478-5137-be1d- b06928d999d0'}, u'ResponseMetadata': {u'RequestId': u'c3c26267-92af-50b3-b529- 2893ce0e4854'}}} >>>
  29. 29. Step 6: Receive and Close the Loop
  30. 30. We redesigned the inbox to make email light, fast, and mobile- friendly.
  31. 31. Mobile push notifications are a core part of the Mailbox user experience Fast, reliable messages at the right time on all your devices Silent push notifications to refresh your inbox in the background
  32. 32. Amazon SNSMobile Push 3rdParty Mobile Push Provider At Launch Late 2013: Self Managed January 2014 •Unpredictable •Black box •Pricey •Scalable, cheaper, more predictable •Ongoing devops and development cost •Capacity planning •No provisioning •Reliable and performant •$1 per million
  33. 33. Amazon SNSMobile Push Hundreds of millions of mobile push deliveries per week Launched our Android app on SNS, with no clear idea of how much capacity to provision (not a problem with SNS) Instant support for new features like iOS8 interactive push notifications.
  34. 34. http://bit.ly/awsevals

×