Más contenido relacionado
La actualidad más candente (20)
Similar a Intro To AWS for Mobile Developers: Collision 2018 (20)
Más de Amazon Web Services (20)
Intro To AWS for Mobile Developers: Collision 2018
- 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adrian Hall
Sr. Developer Advocate
AWS Mobile
Introduction to AWS
for Mobile Developers
- 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is a mobile app?
Mobile Connectivity Limited Resources Front End Language
Browser Phone / Tablet Wearable Embedded
- 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mobile Development on AWS: Philosophy
Start Simply Integrate Easily
Secure by Default Global ScaleIt’s your data
Comprehensive Catalog
- 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Start Simply: AWS Mobile Hub
• Manage multiple services
as a project
• Configure common services
for best practices
• Download service constants
for iOS, Android and
JavaScript
• Export project for
repeatable deployments
- 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Start Simply: awsmobile CLI
• Designed for frontend JavaScript developers
• Easily configure your AWS services
• Devops-centric
• Integrates with AWS Mobile Hub
• Ensures front-end assets are always up to date
$ npm install –g awsmobile-cli
$ awsmobile configure
$ cd my-project
$ awsmobile init
$ awsmobile publish
N
ew
for2018
- 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud services for mobile development
App Analytics User Engagement User Identity
Real-time &
Offline Data
Data Stores
Machine LearningMedia StorageCustom API
- 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
App Analytics & User Engagement
Understand Users Segment your Users Engage your Audience
Obtain analytics on user
demographics and behaviors
Define user segmentation
based on analytics
Deliver personalized content
campaigns at the right time
Understand user behavior and engage your users effectively over multiple channels
- 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Pinpoint
Direct and targeted mobile push,
email and SMS messages
Scheduled and recurring
campaigns
Campaign and app analytics –
usage, monetization, deliveries,
opens
A/B testing and holdout testing
Quiet time and message caps
Templating, rich (media), data, and
silent notifications
Custom events and custom attributes
Event streams to Kinesis and Kinesis
Firehose for custom analysis
Segment and funnel analytics
User based segmentation
- 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
User identity
Security &
Access
Customer
Resource
Ownership
Experience Customer
Relationships
- 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Cognito
AWS credentials and
access control
OpenID Connect and
OAUth 2.0
Managed user directory Sign in with existing
identities (federation)
Customizable UI
- 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Cognito: Advanced Security
Compromised Credentials
Bots
Anomalous Sign-in Attempts
Advanced Security Reporting
N
ew
for2018
Better user experience for security in an insecure world
- 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DATA – STORE CHOICES
Amazon
DynamoDB
Amazon
RDS
Amazon
S3
• Serverless – Start small & simply dial up request capacity as your requirements scale
• Fully managed – automatic replication & failover
• Multi-region replication built-in
• DAX in-memory cache offered; delivers up to 10x performance improvement
• But – not a relational database. Does not support complex relational queries or joins.
Amazon
Elasticsearch
- 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DATA – STORE CHOICES
Amazon
DynamoDB
Amazon
RDS
Amazon
S3
• Support for complex relational queries and complex transactions
• Support for many database engines
• Only one engine (Amazon Aurora) is serverless – scaling databases is complex
Amazon
Elasticsearch
- 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DATA – STORE CHOICES
Amazon
DynamoDB
Amazon
RDS
Amazon
Elasticsearch
Amazon
S3
• Complementary to your primary database
• Full text search, faceted search, fuzzy matching
• No serverless options
• Use for log analytics, catalogs, geospatial search
- 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DATA – STORE CHOICES
Amazon
DynamoDB
Amazon
RDS
Amazon
Elasticsearch
Amazon
S3
Secure, durable, highly-scalable object storage. Amazon S3 is easy to use, with a
simple web service interface to store and retrieve any amount of data from
anywhere on the web.
- 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Custom API Architecture
AWS cloud
Amazon API
Gateway
Amazon
Cognito
Amazon
RDS
Amazon
DynamoDB
REST Handlers Data Sources
- 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda: Scale with ease
• Focus on business logic, not infrastructure
• Upload your code, AWS Lambda handles:
• Capacity
• Scaling
• Fault Tolerance
• Monitoring
• Logging
- 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon API Gateway: Control your APIs
• Host multiple versions of your API
• Create and distribute API keys
• Leverage AWS authorization
• Throttle requests to protect your backend
• API monitoring built in
• Developer support – Swagger, API generation, mocks
- 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
awsmobile support for Cloud Logic
• Build a custom API with ease
• Store the Custom API code with your project
• Test locally and in the cloud
• CLI tools for one-click publish
N
ew
for2018
Devops for custom API
- 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Real-time Data
• Banking alerts
• Breaking news
• Multi-player games
• Chat
• Shared whiteboard
• AR/VR
• Document collaboration
Real-time and Offline Data
Offline Availability
• Financial transactions
• News articles
• Social experience
• Games
• Messaging
• Enterprise Productivity
- 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS AppSync: Real-time Offline Data
• UI-driven data access
• Use any data source
• Real-time updates
• Offline data cache
• Enterprise security
N
ew
for2018
- 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS AppSync: GraphQL with benefits
• Rapid prototyping without involving Backend Engr.
• Introspection of the available dataset
• Bandwidth Optimization
For the Frontend Developer
• Less deployments for changing requirements
• Security enforcement at the server
For the Backend Developer
N
ew
for2018
- 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Media Storage and Processing
• Amazon S3
• Cost effective media storage
• Amazon Cloudfront
• Low latency edge access
• Video streaming with RTMP
• AWS Lambda
• Event-driven media processing
AWS cloud
Amazon S3
Amazon
CloudFront
AWS
Lambda
- 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learning
Service Ability
Amazon Comprehend Natural language processing (NLP)
Amazon Lex Conversational interfaces
Amazon Polly Text to life-like speech
Amazon Rekognition Image and Video analysis
Amazon Transcribe Automatic speech recognition (ASR)
Amazon Translate Fluent language translation
Bring your own ML model or use one of ours
- 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learning: Powering new app features
Augmented
Reality
Chatbots
Automatic
Translation
Image & Video
Processing
- 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Integrate Easily: The AWS SDK
• Comprehensive
• Open Source
• Supported by AWS
• Mobile Specific
- 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Integrate Easily: AWS Amplify
• Declarative Javascript Library
• Use AWS Services Easily
• Works with awsmobile
• Framework Bindings
• React & React Native
N
ew
for2018
- 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
It’s your data: Data Privacy
We do not access
your data without
permission*
Data stays in the
region you select*
* Subject to applicable laws or binding requests by government body
You are responsible
for securing access
to the data
- 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Secure by default
Identity and Access Control
Keep your data safe
Data Encryption
Compliance Requirements
- 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scale Globally
• Write your app
• Pay for what you use
• Scale effortlessly
• Resilience built-in
SERVERLESS GLOBAL REDUNDANCY
• Plan for failure
• Think multi-region
• Data Replication
• Global Tables
• Geoproximity
- 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scale Globally: Dynamic Content
Amazon
DynamoDB
region 1
region 2
Amazon
DynamoDB
Lambda
function
Lambda
function
Cross-region
replication
Amazon
Route 53
• Manage traffic globally through a variety of
routing types, including Latency Based Routing,
Geo DNS, Geoproximity, and Weighted Round
Robin
• Combined with DNS Failover in order to enable a
variety of low-latency, fault-tolerant
architectures.
https://myendpoint.com
d-a.execute-api.reagion1.am
azonaws.com
AWS
AppSync
AWS
AppSync
- 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mobile Backends on AWS: Philosophy
Start Simply Integrate Easily
Secure by Default Global ScaleIt’s your data
Comprehensive Catalog
- 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
Everything you need to connect
your mobile app to the cloud
aws.amazon.com/mobile
@AWSforMobile