SlideShare a Scribd company logo
1 of 28
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Building Mobile Apps with AWS
Amplify
Nader Dabit
Developer Advocate, AWS Mobile
Pop-up Loft
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
A JavaScript library for application
development using cloud services.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
• Secure Authentication & Authorization
• APIs & serverless logic
• Realtime Data access
• Analytics & targeted messaging
• Streaming over lossy networks
• Push Notifications
• Storage / S3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
Authentication & Authorization
Federation
Amazon Cognito
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
Fully managed APIs
”Front Door” for many apps
Amazon API Gateway
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
Business Logic
Run code on demand & in response to events
Easily spin up microservices
AWS Lambda
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
• Analytics
• Engagement
• SMS, Email, Push
Amazon Pinpoint
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
• Managed GraphQL
• Real-time data
• Offline & synchronization
AWS AppSync
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Front-end Support – Framework integrations
React React Native Angular
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Mobile CLI
Command line interface for developers to seamlessly
create, enable, & configure AWS services.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Mobile CLI
AWS Mobile CLI
+
AWS Amplify
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
Getting Started with AWS Amplify
1. Add AWS Amplify to project
yarn add aws-amplify
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
Getting Started with AWS Amplify
2. Configure project with AWS resources
import Amplify from 'aws-amplify’
import config from './aws-exports’
Amplify.configure(config)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
API Deep Dive
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Authentication / User Identity
• Declarative APIs for Sign-Up, Sign-In, MFA, & Credential status
• React Higher Order Components
• Angular Services & View Components
• Pre-built UI or build a custom UI
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Auth class
import { Auth } from 'aws-amplify'
Auth.signUp({ …credentials })
Auth.signIn(username, password)
Base API
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Auth class methods
confirmSignIn
confirmSignUp
currentAuthenticatedUser
enableSMS
disableSMS
resendSignUp
forgotPassword
forgotPasswordSubmit
34 available methods
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Authentication
React / React Native support
import { withAuthenticator } from 'aws-amplify-react-native’
export default withAuthenticator(App)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Analytics
• Automatic session metrics from configuration
• Capture custom tracking events
• Capture custom tracking events with attributes
• Capture custom tracking events with metrics
• Record authentication events
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Analytics
Base API
import { Analytics } from 'aws-amplify-react-native’
Analytics.record(‘Button Pressed')
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Analytics class methods
record
enable
disable
startSession
stopSession
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Storage
• Store application content
• Public: all users of an app can access
• Private: individual user content
• Automatically track storage events through Pinpoint
• React / React Native Components
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Storage
Base API
import { Storage } from 'aws-amplify-react-native’
Storage.get(‘welcome.png')
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Storage class methods
get
put
remove
list
configure
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
Storage
React Components
import { S3Image, S3Album } from 'aws-amplify-react-
native’
render() {
return <S3Image imgKey={'myImage.png'} />
}
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
API Module
• Automatically sign requests using AWS Signature 4
• Very useful with Amazon API Gateway
• HTTP verbs & options
• Use multiple endpoints
• GraphQL Support
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Deep Dive
API
Base API
import { API } from 'aws-amplify’
let apiName = 'MyApiName'
let path = '/mypath'
API.get(apiName, path)
.then(response => // do something with response)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
Building Mobile Apps with AWS Amplify
aws.amazon.com/mobile
@AWSforMobile

More Related Content

What's hot

Accelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAccelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAmazon Web Services
 
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech TalkAmazon Web Services
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API GatewayMark Bate
 
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...Amazon Web Services
 
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018Amazon Web Services
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAmazon Web Services
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWSAWS User Group Bengaluru
 
AWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAmazon Web Services
 
Landing Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsAmazon Web Services
 
Introduction to AWS Secrets Manager
Introduction to AWS Secrets ManagerIntroduction to AWS Secrets Manager
Introduction to AWS Secrets ManagerAmazon Web Services
 
AWS January 2016 Webinar Series - Managing your Infrastructure as Code
AWS January 2016 Webinar Series - Managing your Infrastructure as CodeAWS January 2016 Webinar Series - Managing your Infrastructure as Code
AWS January 2016 Webinar Series - Managing your Infrastructure as CodeAmazon Web Services
 
AWS Monitoring & Logging
AWS Monitoring & LoggingAWS Monitoring & Logging
AWS Monitoring & LoggingJason Poley
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSAmazon Web Services
 

What's hot (20)

AWS Business Essentials
AWS Business EssentialsAWS Business Essentials
AWS Business Essentials
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
Accelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAccelerating App Development with AWS Amplify
Accelerating App Development with AWS Amplify
 
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...
Evolving Customer Experience with Amazon Connect, An AI based Contact Centre ...
 
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Become an AWS IAM Policy Ninja
Become an AWS IAM Policy NinjaBecome an AWS IAM Policy Ninja
Become an AWS IAM Policy Ninja
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets Manager
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWS
 
Amazon Cognito Deep Dive
Amazon Cognito Deep DiveAmazon Cognito Deep Dive
Amazon Cognito Deep Dive
 
AWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_Singapore
 
Landing Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS Migrations
 
Introduction to AWS Secrets Manager
Introduction to AWS Secrets ManagerIntroduction to AWS Secrets Manager
Introduction to AWS Secrets Manager
 
AWS Secrets Manager
AWS Secrets ManagerAWS Secrets Manager
AWS Secrets Manager
 
AWS January 2016 Webinar Series - Managing your Infrastructure as Code
AWS January 2016 Webinar Series - Managing your Infrastructure as CodeAWS January 2016 Webinar Series - Managing your Infrastructure as Code
AWS January 2016 Webinar Series - Managing your Infrastructure as Code
 
AWS Monitoring & Logging
AWS Monitoring & LoggingAWS Monitoring & Logging
AWS Monitoring & Logging
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
 

Similar to Building Mobile Apps with AWS Amplify

Building Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader DabitBuilding Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader DabitAmazon Web Services
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyAmazon Web Services
 
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...Amazon Web Services
 
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...Amazon Web Services
 
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...Amazon Web Services
 
AWS Webinar Series - Developing and Implementing APIs at Scale
AWS Webinar Series - Developing and Implementing APIs at ScaleAWS Webinar Series - Developing and Implementing APIs at Scale
AWS Webinar Series - Developing and Implementing APIs at ScaleAmazon Web Services
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWSAmazon Web Services
 
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...Provectus
 
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdfNader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdfAmazon Web Services
 
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018Amazon Web Services
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Amazon Web Services
 
Intro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SFIntro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SFAmazon Web Services
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivBoaz Ziniman
 
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Amazon Web Services
 
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018Amazon Web Services
 
Building your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSyncBuilding your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSyncAmazon Web Services
 
Building your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSyncBuilding your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSyncAmazon Web Services
 
Nader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdfNader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdfAmazon Web Services
 

Similar to Building Mobile Apps with AWS Amplify (20)

Building Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader DabitBuilding Mobile Apps with AWS Amplify - Nader Dabit
Building Mobile Apps with AWS Amplify - Nader Dabit
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
 
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...
Build a Photo-Sharing App with AI-Powered Face and Object Detection (MOB306) ...
 
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
Developing and Implementing APIs at Scale, the Servless Way - Ed Lima - AWS T...
 
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
Developing & Testing Your Hybrid Mobile App with AWS MobileHUB & AWS Amplify ...
 
AWS Webinar Series - Developing and Implementing APIs at Scale
AWS Webinar Series - Developing and Implementing APIs at ScaleAWS Webinar Series - Developing and Implementing APIs at Scale
AWS Webinar Series - Developing and Implementing APIs at Scale
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti..."Integrate your front end apps with serverless backend in the cloud", Sebasti...
"Integrate your front end apps with serverless backend in the cloud", Sebasti...
 
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdfNader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
 
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018
Build a Social News App with Android and AWS (MOB307) - AWS re:Invent 2018
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
 
Intro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SFIntro to AWS Amplify Toolchain: Mobile Week SF
Intro to AWS Amplify Toolchain: Mobile Week SF
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
 
Microservices for Startups
Microservices for StartupsMicroservices for Startups
Microservices for Startups
 
Simplify front end apps.pdf
Simplify front end apps.pdfSimplify front end apps.pdf
Simplify front end apps.pdf
 
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
 
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
 
Building your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSyncBuilding your first GraphQL API with AWS AppSync
Building your first GraphQL API with AWS AppSync
 
Building your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSyncBuilding your First GraphQL API with AWS AppSync
Building your First GraphQL API with AWS AppSync
 
Nader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdfNader Dabit - Intro to AWS AppSync.pdf
Nader Dabit - Intro to AWS AppSync.pdf
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Building Mobile Apps with AWS Amplify

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Building Mobile Apps with AWS Amplify Nader Dabit Developer Advocate, AWS Mobile Pop-up Loft
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify A JavaScript library for application development using cloud services.
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify • Secure Authentication & Authorization • APIs & serverless logic • Realtime Data access • Analytics & targeted messaging • Streaming over lossy networks • Push Notifications • Storage / S3
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Authentication & Authorization Federation Amazon Cognito
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Fully managed APIs ”Front Door” for many apps Amazon API Gateway
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Business Logic Run code on demand & in response to events Easily spin up microservices AWS Lambda
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify • Analytics • Engagement • SMS, Email, Push Amazon Pinpoint
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify • Managed GraphQL • Real-time data • Offline & synchronization AWS AppSync
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Front-end Support – Framework integrations React React Native Angular
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Mobile CLI Command line interface for developers to seamlessly create, enable, & configure AWS services.
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Mobile CLI AWS Mobile CLI + AWS Amplify
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Getting Started with AWS Amplify 1. Add AWS Amplify to project yarn add aws-amplify
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Getting Started with AWS Amplify 2. Configure project with AWS resources import Amplify from 'aws-amplify’ import config from './aws-exports’ Amplify.configure(config)
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify API Deep Dive
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Authentication / User Identity • Declarative APIs for Sign-Up, Sign-In, MFA, & Credential status • React Higher Order Components • Angular Services & View Components • Pre-built UI or build a custom UI
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Auth class import { Auth } from 'aws-amplify' Auth.signUp({ …credentials }) Auth.signIn(username, password) Base API
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Auth class methods confirmSignIn confirmSignUp currentAuthenticatedUser enableSMS disableSMS resendSignUp forgotPassword forgotPasswordSubmit 34 available methods
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Authentication React / React Native support import { withAuthenticator } from 'aws-amplify-react-native’ export default withAuthenticator(App)
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Analytics • Automatic session metrics from configuration • Capture custom tracking events • Capture custom tracking events with attributes • Capture custom tracking events with metrics • Record authentication events
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Analytics Base API import { Analytics } from 'aws-amplify-react-native’ Analytics.record(‘Button Pressed')
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Analytics class methods record enable disable startSession stopSession
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Storage • Store application content • Public: all users of an app can access • Private: individual user content • Automatically track storage events through Pinpoint • React / React Native Components
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Storage Base API import { Storage } from 'aws-amplify-react-native’ Storage.get(‘welcome.png')
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Storage class methods get put remove list configure
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive Storage React Components import { S3Image, S3Album } from 'aws-amplify-react- native’ render() { return <S3Image imgKey={'myImage.png'} /> }
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive API Module • Automatically sign requests using AWS Signature 4 • Very useful with Amazon API Gateway • HTTP verbs & options • Use multiple endpoints • GraphQL Support
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Deep Dive API Base API import { API } from 'aws-amplify’ let apiName = 'MyApiName' let path = '/mypath' API.get(apiName, path) .then(response => // do something with response)
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you Building Mobile Apps with AWS Amplify aws.amazon.com/mobile @AWSforMobile