SlideShare uma empresa Scribd logo
1 de 24
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Daniel Geske, Solutions Architect
15 October 2018
AWS Amplify
The foundation for your cloud-powered
mobile & web apps
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is AWS Amplify?
AWS Amplify is a CLI & toolchain for the client
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Does it Do?
CLI
Creates & configures AWS services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Does it Do?
JavaScript Library
Connects your front-end application to cloud services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What kind of services?
 Database
 API
 Lambda / Serverless
 Authentication
 Analytics
 Hosting
 Storage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Authentication
Amazon Cognito
 Create & configure new Amazon Cognito resources for user sign-
up & sign-in
 Interact with Amazon Cognito using Auth class from client library
 Pre-configured components available for React, React Native,
Angular, & Ionic
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics
 Create & configure new Amazon Pinpoint resources
 Record events from the client application
 Automatically records session data
 Automatically records auth data (sign-ups, sign-ins, & auth
failures)
Amazon Pinpoint
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
REST API
AWS Lambda + Amazon API Gateway
 Create new AWS Lambda Function
 Scaffold Lambda code
 Configure API Gateway
 Interact with Lambda function with client Library
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GraphQL API
AWS AppSync
 Create new AWS AppSyncGraphQL API
 Configure AppSync
 Perform queries, mutatations, & register subscriptions from client
application
 React & React Native Components for render props
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database API
Amazon DynamoDB + AWS Lambda + Amazon API
Gateway
 Create & configure table
 Create Lambda function
 Configure API Gateway
 Scaffolds Lambda code to act as REST API
 Interact with Lambda Function using client Library
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Function
 Create & configure Lambda functions
 Push changes
 Invoke functions locally
 Interact with Lambda function from using client library
AWS Lambda
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hosting
 Creates & configure S3 bucket for hosting
 Configure Amazon CloudFront
 Publishes assets to S3
 Push updates when necessary directly from CLI
Amazon S3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
 Create & configure Amazon S3 bucket
 Manage user content for your app in public, protected or private
storage buckets
Amazon S3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify CLI
Getting started
Installing the CLI
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify CLI
Getting started
Initializing a new project
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify CLI
Getting started
Adding a feature
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify Client Library
Getting started
Add library to project
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify Client Library
Getting started
Add framework-specific library
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify Client Library
Getting started
Import component
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify Client Library
Getting started
Interact with services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Amplify
This CLI & toolchain for the client greatly lowers the
barrier to entry for developers & companies looking
to build full-stack applications allowing them to not
only iterate & experiment quickly, but also giving
them the ability to do so at a lower cost.
“ “
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Survey:
Your platform of choice
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Go build
Daniel Geske, Solutions Architect
<gesked@amazon.de>

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Deep Dive into AWS SAM
Deep Dive into AWS SAMDeep Dive into AWS SAM
Deep Dive into AWS SAM
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
Getting Started with AWS Lambda Serverless Computing
Getting Started with AWS Lambda Serverless ComputingGetting Started with AWS Lambda Serverless Computing
Getting Started with AWS Lambda Serverless Computing
 
DevOps and AWS
DevOps and AWSDevOps and AWS
DevOps and AWS
 
A Brief Look at Serverless Architecture
A Brief Look at Serverless ArchitectureA Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day Israel
 
AWS Lambda
AWS LambdaAWS Lambda
AWS Lambda
 
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@EdgeAWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
 
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
 
AWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless CloudAWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless Cloud
 
AWS API Gateway
AWS API GatewayAWS API Gateway
AWS API Gateway
 
Intro to AWS Lambda
Intro to AWS Lambda Intro to AWS Lambda
Intro to AWS Lambda
 
VPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCVPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPC
 
Security Architectures on AWS
Security Architectures on AWSSecurity Architectures on AWS
Security Architectures on AWS
 
AWS CLIでAssumeRole
AWS CLIでAssumeRoleAWS CLIでAssumeRole
AWS CLIでAssumeRole
 
Real-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaReal-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS Lambda
 
S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트:: AWS Summit Onli...
S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트::  AWS Summit Onli...S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트::  AWS Summit Onli...
S3, 넌 이것까지 할 수있네 (Amazon S3 신규 기능 소개) - 김세준, AWS 솔루션즈 아키텍트:: AWS Summit Onli...
 

Semelhante a Introduction to AWS Amplify and the Amplify CLI Toolchain

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
Amazon Web Services
 

Semelhante a Introduction to AWS Amplify and the Amplify CLI Toolchain (20)

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
 
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) ...
 
Building Mobile Apps with AWS Amplify
Building Mobile Apps with AWS AmplifyBuilding Mobile Apps with AWS Amplify
Building Mobile Apps with AWS Amplify
 
Building Mobile Apps with AWS Amplify
Building Mobile Apps with AWS AmplifyBuilding Mobile Apps with AWS Amplify
Building Mobile Apps with AWS Amplify
 
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
 
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
 
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 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...
 
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
 
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
Unlocking Agility with the AWS Serverless Application Model (SAM) - AWS Summi...
 
20200513 Getting started with AWS Amplify
20200513   Getting started with AWS Amplify20200513   Getting started with AWS Amplify
20200513 Getting started with AWS Amplify
 
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
 
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
 
GraphQL backend with AWS AppSync & AWS Lambda
GraphQL backend with AWS AppSync & AWS LambdaGraphQL backend with AWS AppSync & AWS Lambda
GraphQL backend with AWS AppSync & AWS Lambda
 
"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...
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
Marcia Villalba "Developing Serverless Applications with GraphQL"
Marcia Villalba "Developing Serverless Applications with GraphQL"Marcia Villalba "Developing Serverless Applications with GraphQL"
Marcia Villalba "Developing Serverless Applications with GraphQL"
 
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
 

Mais de AWS Germany

Mais de AWS Germany (20)

Analytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the FieldAnalytics Web Day | From Theory to Practice: Big Data Stories from the Field
Analytics Web Day | From Theory to Practice: Big Data Stories from the Field
 
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
 
Modern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWSModern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWS
 
Modern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with SpinnakerModern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
Modern Applications Web Day | Continuous Delivery to Amazon EKS with Spinnaker
 
Building Smart Home skills for Alexa
Building Smart Home skills for AlexaBuilding Smart Home skills for Alexa
Building Smart Home skills for Alexa
 
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructureHotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
Hotel or Taxi? "Sorting hat" for travel expenses with AWS ML infrastructure
 
Wild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless WorkshopWild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
Wild Rydes with Big Data/Kinesis focus: AWS Serverless Workshop
 
Log Analytics with AWS
Log Analytics with AWSLog Analytics with AWS
Log Analytics with AWS
 
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
Deep Dive into Concepts and Tools for Analyzing Streaming Data on AWS
 
AWS Programme für Nonprofits
AWS Programme für NonprofitsAWS Programme für Nonprofits
AWS Programme für Nonprofits
 
Microservices and Data Design
Microservices and Data DesignMicroservices and Data Design
Microservices and Data Design
 
Serverless vs. Developers – the real crash
Serverless vs. Developers – the real crashServerless vs. Developers – the real crash
Serverless vs. Developers – the real crash
 
Query your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performanceQuery your data in S3 with SQL and optimize for cost and performance
Query your data in S3 with SQL and optimize for cost and performance
 
Secret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s VaultSecret Management with Hashicorp’s Vault
Secret Management with Hashicorp’s Vault
 
EKS Workshop
 EKS Workshop EKS Workshop
EKS Workshop
 
Scale to Infinity with ECS
Scale to Infinity with ECSScale to Infinity with ECS
Scale to Infinity with ECS
 
Containers on AWS - State of the Union
Containers on AWS - State of the UnionContainers on AWS - State of the Union
Containers on AWS - State of the Union
 
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon LightsailDeploying and Scaling Your First Cloud Application with Amazon Lightsail
Deploying and Scaling Your First Cloud Application with Amazon Lightsail
 
Building Personalized Data Products - From Idea to Product
Building Personalized Data Products - From Idea to ProductBuilding Personalized Data Products - From Idea to Product
Building Personalized Data Products - From Idea to Product
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Introduction to AWS Amplify and the Amplify CLI Toolchain

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Daniel Geske, Solutions Architect 15 October 2018 AWS Amplify The foundation for your cloud-powered mobile & web apps
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is AWS Amplify? AWS Amplify is a CLI & toolchain for the client
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Does it Do? CLI Creates & configures AWS services
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Does it Do? JavaScript Library Connects your front-end application to cloud services
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What kind of services?  Database  API  Lambda / Serverless  Authentication  Analytics  Hosting  Storage
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Authentication Amazon Cognito  Create & configure new Amazon Cognito resources for user sign- up & sign-in  Interact with Amazon Cognito using Auth class from client library  Pre-configured components available for React, React Native, Angular, & Ionic
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics  Create & configure new Amazon Pinpoint resources  Record events from the client application  Automatically records session data  Automatically records auth data (sign-ups, sign-ins, & auth failures) Amazon Pinpoint
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. REST API AWS Lambda + Amazon API Gateway  Create new AWS Lambda Function  Scaffold Lambda code  Configure API Gateway  Interact with Lambda function with client Library
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GraphQL API AWS AppSync  Create new AWS AppSyncGraphQL API  Configure AppSync  Perform queries, mutatations, & register subscriptions from client application  React & React Native Components for render props
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database API Amazon DynamoDB + AWS Lambda + Amazon API Gateway  Create & configure table  Create Lambda function  Configure API Gateway  Scaffolds Lambda code to act as REST API  Interact with Lambda Function using client Library
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Function  Create & configure Lambda functions  Push changes  Invoke functions locally  Interact with Lambda function from using client library AWS Lambda
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hosting  Creates & configure S3 bucket for hosting  Configure Amazon CloudFront  Publishes assets to S3  Push updates when necessary directly from CLI Amazon S3
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage  Create & configure Amazon S3 bucket  Manage user content for your app in public, protected or private storage buckets Amazon S3
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify CLI Getting started Installing the CLI
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify CLI Getting started Initializing a new project
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify CLI Getting started Adding a feature
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Client Library Getting started Add library to project
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Client Library Getting started Add framework-specific library
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Client Library Getting started Import component
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify Client Library Getting started Interact with services
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Amplify This CLI & toolchain for the client greatly lowers the barrier to entry for developers & companies looking to build full-stack applications allowing them to not only iterate & experiment quickly, but also giving them the ability to do so at a lower cost. “ “
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Survey: Your platform of choice
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Go build Daniel Geske, Solutions Architect <gesked@amazon.de>

Notas do Editor

  1. Build web apps and mobile apps quickly AWS Amplify released only a couple of weeks ago – in September Excited to tell you about it With Cli+toolchain- have toolkit to build really interesting things How to get up and running How to use amplify in actual app Intro self
  2. Aws amplify: cli+toolchain for client Get started easy Sign up for an AWS account—no upfront charges Install the CLI Build your app: ios, android, web, react native Provides ecosystem around building apps Split in two parts
  3. create +maintain sophisticated serverless backends for your apps With minimal effort Create, config services dir. From cmd line
  4. comprehensive library for building sophisticated cloud-powered apps Interact w/ diff svcs scaffolded into cli Rapidly build apps
  5. Dynamodb, rds, elastic search, diff rds engines Custom apis, graphql apis Get lambda up+running quickly dir from front-end Authent – easily, authorization on diff. endopoints Analytics w/ pinpoint Hosting of web app, publish dir. From cmd line Storage: s3
  6. Auth w/ cognito — diff. things related to user reg+ auth Forget pass, mfa Time based one time passwords, e.g. sophisticated user auth scenarios Create resources dir. From app, interact w/ them within app Add auth around it Lots cases that are not library specific: can write own modules But standard use cases: Sign-up form, sign-in forms - use pre-config components
  7. e.g. passwd policy failures: report out of box, no addt’l work requ’d See auth failures, draw conclusions, e.g. relax requirements
  8. Scaffold boiler plate code as starting point Once api created: use JS lib to interact w/ api
  9. Real-time Use appsync console Also can create graphql endpoint from cli Similar to auth components: use react+RN components Render queries dir from react/RN libs
  10. Combo of ddb+lambda+apigw Create resources, boilerplate code to interact CRUD w/o lots of intermediate code – handled for you
  11. Create standalone lambda fns Test locally
  12. Host website on AWS: 2 cmds to config website for hosting on s3 http interface Cust. domain w/ route53 DNS
  13. Will walk through Show in slide first, then show demo
  14. Go to app dir Then run ‘init’ Scaffold project, to prep, then ready to go
  15. Once app ready, add features Auth code, get local config ready
  16. Once all svcs you want are added locally Start interact w/ them using amplify client lib In same dir where we used amplify cli project Install aws amplify: amplify js lib to use in your proj.
  17. If js framework specific lib you want to use: If react project: add aws-amplify-react Angular project: use aws-amplify-angular built-in components for vuejs lib: use aws-amplify-vue
  18. Once local components installed, start using them Auth to allow us to use the diff. features in Amazon cognito
  19. Start interacting w/ services Place in scope Call Auth.signIn (user/pass) Sign-in returns promise If promise successful, log user in, typically start routing there Error: simply log error If want to learn more about Auth: has 30+ methods Github doc, aws doc site have lots of details avbl and shows how the diff. components work
  20. Summary: Amplify is toolchain Typically managing for startups or otherwise, expensive to hire devs, precious resource Experiment Want own auth service – takes many hours Use amplify to try out diff. managed services Try things out If experiment works, scale out If it doesn’t work, then didn’t invest lots of resources, try something else
  21. Who here develops for ios? Android? Web?
  22. create new react project create new func in react app to sign-up+sign-in to app, add analytics, look resources in console create-react-app amplifydemo cd amplifydemo amplify init — init new amplify project # editor: chose if here, if not “none” # dist: path where created code is put # aws acct: use profile, or register+create iam user amplify add auth # default: email, user, pass, sms # auth resources created, Cognito UP console code # index.js App.js aws-exports.js
  23. Thanks Build+send email with cool solutions Loft: Devops day and topics rest of week Ask an architect