SlideShare una empresa de Scribd logo
1 de 51
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Eric Johnson – Sr. Developer Advocate – Serverless, AWS
@edjgeek
Leveraging serverless in full-
stack development
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Who am I?
• @edjgeek
• Husband and father of 5
• Senior Developer Advocate – Serverless, AWS
• Serverless tooling and automation nerd
• Solutions & software architect (> 25 years)
• Music lover
• Pizza lover (without pineapple)
• Pusher of #ServerlessForEveryone
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application architecture
journey
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The single server architecture
Proxy/Firewall: NGINX, Apache, F5, Zeus
Server: IIS,Apache,Tomcat
Code: Node, .Net, Ruby, Java,
Go, Python
Database: SQL, MySQL, PostgreSQL,
Mongo, Cassandra
Many
application
architectures
start here.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The tiered architecture
Proxy/Firewall
Server
Database
We then break
applications
into tiers based
on
functionality.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The tiered architecture
Proxy/Firewall
Backend
Database
ClientEven
separating the
client and
backend.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The redundant tiered architecture
Proxy/Firewall
Backend
Database
Client load balancer
Client
Backend load balancer
As applications
scale, we build
in redundancy.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The “more” redundant tiered architecture
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The “more” redundant tiered architecture
More redundant, more
infrastructure, more
management, more
cost.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The containers architecture
Proxy/Firewall
Client
Backend
Database
But what about
containers?
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The “more” redundant containers architecture
Proxy/Firewall
Client
Backend
Database
Load balancer
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The “more” redundant containers architecture
Proxy/Firewall
Client
Backend
Database
Load balancerMore redundant, more
infrastructure, more
management, more
cost.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to the cloud
AWS Cloud
VPC Availability Zone Availability Zone
Backend Auto Scaling group
Client Auto Scaling group
Instance(s)
Application Load Balancer
Application Load Balancer
Instance(s)
Instance(s)
Instance(s)
Amazon RDS Amazon RDS
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving containers to the cloud
AWS Cloud
VPC Availability Zone Availability Zone
Application Auto Scaling group
Application Load Balancer
Amazon RDS Amazon RDS
Amazon Elastic
Container Service
Amazon Elastic
Container Service
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving containers to the cloud
AWS Cloud
VPC Availability Zone Availability Zone
Application Auto Scaling group
Application Load Balancer
Amazon RDS Amazon RDS
Amazon Elastic
Container Service
Amazon Elastic
Container Service
Moving to the cloud offers sophisticated automation and tooling
to help manage scaling and redundancy.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving containers to the cloud
AWS Cloud
VPC Availability Zone Availability Zone
Application Auto Scaling group
Application Load Balancer
Amazon RDS Amazon RDS
Amazon Elastic
Container Service
Amazon Elastic
Container Service
But…
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving containers to the cloud
AWS Cloud
VPC Availability Zone Availability Zone
Application Auto Scaling group
Application Load Balancer
Amazon RDS Amazon RDS
Amazon Elastic
Container Service
Amazon Elastic
Container Service
There is still infrastructure to manage and pay for.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hello serverless!
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is serverless?
No infrastructure provisioning,
no management
Automatic scaling
Pay for value Highly available and secure
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless applications
Event source Services
Changes in
data state
Requests to
endpoints
Changes in
Resource state
Function
Node.js
Python
Java
C#
Go
Ruby
Runtime API
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Common AWS Lambda use cases
Web Apps Backends Data
Processing
Chatbots Amazon Alexa IT Automation
• Static
websites
• Complex
web apps
• Packages
for Flask
and
Express
• Apps &
services
• Mobile
• IoT
• Real time
• MapReduce
• Batch
• Powering
chatbot
logic
• Powering
voice-
enabled
apps
• Alexa Skills
Kit
• Policy
engines
• Extending
AWS services
• Infrastructure
management
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Common AWS Lambda use cases
Web Apps Backends Data
Processing
Chatbots Amazon Alexa IT Automation
• Static
websites
• Complex
web apps
• Packages
for Flask
and
Express
• Apps &
services
• Mobile
• IoT
• Real time
• MapReduce
• Batch
• Powering
chatbot
logic
• Powering
voice-
enabled
apps
• Alexa Skills
Kit
• Policy
engines
• Extending
AWS services
• Infrastructure
management
I will be spending most
of the time in the Web
Apps and Backend
area.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless in full-stack
development?
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – client
Assumption:Client is
separate from
backend.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – client
Assumption:Client is
separate from
backend.
If not, don’t worry,
I’ll cover that too.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Storage
Service
Moving to serverless – client
• Hosting for http and https
• Object versioning
• Bucket policy,ACL, and IAM
security controls.
• 99.999999999% (11 9s) data
durability
• Custom domains
• Domain redirects
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – client
AWS Amplify Console
Lambda@edge
Amazon S3
• Powered by Lambda@edge
and Amazon S3
• CI/CD
• Build configurations
• Feature branch deployments
• Global availability (CDN)
• Basic password protection
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – API
The proxy/firewall now
points directly at the
backend.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon API Gateway
Moving to serverless – API
• Load balancing and redundancy built in
• REST,WebSocket
• 10k+ requests per second (soft limit)
• Private, regional or global options
• Application authentication and authorization
• SSL offloading
• Custom domains
• API user keys and throttling
• Data validation
• Resource Policy, IAM security
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda
Moving to serverless – compute
• Supports Node, Python, Go, Ruby, Java,
and .NetCore natively
• Custom runtime for all other languages
• Triggered by many internal and external
events
• 1k concurrent invocations (soft limit)
• Triggered synchronously and
asynchronously
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – database
Amazon
Aurora
Amazon
DocumentDB (with
MongoDB
compatibility)
Amazon
DynamoDB
Amazon
Redshift
Amazon
Neptune
Amazon Quantum
Ledger Database
Amazon
RDS
Amazon
Timestream
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – database
Amazon
Aurora
Amazon
DocumentDB (with
MongoDB
compatibility)
Amazon
DynamoDB
Amazon
Redshift
Amazon
Neptune
Amazon Quantum
Ledger Database
Amazon
RDS
Amazon
Timestream
In a web stack, these
are the most common
database options
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Moving to serverless – database
Amazon Aurora
Serverless
Amazon
DocumentDB
Amazon
DynamoDB
Amazon
RDS
Relational Databases NoSQL Databases
• Serverless
• Highly redundant
• Highly available
• Auto scaling
• PostgreSQL
• MySQL
• Simple scaling
• Engine native
replication
• Microsoft SQL
• MySQL
• PostgreSQL
• MariaDB
• Oracle
• Serverless
• Highly redundant
• Highly available
• Global tables
• High input and
output
• Highly redundant
• Highly available
• MongoDB
Compatible
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Putting it all together
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic website
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic website
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
HTML can be rendered by the
Lambda function and returned to
the user.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic website
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
Pools and shares connections established
with the relational database
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic website
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
All serverless services scale
automatically as needed to handle
client requests.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic client/backend website
AWS Amplify
Console
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
Client
application
hosted
serverlessly
and scales to
meet load
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A basic secure client/backend website
AWS Amplify
(console)
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Amazon
Aurora
Users
Amazon
RDS Proxy
Amazon
Cognito
User management and
authentication.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A microservice website
AWS Amplify
(console)
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Users
Amazon
Cognito
Lambda
function
Lambda
function
/orders
/users/{userId}
/reports
Each Lambda
function has a single
responsibility
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A microservice website
AWS Amplify
(console)
Amazon API
Gateway
Lambda
function
Amazon
DynamoDB
Table
AWS Cloud
Users
Amazon
Cognito
Lambda
function
Lambda
function
/orders
/users/{userId}
/reports
Lambda
function
Amazon
EventBridge
More actions on data
Asynchronous post
processing via
streams and event
buses.
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Getting started
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
START WITH A FRAMEWORKSTARTWITHAFRAMEWORK
START WITH A FRAMEWORKSTART WITH A FRAMEWORK
START WITH A FRAMEWORK
START WITH A FRAMEWORKSTART WITH A
FRAMEWORK
STARTWITHAFRAMEWORK
START WITH A FRAMEWORK
START WITH A
FRAMEWORK!
STARTWITHAFRAMEWORK
START WITH A FRAMEWORK START WITH A FRAME
WORK START WITH A FRAMEWORK START WITH
A FRAMEWORK START WITH A FRAMEWORK
START WITH A FRAMEWORK START WITH A FR
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
STARTWITHAFRAMEWORK
!
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Frameworks: AWS SAM
Serverless
Application
Model
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAM comes in two parts
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAM comes in 2 parts
SAM templates SAM CLI
Using shorthand syntax
to express resources
and event source
mappings, it provides
infrastructure as code
(IaC) for serverless
applications.
Provides tooling for
local development,
debugging, build,
packaging, and
deployment for
serverless applications
https://aws.amazon.com/serverless/sam/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Frameworks: AWS Amplify
• Designed for front-end developers
• Allows creation of full-stack serverless
infrastructure
• Uses SAM for backend management
• Helps manage front end code and
backend connectivity for:
• Analytics
• APIs
• AR/VR
• Auth
• DataStore
• PubSub
• And more
https://aws-amplify.github.io/docs/
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Frameworks: Third Party
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://aws.amazon.com/serverless
Image by Dmitry Chestnykh from Pixabay
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Eric Johnson
@edjgeek
Image Source: https://pixabay.com/illustrations/thank-you-polaroid-letters-2490552/

Más contenido relacionado

La actualidad más candente

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 DayAmazon Web Services
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWSDonnie Prakoso
 
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019AWS Summits
 
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
 
CON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSCON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSAmazon Web Services
 
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...Amazon Web Services
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture PatternsAmazon Web Services
 
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017Amazon Web Services
 
AWS Services for Data Migration - AWS Online Tech Talks
AWS Services for Data Migration - AWS Online Tech TalksAWS Services for Data Migration - AWS Online Tech Talks
AWS Services for Data Migration - AWS Online Tech TalksAmazon Web Services
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingAmazon Web Services
 
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...Amazon Web Services
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit LisbonBoaz Ziniman
 
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
 
Modernize your Microsoft Applications on AWS
Modernize your Microsoft Applications on AWSModernize your Microsoft Applications on AWS
Modernize your Microsoft Applications on AWSAmazon Web Services
 
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud Anda
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud AndaAWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud Anda
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud AndaAmazon Web Services
 
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step FunctionsAdvanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step FunctionsAmazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
IOT207_Panasonic—Building the Road of the Future on AWS
IOT207_Panasonic—Building the Road of the Future on AWSIOT207_Panasonic—Building the Road of the Future on AWS
IOT207_Panasonic—Building the Road of the Future on AWSAmazon Web Services
 

La actualidad más candente (20)

HLC308_Refactoring to the Cloud
HLC308_Refactoring to the CloudHLC308_Refactoring to the Cloud
HLC308_Refactoring to the Cloud
 
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
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWS
 
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019
AWS Core - Compute, Network, Storage and Security | AWS Summit Tel Aviv 2019
 
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
 
Serverless DevOps to the Rescue
Serverless DevOps to the RescueServerless DevOps to the Rescue
Serverless DevOps to the Rescue
 
CON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECSCON202-Getting Started with Docker and Amazon ECS
CON202-Getting Started with Docker and Amazon ECS
 
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
DEM08 Use Cisco Cloud Connect to Securely Extend Private Network to AWS and M...
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture Patterns
 
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017
Migrating Your Microsoft Applications to AWS - ENT325 - re:Invent 2017
 
AWS Services for Data Migration - AWS Online Tech Talks
AWS Services for Data Migration - AWS Online Tech TalksAWS Services for Data Migration - AWS Online Tech Talks
AWS Services for Data Migration - AWS Online Tech Talks
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
 
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...
Architecting Next Generation Serverless SaaS Solutions on AWS (ARC324-R1) - A...
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit Lisbon
 
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
 
Modernize your Microsoft Applications on AWS
Modernize your Microsoft Applications on AWSModernize your Microsoft Applications on AWS
Modernize your Microsoft Applications on AWS
 
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud Anda
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud AndaAWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud Anda
AWSome Day Online 2020_Modul 4: Mengamankan aplikasi cloud Anda
 
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step FunctionsAdvanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step Functions
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
IOT207_Panasonic—Building the Road of the Future on AWS
IOT207_Panasonic—Building the Road of the Future on AWSIOT207_Panasonic—Building the Road of the Future on AWS
IOT207_Panasonic—Building the Road of the Future on AWS
 

Similar a Leveraging serverless in fullstack development

AWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAmazon Web Services
 
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAmazon Web Services
 
20200513 - CloudComputing UCU
20200513 - CloudComputing UCU20200513 - CloudComputing UCU
20200513 - CloudComputing UCUMarcia Villalba
 
AWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWSAWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWSCobus Bernard
 
Migration to Aws Cloud
Migration to Aws Cloud  Migration to Aws Cloud
Migration to Aws Cloud Mufti Ardian
 
Simplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS Services Simplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS Services Amazon Web Services
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesAmazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesRohini Gaonkar
 
Migrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSMigrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSAmazon Web Services
 
20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECHMarcia Villalba
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWSIoannis Polyzos
 
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 MeetupBoaz Ziniman
 
Build a Serverless Web Application
Build a Serverless Web ApplicationBuild a Serverless Web Application
Build a Serverless Web ApplicationAmazon 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
 
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 ApplicationsAmazon Web Services
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Amazon Web Services
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Amazon Web Services
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP MunichBoaz Ziniman
 
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 - AWSCodeOps Technologies LLP
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Amazon Web Services
 

Similar a Leveraging serverless in fullstack development (20)

AWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di Cloud
 
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
 
20200513 - CloudComputing UCU
20200513 - CloudComputing UCU20200513 - CloudComputing UCU
20200513 - CloudComputing UCU
 
AWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWSAWS SSA Webinar 7 - Getting Started on AWS
AWS SSA Webinar 7 - Getting Started on AWS
 
Migration to Aws Cloud
Migration to Aws Cloud  Migration to Aws Cloud
Migration to Aws Cloud
 
Simplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS Services Simplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS Services
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Migrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWSMigrate & Optimize Microsoft Applications on AWS
Migrate & Optimize Microsoft Applications on AWS
 
20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
 
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
 
Build a Serverless Web Application
Build a Serverless Web ApplicationBuild a Serverless Web Application
Build a Serverless Web Application
 
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
 
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
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
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
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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 DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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...Miguel Araújo
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Leveraging serverless in fullstack development

  • 1. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Eric Johnson – Sr. Developer Advocate – Serverless, AWS @edjgeek Leveraging serverless in full- stack development
  • 2. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Who am I? • @edjgeek • Husband and father of 5 • Senior Developer Advocate – Serverless, AWS • Serverless tooling and automation nerd • Solutions & software architect (> 25 years) • Music lover • Pizza lover (without pineapple) • Pusher of #ServerlessForEveryone
  • 3. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application architecture journey
  • 4. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The single server architecture Proxy/Firewall: NGINX, Apache, F5, Zeus Server: IIS,Apache,Tomcat Code: Node, .Net, Ruby, Java, Go, Python Database: SQL, MySQL, PostgreSQL, Mongo, Cassandra Many application architectures start here.
  • 5. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The tiered architecture Proxy/Firewall Server Database We then break applications into tiers based on functionality.
  • 6. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The tiered architecture Proxy/Firewall Backend Database ClientEven separating the client and backend.
  • 7. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The redundant tiered architecture Proxy/Firewall Backend Database Client load balancer Client Backend load balancer As applications scale, we build in redundancy.
  • 8. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The “more” redundant tiered architecture
  • 9. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The “more” redundant tiered architecture More redundant, more infrastructure, more management, more cost.
  • 10. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The containers architecture Proxy/Firewall Client Backend Database But what about containers?
  • 11. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The “more” redundant containers architecture Proxy/Firewall Client Backend Database Load balancer
  • 12. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The “more” redundant containers architecture Proxy/Firewall Client Backend Database Load balancerMore redundant, more infrastructure, more management, more cost.
  • 13. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to the cloud AWS Cloud VPC Availability Zone Availability Zone Backend Auto Scaling group Client Auto Scaling group Instance(s) Application Load Balancer Application Load Balancer Instance(s) Instance(s) Instance(s) Amazon RDS Amazon RDS
  • 14. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving containers to the cloud AWS Cloud VPC Availability Zone Availability Zone Application Auto Scaling group Application Load Balancer Amazon RDS Amazon RDS Amazon Elastic Container Service Amazon Elastic Container Service
  • 15. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving containers to the cloud AWS Cloud VPC Availability Zone Availability Zone Application Auto Scaling group Application Load Balancer Amazon RDS Amazon RDS Amazon Elastic Container Service Amazon Elastic Container Service Moving to the cloud offers sophisticated automation and tooling to help manage scaling and redundancy.
  • 16. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving containers to the cloud AWS Cloud VPC Availability Zone Availability Zone Application Auto Scaling group Application Load Balancer Amazon RDS Amazon RDS Amazon Elastic Container Service Amazon Elastic Container Service But…
  • 17. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving containers to the cloud AWS Cloud VPC Availability Zone Availability Zone Application Auto Scaling group Application Load Balancer Amazon RDS Amazon RDS Amazon Elastic Container Service Amazon Elastic Container Service There is still infrastructure to manage and pay for.
  • 18. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hello serverless!
  • 19. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is serverless? No infrastructure provisioning, no management Automatic scaling Pay for value Highly available and secure
  • 20. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless applications Event source Services Changes in data state Requests to endpoints Changes in Resource state Function Node.js Python Java C# Go Ruby Runtime API
  • 21. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common AWS Lambda use cases Web Apps Backends Data Processing Chatbots Amazon Alexa IT Automation • Static websites • Complex web apps • Packages for Flask and Express • Apps & services • Mobile • IoT • Real time • MapReduce • Batch • Powering chatbot logic • Powering voice- enabled apps • Alexa Skills Kit • Policy engines • Extending AWS services • Infrastructure management
  • 22. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common AWS Lambda use cases Web Apps Backends Data Processing Chatbots Amazon Alexa IT Automation • Static websites • Complex web apps • Packages for Flask and Express • Apps & services • Mobile • IoT • Real time • MapReduce • Batch • Powering chatbot logic • Powering voice- enabled apps • Alexa Skills Kit • Policy engines • Extending AWS services • Infrastructure management I will be spending most of the time in the Web Apps and Backend area.
  • 23. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless in full-stack development?
  • 24. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – client Assumption:Client is separate from backend.
  • 25. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – client Assumption:Client is separate from backend. If not, don’t worry, I’ll cover that too.
  • 26. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Storage Service Moving to serverless – client • Hosting for http and https • Object versioning • Bucket policy,ACL, and IAM security controls. • 99.999999999% (11 9s) data durability • Custom domains • Domain redirects
  • 27. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – client AWS Amplify Console Lambda@edge Amazon S3 • Powered by Lambda@edge and Amazon S3 • CI/CD • Build configurations • Feature branch deployments • Global availability (CDN) • Basic password protection
  • 28. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – API The proxy/firewall now points directly at the backend.
  • 29. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon API Gateway Moving to serverless – API • Load balancing and redundancy built in • REST,WebSocket • 10k+ requests per second (soft limit) • Private, regional or global options • Application authentication and authorization • SSL offloading • Custom domains • API user keys and throttling • Data validation • Resource Policy, IAM security
  • 30. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda Moving to serverless – compute • Supports Node, Python, Go, Ruby, Java, and .NetCore natively • Custom runtime for all other languages • Triggered by many internal and external events • 1k concurrent invocations (soft limit) • Triggered synchronously and asynchronously
  • 31. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – database Amazon Aurora Amazon DocumentDB (with MongoDB compatibility) Amazon DynamoDB Amazon Redshift Amazon Neptune Amazon Quantum Ledger Database Amazon RDS Amazon Timestream
  • 32. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – database Amazon Aurora Amazon DocumentDB (with MongoDB compatibility) Amazon DynamoDB Amazon Redshift Amazon Neptune Amazon Quantum Ledger Database Amazon RDS Amazon Timestream In a web stack, these are the most common database options
  • 33. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Moving to serverless – database Amazon Aurora Serverless Amazon DocumentDB Amazon DynamoDB Amazon RDS Relational Databases NoSQL Databases • Serverless • Highly redundant • Highly available • Auto scaling • PostgreSQL • MySQL • Simple scaling • Engine native replication • Microsoft SQL • MySQL • PostgreSQL • MariaDB • Oracle • Serverless • Highly redundant • Highly available • Global tables • High input and output • Highly redundant • Highly available • MongoDB Compatible
  • 34. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Putting it all together
  • 35. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic website Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy
  • 36. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic website Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy HTML can be rendered by the Lambda function and returned to the user.
  • 37. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic website Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy Pools and shares connections established with the relational database
  • 38. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic website Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy All serverless services scale automatically as needed to handle client requests.
  • 39. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic client/backend website AWS Amplify Console Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy Client application hosted serverlessly and scales to meet load
  • 40. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A basic secure client/backend website AWS Amplify (console) Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Amazon Aurora Users Amazon RDS Proxy Amazon Cognito User management and authentication.
  • 41. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A microservice website AWS Amplify (console) Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Users Amazon Cognito Lambda function Lambda function /orders /users/{userId} /reports Each Lambda function has a single responsibility
  • 42. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A microservice website AWS Amplify (console) Amazon API Gateway Lambda function Amazon DynamoDB Table AWS Cloud Users Amazon Cognito Lambda function Lambda function /orders /users/{userId} /reports Lambda function Amazon EventBridge More actions on data Asynchronous post processing via streams and event buses.
  • 43. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Getting started
  • 44. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. START WITH A FRAMEWORKSTARTWITHAFRAMEWORK START WITH A FRAMEWORKSTART WITH A FRAMEWORK START WITH A FRAMEWORK START WITH A FRAMEWORKSTART WITH A FRAMEWORK STARTWITHAFRAMEWORK START WITH A FRAMEWORK START WITH A FRAMEWORK! STARTWITHAFRAMEWORK START WITH A FRAMEWORK START WITH A FRAME WORK START WITH A FRAMEWORK START WITH A FRAMEWORK START WITH A FRAMEWORK START WITH A FRAMEWORK START WITH A FR STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK STARTWITHAFRAMEWORK !
  • 45. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Frameworks: AWS SAM Serverless Application Model
  • 46. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAM comes in two parts
  • 47. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAM comes in 2 parts SAM templates SAM CLI Using shorthand syntax to express resources and event source mappings, it provides infrastructure as code (IaC) for serverless applications. Provides tooling for local development, debugging, build, packaging, and deployment for serverless applications https://aws.amazon.com/serverless/sam/
  • 48. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Frameworks: AWS Amplify • Designed for front-end developers • Allows creation of full-stack serverless infrastructure • Uses SAM for backend management • Helps manage front end code and backend connectivity for: • Analytics • APIs • AR/VR • Auth • DataStore • PubSub • And more https://aws-amplify.github.io/docs/
  • 49. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Frameworks: Third Party
  • 50. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://aws.amazon.com/serverless Image by Dmitry Chestnykh from Pixabay
  • 51. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Eric Johnson @edjgeek Image Source: https://pixabay.com/illustrations/thank-you-polaroid-letters-2490552/

Notas del editor

  1. Pricing Free tier (first 12 months) 1000 builds per month 5gb stored/month 15gb served/month Pay as you go $0.01/build minute $0.023/GB stored/month $0.15/GB served/month
  2. Pricing Free tier (first 12 months) 1m REST API calls received 1m HTTP API calls received 1m messages 750,000 connections Pay as you go $1 - $3.50 first 300 million calls*
  3. https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=562499
  4. Image by <a href="https://pixabay.com/users/geralt-9301/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2490552">Gerd Altmann</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2490552">Pixabay</a>