SlideShare a Scribd company logo
1 of 28
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pop-up Loft
Building Serverless Web Apps
Wild Rydes Takes Off:
The Dawn of a New Unicorn
Kashif Imran Sr. Solutions Architect AWS
Harrell Stiles, Sr. Consultant, AWS ProServe
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
What to expect?
• Overview of Serverless Computing
• Introduction to AWS Services used in the Workshop
• Outline of the Workshop Scenario
• Preview of the Labs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Serverless Computing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
In the beginning…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Physical Hardware – Concern Space
• Procurement
• Power
• Cooling
• Asset Tracking
• Remote Hands
• IP Transit
• Colocation
• Capacity Planning
• Hardware Refreshes
• Storage
• Depreciation
• Physical Security
• Networking Equipment
• Cabling
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Elastic Compute Cloud (EC2)
• Allows developers to
obtain compute capacity
on-demand
• Create virtual servers in
the cloud with the click of
a button
• Launched in 2006
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Elastic Compute Cloud (EC2)
Match Capacity and
Demand
Global Footprint Elasticity
Provision Servers in
Minutes
Infrastructure as
Code
Programmatic
Networking
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Servers – Concern Space
• Configuration Management
• Security Patches
• Server Utilization
• Operating Systems
• Auto-scaling Policies
• Monitoring
• Intrusion Detection
• Resiliency
• Machine Images
• Access Management
• Capacity Planning
• Hourly Billing
• Code Deployment
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault tolerance
built in
Serverless means…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Services You Will Use Today
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
AWS Lambda: Serverless computing
• Run code without servers. Pay only for the compute time you consume.
• Triggered by events or called from APIs:
– PUT to an Amazon S3 bucket
– Updates to Amazon DynamoDB table
– Call to an Amazon API Gateway endpoint
– Mobile app back-end call
– And many more…
• Makes it easy to:
– Perform real-time data processing
– Build scalable back-end services
– Glue and choreograph systems
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Benefits of AWS Lambda
No Servers to Manage Continuous Scaling Don’t Pay for Idle Capacity
Lambda allows you to run
application logic without
provisioning servers or worrying
about the health or security of
underlying resources
Lambda scales infrastructure
beneath your application logic;
just send requests and events
and Lambda will automatically
scale to accommodate it
With Lambda, you’re billed in
100ms increments of execution
time and number of requests
and you’re never charged for
anything when your code isn’t
running
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon DynamoDB
• Fast and flexible NoSQL database service
for any scale
Dead Simple
• GetItem(primaryKey)
• PutItem(item)
Robust Depth
• Fine-Grained Access Control
• Streams
• Triggers
• Cross-Region Replication
• DynamoDB local
• Free-text search
• Titan Graph Database integration
• Strong consistency option
• Atomic counters
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon API Gateway
• Create, publish, maintain, monitor, and secure APIs at any scale
Create a unified API
frontend for multiple
backend microservices
DDoS and throttling to
protect your backend
microservices
Authenticate and authorize
requests to your backend
microservices
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Cognito
• Add user sign-up, sign-in, and data synchronization to your apps
Add user sign-up and sign-
in to your mobile and web
apps
Federate identities and
provide secure access to
AWS resources
Store and sync across
devices
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Simple Storage Service (S3)
• Durable, massively scalable object storage
• Designed for 99.999999999% durability and
99.99% availability
• Stores trillions of objects and regularly handles millions of requests per
second
• Effectively infinite storage without provisioning capacity
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Simple Storage Service (S3)
• S3 is a low-cost, highly available solution for static
website hosting – and it’s completely serverless
• Reliably serve your static website and handle unexpected peaks
without worrying about scaling your infrastructure
• Integrates with Amazon CloudFront for edge delivery of content across
the globe
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Workshop Overview
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Scenario: Wild Rydes (www.wildrydes.com)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Help Wild Rydes Disrupt Transportation!
So how does this magic work?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Wild Rydes is Backed by Leading Investors
THE BARN
ACCELERATOR
TENDERLOIN
CAPITAL
PENGLAI COMMUNICATIONS
AND POST NEW CENTURY
TECHNOLOGY CORP LIMITED
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Your Task: Build the Wild Rydes Website
Welcome to Wild Rydes Inc.,
Employee #3!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Scenario: Wild Rydes
The Wild Rydes Serverless Web Application Workshop introduces the basics of
building web applications using serverless infrastructure.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Lab 1: Static Website Hosting
OBJECTIVE: Create a bucket in Amazon S3 and configure it for static website hosting.
The static HTML, JS, and CSS will be served directly to user browsers from Amazon S3.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Lab 2: User Management
OBJECTIVE: Allow visitors to register as a new user on Wild Rydes, by providing and
validating their email address. Amazon Cognito will be used to manage the User Pool for
Wild Rydes.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Lab 3: Serverless Service Backend
OBJECTIVE: Create a service backend using AWS Lambda and Amazon DynamoDB to
handle requests from your frontend static website content.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Lab 4: Create RESTful API
OBJECTIVE: Use API Gateway to expose the Lambda function you built in the previous
module as a RESTful API
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
https://github.com/awslabs/aws-serverless-workshops/tree/master/WebApplication
https://tinyurl.com/yb8papcs

More Related Content

What's hot

Building Global Serverless Backends powered by Amazon DynamoDB Global Tables
Building Global Serverless Backends powered by Amazon DynamoDB Global TablesBuilding Global Serverless Backends powered by Amazon DynamoDB Global Tables
Building Global Serverless Backends powered by Amazon DynamoDB Global Tables
Amazon Web Services
 

What's hot (20)

Getting Started with Amazon EC2 Container Service
Getting Started with Amazon EC2 Container ServiceGetting Started with Amazon EC2 Container Service
Getting Started with Amazon EC2 Container Service
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWS
 
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step FunctionsAdvanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step Functions
 
AWS Container services
AWS Container servicesAWS Container services
AWS Container services
 
Building Chatbots with Amazon Lex
Building Chatbots with Amazon LexBuilding Chatbots with Amazon Lex
Building Chatbots with Amazon Lex
 
Create a Serverless Image Processing Platform
Create a Serverless Image Processing PlatformCreate a Serverless Image Processing Platform
Create a Serverless Image Processing Platform
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture Patterns
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Building Global Serverless Backends powered by Amazon DynamoDB Global Tables
Building Global Serverless Backends powered by Amazon DynamoDB Global TablesBuilding Global Serverless Backends powered by Amazon DynamoDB Global Tables
Building Global Serverless Backends powered by Amazon DynamoDB Global Tables
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the Union
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
 
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019Deep Dive on Amazon Elastic Container Service (ECS)  | AWS Summit Tel Aviv 2019
Deep Dive on Amazon Elastic Container Service (ECS) | AWS Summit Tel Aviv 2019
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
 
Introducing Amazon EKS
Introducing Amazon EKSIntroducing Amazon EKS
Introducing Amazon EKS
 
Serverless - State Of the Union
Serverless - State Of the UnionServerless - State Of the Union
Serverless - State Of the Union
 
Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep Dive
 
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step FunctionsAdvanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step Functions
 
CON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWSCON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWS
 
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
How To Run Your Containers on AWS with ECS & Fargate: Collision 2018
 

Similar to Build a Serverless Web Application in One Day

How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
Amazon Web Services
 

Similar to Build a Serverless Web Application in One Day (20)

AWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureAWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless Architecture
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
 
Build a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a RideBuild a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a Ride
 
Build a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a RideBuild a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a Ride
 
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL MeetupIntroduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
 
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
 
Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...
 
Introduction to AWS for Mobile Developers
Introduction to AWS for Mobile DevelopersIntroduction to AWS for Mobile Developers
Introduction to AWS for Mobile Developers
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018
 
Getting started with Serverless on AWS
Getting started with Serverless on AWSGetting started with Serverless on AWS
Getting started with Serverless on AWS
 
Introduction to the Serverless Cloud
Introduction to the Serverless CloudIntroduction to the Serverless Cloud
Introduction to the Serverless Cloud
 
Wild rydes serverless website workshop
Wild rydes   serverless website workshopWild rydes   serverless website workshop
Wild rydes serverless website workshop
 
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
 
Reactive Architectures with Microservices
Reactive Architectures with MicroservicesReactive Architectures with Microservices
Reactive Architectures with Microservices
 
SRV331_Build a Multi-Region Serverless Application for Resilience and High Av...
SRV331_Build a Multi-Region Serverless Application for Resilience and High Av...SRV331_Build a Multi-Region Serverless Application for Resilience and High Av...
SRV331_Build a Multi-Region Serverless Application for Resilience and High Av...
 
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWSServerless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
 
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
 
Create a Serverless Image Processing Platform - ARC326 - re:Invent 2017
Create a Serverless Image Processing Platform - ARC326 - re:Invent 2017Create a Serverless Image Processing Platform - ARC326 - re:Invent 2017
Create a Serverless Image Processing Platform - ARC326 - re:Invent 2017
 

More from Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

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
 

Build a Serverless Web Application in One Day

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pop-up Loft Building Serverless Web Apps Wild Rydes Takes Off: The Dawn of a New Unicorn Kashif Imran Sr. Solutions Architect AWS Harrell Stiles, Sr. Consultant, AWS ProServe
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved What to expect? • Overview of Serverless Computing • Introduction to AWS Services used in the Workshop • Outline of the Workshop Scenario • Preview of the Labs
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Serverless Computing
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved In the beginning…
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Physical Hardware – Concern Space • Procurement • Power • Cooling • Asset Tracking • Remote Hands • IP Transit • Colocation • Capacity Planning • Hardware Refreshes • Storage • Depreciation • Physical Security • Networking Equipment • Cabling
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Elastic Compute Cloud (EC2) • Allows developers to obtain compute capacity on-demand • Create virtual servers in the cloud with the click of a button • Launched in 2006
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Elastic Compute Cloud (EC2) Match Capacity and Demand Global Footprint Elasticity Provision Servers in Minutes Infrastructure as Code Programmatic Networking
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Servers – Concern Space • Configuration Management • Security Patches • Server Utilization • Operating Systems • Auto-scaling Policies • Monitoring • Intrusion Detection • Resiliency • Machine Images • Access Management • Capacity Planning • Hourly Billing • Code Deployment
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in Serverless means…
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Services You Will Use Today
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved AWS Lambda: Serverless computing • Run code without servers. Pay only for the compute time you consume. • Triggered by events or called from APIs: – PUT to an Amazon S3 bucket – Updates to Amazon DynamoDB table – Call to an Amazon API Gateway endpoint – Mobile app back-end call – And many more… • Makes it easy to: – Perform real-time data processing – Build scalable back-end services – Glue and choreograph systems
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Benefits of AWS Lambda No Servers to Manage Continuous Scaling Don’t Pay for Idle Capacity Lambda allows you to run application logic without provisioning servers or worrying about the health or security of underlying resources Lambda scales infrastructure beneath your application logic; just send requests and events and Lambda will automatically scale to accommodate it With Lambda, you’re billed in 100ms increments of execution time and number of requests and you’re never charged for anything when your code isn’t running
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon DynamoDB • Fast and flexible NoSQL database service for any scale Dead Simple • GetItem(primaryKey) • PutItem(item) Robust Depth • Fine-Grained Access Control • Streams • Triggers • Cross-Region Replication • DynamoDB local • Free-text search • Titan Graph Database integration • Strong consistency option • Atomic counters
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon API Gateway • Create, publish, maintain, monitor, and secure APIs at any scale Create a unified API frontend for multiple backend microservices DDoS and throttling to protect your backend microservices Authenticate and authorize requests to your backend microservices
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Cognito • Add user sign-up, sign-in, and data synchronization to your apps Add user sign-up and sign- in to your mobile and web apps Federate identities and provide secure access to AWS resources Store and sync across devices
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Simple Storage Service (S3) • Durable, massively scalable object storage • Designed for 99.999999999% durability and 99.99% availability • Stores trillions of objects and regularly handles millions of requests per second • Effectively infinite storage without provisioning capacity
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Simple Storage Service (S3) • S3 is a low-cost, highly available solution for static website hosting – and it’s completely serverless • Reliably serve your static website and handle unexpected peaks without worrying about scaling your infrastructure • Integrates with Amazon CloudFront for edge delivery of content across the globe
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Workshop Overview
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Scenario: Wild Rydes (www.wildrydes.com)
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Help Wild Rydes Disrupt Transportation! So how does this magic work?
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Wild Rydes is Backed by Leading Investors THE BARN ACCELERATOR TENDERLOIN CAPITAL PENGLAI COMMUNICATIONS AND POST NEW CENTURY TECHNOLOGY CORP LIMITED
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Your Task: Build the Wild Rydes Website Welcome to Wild Rydes Inc., Employee #3!
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Scenario: Wild Rydes The Wild Rydes Serverless Web Application Workshop introduces the basics of building web applications using serverless infrastructure.
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Lab 1: Static Website Hosting OBJECTIVE: Create a bucket in Amazon S3 and configure it for static website hosting. The static HTML, JS, and CSS will be served directly to user browsers from Amazon S3.
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Lab 2: User Management OBJECTIVE: Allow visitors to register as a new user on Wild Rydes, by providing and validating their email address. Amazon Cognito will be used to manage the User Pool for Wild Rydes.
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Lab 3: Serverless Service Backend OBJECTIVE: Create a service backend using AWS Lambda and Amazon DynamoDB to handle requests from your frontend static website content.
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Lab 4: Create RESTful API OBJECTIVE: Use API Gateway to expose the Lambda function you built in the previous module as a RESTful API
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved https://github.com/awslabs/aws-serverless-workshops/tree/master/WebApplication https://tinyurl.com/yb8papcs