SlideShare a Scribd company logo
1 of 33
WIFI: awsDevDay | PASS: CodeHappy
U P N E X T :
T H A N K S T O O U R F R I E N D S A T :
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Kashif Imran and Chris Marshall
10/10/2017
Wild Rydes Takes Off:
The Dawn of a New Unicorn
Building Serverless Web Apps
What to Expect from the Session
• Overview of Serverless Computing
• Introduction to AWS Services used in the Workshop
• Outline of the Workshop Scenario
• Preview of the Labs
Serverless Computing
In the beginning…
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
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
Amazon Elastic Compute Cloud (EC2)
Match Capacity and
Demand
Global Footprint Elasticity
Provision Servers in
Minutes
Infrastructure as
Code
Programmatic
Networking
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
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault
tolerance built in
Serverless means…
Services You Will Use Today
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
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
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
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
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
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
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
Workshop Overview
Scenario: Wild Rydes (www.wildrydes.com)
Help Wild Rydes Disrupt Transportation!
So how does this magic work?
Wild Rydes is Backed by Leading Investors
THE BARN
ACCELERATOR
TENDERLOIN
CAPITAL
PENGLAI COMMUNICATIONS
AND POST NEW CENTURY
TECHNOLOGY CORP LIMITED
Your Task: Build the Wild Rydes Website
Welcome to Wild Rydes
Inc., Employee #3!
Scenario: Wild Rydes
The Wild Rydes Serverless Web Application Workshop introduces the
basics of building web applications using serverless infrastructure.
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.
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.
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.
Lab 4: Create RESTful API
OBJECTIVE: Use API Gateway to expose the Lambda function you built in the
previous module as a RESTful API
https://tinyurl.com/ycwwhz3t
OR
https://github.com/awslabs/aws-serverless-workshops
Web Application - This workshop shows you how to build a dynamic,
serverless web application. You'll learn how to host static web
resources with Amazon S3, how to use Amazon Cognito to manage
users and authentication, and how to build a RESTful API for backend
processing using Amazon API Gateway, AWS Lambda and Amazon
DynamoDB.
Thank You!
Don’t Forget Evaluations!

More Related Content

What's hot

Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot InstancesWorkshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Amazon Web Services
 
Building a CICD Pipeline for Containers - DevDay Austin 2017
Building a CICD Pipeline for Containers - DevDay Austin 2017Building a CICD Pipeline for Containers - DevDay Austin 2017
Building a CICD Pipeline for Containers - DevDay Austin 2017
Amazon Web Services
 

What's hot (20)

WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
 
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot InstancesWorkshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
 
HSBC and AWS Day - Microservices and Serverless
HSBC and AWS Day - Microservices and ServerlessHSBC and AWS Day - Microservices and Serverless
HSBC and AWS Day - Microservices and Serverless
 
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
AWS re:Invent 2016: NEW LAUNCH! Lambda Everywhere (IOT309)
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
Wild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the RescueWild Rydes - Serverless DevOps to the Rescue
Wild Rydes - Serverless DevOps to the Rescue
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
HSBC and AWS Day - Database Options on AWS
HSBC and AWS Day - Database Options on AWSHSBC and AWS Day - Database Options on AWS
HSBC and AWS Day - Database Options on AWS
 
Building a CICD Pipeline for Containers - DevDay Austin 2017
Building a CICD Pipeline for Containers - DevDay Austin 2017Building a CICD Pipeline for Containers - DevDay Austin 2017
Building a CICD Pipeline for Containers - DevDay Austin 2017
 
NEW LAUNCH! Developing Serverless C# Applications
NEW LAUNCH! Developing Serverless C# ApplicationsNEW LAUNCH! Developing Serverless C# Applications
NEW LAUNCH! Developing Serverless C# Applications
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
 
Deep Dive on Microservices and Docker
Deep Dive on Microservices and DockerDeep Dive on Microservices and Docker
Deep Dive on Microservices and Docker
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
AWS re:Invent 2016: Journeys to the Cloud: Different Experiences in Video (CT...
 
微服務與 Docker 深入探討
微服務與 Docker 深入探討微服務與 Docker 深入探討
微服務與 Docker 深入探討
 

Viewers also liked

Viewers also liked (8)

AWS DevDay Seoul 2017 - Keynote
AWS DevDay Seoul 2017 - Keynote AWS DevDay Seoul 2017 - Keynote
AWS DevDay Seoul 2017 - Keynote
 
Raleigh DevDay 2017: AWS Mobile Services
Raleigh DevDay 2017: AWS Mobile ServicesRaleigh DevDay 2017: AWS Mobile Services
Raleigh DevDay 2017: AWS Mobile Services
 
Raleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopRaleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshop
 
Raleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applicationsRaleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applications
 
Serverless Orchestration with AWS Step Functions - DevDay Los Angeles 2017
Serverless Orchestration with AWS Step Functions - DevDay Los Angeles 2017Serverless Orchestration with AWS Step Functions - DevDay Los Angeles 2017
Serverless Orchestration with AWS Step Functions - DevDay Los Angeles 2017
 
Raleigh DevDay 2017: Serverless orchestration with AWS step functions
Raleigh DevDay 2017: Serverless orchestration with AWS step functionsRaleigh DevDay 2017: Serverless orchestration with AWS step functions
Raleigh DevDay 2017: Serverless orchestration with AWS step functions
 
Raleigh DevDay 2017: Distributed serverless stack tracing and monitoring
Raleigh DevDay 2017: Distributed serverless stack tracing and monitoringRaleigh DevDay 2017: Distributed serverless stack tracing and monitoring
Raleigh DevDay 2017: Distributed serverless stack tracing and monitoring
 
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with DemoRaleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
 

Similar to Build a Serverless Web Application in One Day Workshop - DevDay Los Angeles 2017

Similar to Build a Serverless Web Application in One Day Workshop - DevDay Los Angeles 2017 (20)

WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New UnicornWKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
 
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New UnicornWKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
 
Serverless Workshop
Serverless WorkshopServerless Workshop
Serverless Workshop
 
Workshop: Serverless DevOps to the Rescue
Workshop: Serverless DevOps to the RescueWorkshop: Serverless DevOps to the Rescue
Workshop: Serverless DevOps to the Rescue
 
Build a Serverless Web Application in One Day
Build a Serverless Web Application in One DayBuild a Serverless Web Application in One Day
Build a Serverless Web Application in One Day
 
Workshop : Wild Rydes Takes Off - The Dawn of a New Unicorn
Workshop : Wild Rydes Takes Off - The Dawn of a New UnicornWorkshop : Wild Rydes Takes Off - The Dawn of a New Unicorn
Workshop : Wild Rydes Takes Off - The Dawn of a New Unicorn
 
AWS re:Invent 2016: Wild Rydes Takes Off – The Dawn of a New Unicorn (SVR309)
AWS re:Invent 2016: Wild Rydes Takes Off – The Dawn of a New Unicorn (SVR309)AWS re:Invent 2016: Wild Rydes Takes Off – The Dawn of a New Unicorn (SVR309)
AWS re:Invent 2016: Wild Rydes Takes Off – The Dawn of a New Unicorn (SVR309)
 
Wild Rides Takes off - The Dawn of a New Unicorn
Wild Rides Takes off - The Dawn of a New UnicornWild Rides Takes off - The Dawn of a New Unicorn
Wild Rides Takes off - The Dawn of a New Unicorn
 
AWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureAWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless Architecture
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
 
Travel hackathon
Travel hackathonTravel hackathon
Travel hackathon
 
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
 
Build a Serverless Web Application in One Day
Build a Serverless Web Application in One DayBuild a Serverless Web Application in One Day
Build a Serverless Web Application in One Day
 
Serverless Architectures on AWS - Pop-up Loft Tel Aviv
Serverless Architectures on AWS - Pop-up Loft Tel AvivServerless Architectures on AWS - Pop-up Loft Tel Aviv
Serverless Architectures on AWS - Pop-up Loft Tel Aviv
 
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T... Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 
Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)
 
AWS Lambda: Event-driven Code for Devices and the Cloud
AWS Lambda: Event-driven Code for Devices and the CloudAWS Lambda: Event-driven Code for Devices and the Cloud
AWS Lambda: Event-driven Code for Devices and the Cloud
 

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 Workshop - DevDay Los Angeles 2017

  • 1.
  • 2. WIFI: awsDevDay | PASS: CodeHappy U P N E X T :
  • 3. T H A N K S T O O U R F R I E N D S A T :
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Kashif Imran and Chris Marshall 10/10/2017 Wild Rydes Takes Off: The Dawn of a New Unicorn Building Serverless Web Apps
  • 5. What to Expect from the Session • Overview of Serverless Computing • Introduction to AWS Services used in the Workshop • Outline of the Workshop Scenario • Preview of the Labs
  • 8. 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
  • 9. 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
  • 10. Amazon Elastic Compute Cloud (EC2) Match Capacity and Demand Global Footprint Elasticity Provision Servers in Minutes Infrastructure as Code Programmatic Networking
  • 11. 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
  • 12. No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in Serverless means…
  • 13. Services You Will Use Today
  • 14. 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
  • 15. 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
  • 16. 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
  • 17. 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
  • 18. 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
  • 19. 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
  • 20. 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
  • 22. Scenario: Wild Rydes (www.wildrydes.com)
  • 23. Help Wild Rydes Disrupt Transportation! So how does this magic work?
  • 24. Wild Rydes is Backed by Leading Investors THE BARN ACCELERATOR TENDERLOIN CAPITAL PENGLAI COMMUNICATIONS AND POST NEW CENTURY TECHNOLOGY CORP LIMITED
  • 25. Your Task: Build the Wild Rydes Website Welcome to Wild Rydes Inc., Employee #3!
  • 26. Scenario: Wild Rydes The Wild Rydes Serverless Web Application Workshop introduces the basics of building web applications using serverless infrastructure.
  • 27. 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.
  • 28. 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.
  • 29. 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.
  • 30. Lab 4: Create RESTful API OBJECTIVE: Use API Gateway to expose the Lambda function you built in the previous module as a RESTful API
  • 31. https://tinyurl.com/ycwwhz3t OR https://github.com/awslabs/aws-serverless-workshops Web Application - This workshop shows you how to build a dynamic, serverless web application. You'll learn how to host static web resources with Amazon S3, how to use Amazon Cognito to manage users and authentication, and how to build a RESTful API for backend processing using Amazon API Gateway, AWS Lambda and Amazon DynamoDB.