Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Developing & Testing Mobile Apps on AWS

Developing & Testing Mobile Apps on AWS

October 25th, 2016

In this session we will discuss how you can leverage the new cross-platform AWS Mobile Services to build a highly scalable and reliable mobile app, powered by the AWS Cloud. We will explore core functionality like authentication and authorization of users, data synchronization, backend infrastructure without the need to manage servers, understanding your user behavior, engaging your users and bringing your users back to your app. Improve the quality of your iOS, Android, and web applications by testing them against real smartphones and tablets in the AWS Cloud. Run tests across a large selection of physical devices in parallel from various manufacturers with varying hardware, OS versions and form factors. Unlike emulators, physical devices provide a more accurate understanding of how users interact with your app, by taking into account factors such as memory, CPU usage, location, and modifications done by manufactures and carriers to the firmware and software. No matter if you are building the next great social app, or a front-office enterprise mobile app, this session will discuss best practices and reference architectures for building reliable and scalable mobile apps.

Danilo Poccia

October 25, 2016

More Decks by Danilo Poccia

Other Decks in Programming


  1. Developing & Testing Mobile Apps on AWS Danilo Poccia, Technical

    Evangelist @danilop danilop
  2. The best mobile apps run on AWS

  3. DEVELOP TEST ENGAGE Building quality mobile apps

  4. When developing mobile apps today, you want to focus on

    ... The great stuff that makes your app unique Not… The heavy lifting needed to manage back-end infrastructure AWS Mobile Services eliminate the heavy lifting

  6. “Mobile” growing in all directions Published mobile apps continue to

    grow… …As “mobile” platforms expand to new domains TV Watch Car *Source: Vision Mobile 0 200 400 600 800 1000 1200 1400 1600 2011 2012 2013 2014 Published Apps in App Stores ('000s)* iOS App Store Google Play
  7. Apps are also getting more complex …To cloud-connected apps From

    basic client apps… Sign-in/Social Push notifications Usage analytics Cloud storage Crash analytics Ads Attribution analytics Config management Custom back ends
  8. AWS Mobile SDKs AWS Mobile Hub Authenticate users Analyze user

    behavior Store and share media Synchronize data Deliver media Amazon Cognito (Sync) Amazon Cognito (Identity) Amazon S3 Amazon CloudFront Store data Amazon DynamoDB Amazon RDS Track retention Amazon Mobile Analytics Send push notifications Amazon SNS Mobile Push Server-side logic AWS Lambda AWS Device Farm Test your app Build and scale your apps on AWS Amazon Mobile Analytics
  9. “AWS has what we need, but…it’s complex” 1. Which services

    should I use? 2. How do I connect them? Identity provider SDKs + = Example: Login screen & integration code + SDK
  10. There has to be a better way…

  11. Introducing: The AWS Mobile Hub 1. Single integrated console 2.

    Pre-built features 3. Auto-provisioned services 4. Auto-generated app Result: Build apps on AWS in minutes
  12. AWS Mobile Hub: Fastest way to build apps on AWS


  14. Instrumentation UI Automation UI Automator Your app Improve the quality

    of your apps by testing against real devices in the AWS cloud Automated testing on AWS Device Farm (native, hybrid, web) XCTest XCTest UI
  15. Select a device View historical sessions Interact with the device

    Introducing Device Farm: Remote access

  17. Scalable and generous free tier Focus on metrics that matter.

    Usage reports available within 60 minutes of receiving data from an app. Fast Scale to billions of events per day from millions of users. Own your data Simply and cost-effectively collect and analyze your application usage data Data collected are not shared, aggregated, or reused. Amazon Mobile Analytics
  18. “If you can’t measure it, you can’t improve it” -Lord

  19. Daily/monthly active users Sessions Sticky factor In-app revenue Lifetime value

    (LTV) Retention …. and more (9 predefined metrics with one line of code)
  20. Fast, flexible, global messaging to any device or endpoint Global

    and fast at high scale Send messages to any device or endpoint Support for multiple platforms or frameworks Amazon Simple Notification Service
  21. Without worrying about infrastructure On real devices in the cloud

    Track and improve usage and monetization DEVELOP TEST ENGAGE AWS Mobile Services
  22. <demo> ... </demo>

  23. Thank you @danilop danilop