(DVO209) JAWS: A Scalable Serverless Framework

Amazon Web Services
Amazon Web ServicesAmazon Web Services
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Austen Collins, JAWS
Ryan Pendergast, DoApp, Inc.
October 2015
DVO209
JAWS: The Monstrously Scalable
Serverless Framework
AWS Lambda, API Gateway & More!
Founders
(DVO209) JAWS: A Scalable Serverless Framework
What is serverless AWS?
• Serverless = Not having to think about servers
• Lambda: Event-driven compute resources
• API Gateway: Build REST APIs for Lambdas
• Serverless AWS = Lambda + API Gateway
• Allow you to cut out PaaS/BaaS middle men
• “Lambda has the potential to be the focal point
AWS cloud” – Janakiram MSV (janakiram.com)
Why serverless AWS? It’s easy to scale…
• Though Lambda runs in containers, you don’t have to deal with containers!
• Orchestration/autoscale of containers handled for you
• API Gateway handles DDoS + rate limiting
• Distributed application logging and metrics are built in
Why serverless AWS? It’s cheaper…
Why serverless AWS? It’s cheaper…
Why serverless AWS? Its workflow…
• Not just application isolation, endpoint
isolation!
• Multi-container code deployment
handled for you!
• Quickly provision new stages and
regions
• With as little DevOps as possible!
BUT SERVERLESS IS ALSO…
(DVO209) JAWS: A Scalable Serverless Framework
Serverless is anarchy!
• What happens when you have many Lambdas…
Serverless is anarchy!
• What happens when you have many Lambdas…
• Tons of functions means tons of containers…
• With multiple versions…
• Across multiple stages…
• Across multiple regions…
Serverless is anarchy!
• What happens when you have many Lambdas…
• Tons of functions means tons of containers…
• With multiple versions…
• Across multiple stages…
• Across multiple regions…
• All requiring their own AWS resources securely!
Serverless is anarchy!
• What happens when you have many Lambdas…
• Tons of functions means tons of containers…
• With multiple versions…
• Across multiple stages…
• Across multiple regions…
• All requiring their own AWS resources securely!
(DVO209) JAWS: A Scalable Serverless Framework
What is JAWS?
• Free, open-source framework for building
serverless web, mobile, & IoT applications
• 2 months old
• JAWS = CLI
• JAWS apps are just a group of lamdbas
• Provides structure, automation and
optimization for rowdy serverless
projects
Just released: JAWS V1
• We just released JAWS V1
• In JAWS V1, our goal is to make a groundbreaking serverless framework
AND a great framework for building applications with AWS in general
• It follows AWS best practices and automates AWS tasks for you, reducing the
learning curve and making AWS more accessible to newcomers
• People who will appreciate JAWS most are people who have done production-
based workloads with AWS across regions and stages, and are familiar with the
pain points.
Anatomy of a deployed JAWS project
• JAWS maintains CloudFormation
templates for your project
• CloudFormation is a saner AWS API
• Deploys CF stacks in each
stage/region, replicating your project
entirely
• Perfect isolation and replication of
your serverless project
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
A MODULAR APPROACH…
(DVO209) JAWS: A Scalable Serverless Framework
Introducing AWSM…
• An aws-module is one or multiple Lambda functions for specific tasks
• All supported AWS Lambda languages
• JAWS comes with commands for aws-modules
• You can install them into your project from the ecosystem
• awsm.json contains Lambda, API Gateway, and other AWS resource
dependencies in CF template snippets
• JAWS adds their CF resources to your project automatically on install
• Easily install, customize, and deploy!
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
Deploying Lambda functions with JAWS
• AWS Lambda cold-start startup cost issue on async startups
• JAWS reduces it significantly via built-in optimization for Lambda
• Lambda deployment process:
- Package & optimize (Browersify, Minify, etc.)
- Upload compressed and timestamped Lambda to S3
- Update CloudFormation Lambda template with S3 keys
- Update CloudFormation stack in stage/region to deploy Lambdas
Deploying endpoints with JAWS
• API Gateway is powerful, but still new
• CloudFormation has no API Gateway support
• JAWS fakes a CloudFormation syntax
• JAWS has its own API Gateway SDK built in and will deploy your REST API for
you in your stage/region
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
(DVO209) JAWS: A Scalable Serverless Framework
Optimization tips
• Lambda should be a thin wrapper around your own separate modules to
keep your code reusable, testable, and AWS-independent
• Keep your deployed code footprint small as possible
• Keep module requires outside of your Lambda function handler
• Increase Lambda memory while you have infrequent visits, dial it down
when you have more traffic, and your Lambdas are always warm
The grand vision
• Instantly create a JAWS project.
• Select from tons of prewritten aws-modules to rapidly build your app.
• Deploy all functions at once, or one function at a time for easy updates and
maintenance.
• Deploy to all regions. Why not? It’s cheaper than ever before!
• Hope AWS builds latency-based routing for API Gateway.
Perfect, serverless applications that are cheap as possible and
MONSTROUSLY SCALABLE!
Open-source contributors
@ashack293
@binoculars
@boushley
@callmeStriking
@dekz
@doapp-jeremy
@furf
@jlag34
@marvinosswald
@mcwhittemore
@remicastaing
@sosana
@tbergen1
@icereval
@austinrivas
@whatupdave
@jwulf
@devknoll
@justinmealey
@joostfarla
@shortjared
-------
Amazon People:
- Ajay Nair
- Jeff Barr
- Tim Wagner
- Ryan Green
Thank You!
Questions? jawsframework.com
Austen Collins
Oakland, CA.
Twitter: @austencollins
Github: @ac360
Email: austen@servant.co
Ryan Pendergast
Rochester, MN.
DoApp, Inc.
Twitter: @rynop
Github: @doapp-ryanp
Email: ryan.pendergast@gmail.com
Remember to complete
your evaluations!
1 of 37

Recommended

Getting Started with Serverless Architectures by
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
9.3K views52 slides
Getting Started with Serverless Architectures by
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
4.3K views91 slides
OpenWhisk Introduction by
OpenWhisk IntroductionOpenWhisk Introduction
OpenWhisk IntroductionIoana Baldini
682 views39 slides
Serverless Framework Intro by
Serverless Framework IntroServerless Framework Intro
Serverless Framework IntroNikolaus Graf
982 views13 slides
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬) by
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)AWSKRUG - AWS한국사용자모임
5.3K views12 slides
Getting Started with AWS Lambda and the Serverless Cloud by
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 CloudAmazon Web Services
1.9K views75 slides

More Related Content

Viewers also liked

AWS Lambda and Serverless framework: lessons learned while building a serverl... by
AWS Lambda and Serverless framework: lessons learned while building a serverl...AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...Luciano Mammino
2.1K views82 slides
Serverless Apps on AWS by
Serverless Apps on AWS Serverless Apps on AWS
Serverless Apps on AWS Amazon Web Services
1.7K views74 slides
Getting Started with Serverless Architectures by
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
1.9K views81 slides
Serverless Architecture by
Serverless ArchitectureServerless Architecture
Serverless ArchitectureLena Barinova
1K views37 slides
Serverless Architecture - Azure Logic apps by
Serverless Architecture - Azure Logic appsServerless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic appsPuneet Ghanshani
958 views8 slides
AWS Lambda and the Serverless Cloud by
AWS Lambda and the Serverless CloudAWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless CloudAmazon Web Services
10.2K views65 slides

Viewers also liked(19)

AWS Lambda and Serverless framework: lessons learned while building a serverl... by Luciano Mammino
AWS Lambda and Serverless framework: lessons learned while building a serverl...AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...
Luciano Mammino2.1K views
Getting Started with Serverless Architectures by Amazon Web Services
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services1.9K views
Serverless Architecture - Azure Logic apps by Puneet Ghanshani
Serverless Architecture - Azure Logic appsServerless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic apps
Puneet Ghanshani958 views
Serverless Architecture by CodePolitan
Serverless ArchitectureServerless Architecture
Serverless Architecture
CodePolitan1.2K views
From Cowboy To Astronaut: Lessons From The Trail, New Worlds On The Horizon by Jeremy Fuksa
From Cowboy To Astronaut: Lessons From The Trail, New Worlds On The HorizonFrom Cowboy To Astronaut: Lessons From The Trail, New Worlds On The Horizon
From Cowboy To Astronaut: Lessons From The Trail, New Worlds On The Horizon
Jeremy Fuksa649 views
Japan - A Society in Transition by Alan Doherty
 Japan - A Society in Transition Japan - A Society in Transition
Japan - A Society in Transition
Alan Doherty750 views
Classificazione dei Documenti Giuridici by Andrea Rossetti
Classificazione dei Documenti GiuridiciClassificazione dei Documenti Giuridici
Classificazione dei Documenti Giuridici
Andrea Rossetti1.1K views
Design changes with Purpose by Alan Doherty
Design changes with PurposeDesign changes with Purpose
Design changes with Purpose
Alan Doherty419 views
PL 대상의 전략 특강 자료 by guestfe5697
PL 대상의 전략 특강 자료PL 대상의 전략 특강 자료
PL 대상의 전략 특강 자료
guestfe5697449 views
07 ZamyšLení Kdybych VěDěL by jedlickak07
07  ZamyšLení  Kdybych VěDěL07  ZamyšLení  Kdybych VěDěL
07 ZamyšLení Kdybych VěDěL
jedlickak07330 views
Image & Graphic Files by bs07d3p
Image & Graphic FilesImage & Graphic Files
Image & Graphic Files
bs07d3p594 views

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... by
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
26.5K views46 slides
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... by
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
5.6K views44 slides
Esegui pod serverless con Amazon EKS e AWS Fargate by
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
4.1K views62 slides
Costruire Applicazioni Moderne con AWS by
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
2.8K views61 slides
Come spendere fino al 90% in meno con i container e le istanze spot by
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
1.8K views21 slides
Open banking as a service by
Open banking as a serviceOpen banking as a service
Open banking as a serviceAmazon Web Services
7.1K views14 slides

More from Amazon Web Services(20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... by Amazon Web Services
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services26.5K views
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... by Amazon Web Services
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services5.6K views
Esegui pod serverless con Amazon EKS e AWS Fargate by Amazon Web Services
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
Amazon Web Services4.1K views
Come spendere fino al 90% in meno con i container e le istanze spot by Amazon Web Services
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services1.8K views
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea... by Amazon Web Services
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services3.3K views
OpsWorks Configuration Management: automatizza la gestione e i deployment del... by Amazon Web Services
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services2.6K views
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads by Amazon Web Services
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
Amazon Web Services1.7K views
Database Oracle e VMware Cloud on AWS i miti da sfatare by Amazon Web Services
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
Amazon Web Services1.3K views
Crea la tua prima serverless ledger-based app con QLDB e NodeJS by Amazon Web Services
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
Amazon Web Services1.9K views
API moderne real-time per applicazioni mobili e web by Amazon Web Services
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
Amazon Web Services1.5K views
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare by Amazon Web Services
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
Amazon Web Services1.5K views
AWS_HK_StartupDay_Building Interactive websites while automating for efficien... by 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...
Introduzione a Amazon Elastic Container Service by Amazon Web Services
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services2.7K views

Recently uploaded

【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院IttrainingIttraining
58 views8 slides
Powerful Google developer tools for immediate impact! (2023-24) by
Powerful Google developer tools for immediate impact! (2023-24)Powerful Google developer tools for immediate impact! (2023-24)
Powerful Google developer tools for immediate impact! (2023-24)wesley chun
10 views38 slides
Case Study Copenhagen Energy and Business Central.pdf by
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdfAitana
16 views3 slides
PharoJS - Zürich Smalltalk Group Meetup November 2023 by
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023Noury Bouraqadi
132 views17 slides
MVP and prioritization.pdf by
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdfrahuldharwal141
31 views8 slides
Piloting & Scaling Successfully With Microsoft Viva by
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft VivaRichard Harbridge
12 views160 slides

Recently uploaded(20)

【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Powerful Google developer tools for immediate impact! (2023-24) by wesley chun
Powerful Google developer tools for immediate impact! (2023-24)Powerful Google developer tools for immediate impact! (2023-24)
Powerful Google developer tools for immediate impact! (2023-24)
wesley chun10 views
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi132 views
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc11 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker40 views
Serverless computing with Google Cloud (2023-24) by wesley chun
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)
wesley chun11 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays17 views
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma39 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10300 views

(DVO209) JAWS: A Scalable Serverless Framework

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Austen Collins, JAWS Ryan Pendergast, DoApp, Inc. October 2015 DVO209 JAWS: The Monstrously Scalable Serverless Framework AWS Lambda, API Gateway & More!
  • 4. What is serverless AWS? • Serverless = Not having to think about servers • Lambda: Event-driven compute resources • API Gateway: Build REST APIs for Lambdas • Serverless AWS = Lambda + API Gateway • Allow you to cut out PaaS/BaaS middle men • “Lambda has the potential to be the focal point AWS cloud” – Janakiram MSV (janakiram.com)
  • 5. Why serverless AWS? It’s easy to scale… • Though Lambda runs in containers, you don’t have to deal with containers! • Orchestration/autoscale of containers handled for you • API Gateway handles DDoS + rate limiting • Distributed application logging and metrics are built in
  • 6. Why serverless AWS? It’s cheaper…
  • 7. Why serverless AWS? It’s cheaper…
  • 8. Why serverless AWS? Its workflow… • Not just application isolation, endpoint isolation! • Multi-container code deployment handled for you! • Quickly provision new stages and regions • With as little DevOps as possible!
  • 11. Serverless is anarchy! • What happens when you have many Lambdas…
  • 12. Serverless is anarchy! • What happens when you have many Lambdas… • Tons of functions means tons of containers… • With multiple versions… • Across multiple stages… • Across multiple regions…
  • 13. Serverless is anarchy! • What happens when you have many Lambdas… • Tons of functions means tons of containers… • With multiple versions… • Across multiple stages… • Across multiple regions… • All requiring their own AWS resources securely!
  • 14. Serverless is anarchy! • What happens when you have many Lambdas… • Tons of functions means tons of containers… • With multiple versions… • Across multiple stages… • Across multiple regions… • All requiring their own AWS resources securely!
  • 16. What is JAWS? • Free, open-source framework for building serverless web, mobile, & IoT applications • 2 months old • JAWS = CLI • JAWS apps are just a group of lamdbas • Provides structure, automation and optimization for rowdy serverless projects
  • 17. Just released: JAWS V1 • We just released JAWS V1 • In JAWS V1, our goal is to make a groundbreaking serverless framework AND a great framework for building applications with AWS in general • It follows AWS best practices and automates AWS tasks for you, reducing the learning curve and making AWS more accessible to newcomers • People who will appreciate JAWS most are people who have done production- based workloads with AWS across regions and stages, and are familiar with the pain points.
  • 18. Anatomy of a deployed JAWS project • JAWS maintains CloudFormation templates for your project • CloudFormation is a saner AWS API • Deploys CF stacks in each stage/region, replicating your project entirely • Perfect isolation and replication of your serverless project
  • 24. Introducing AWSM… • An aws-module is one or multiple Lambda functions for specific tasks • All supported AWS Lambda languages • JAWS comes with commands for aws-modules • You can install them into your project from the ecosystem • awsm.json contains Lambda, API Gateway, and other AWS resource dependencies in CF template snippets • JAWS adds their CF resources to your project automatically on install • Easily install, customize, and deploy!
  • 28. Deploying Lambda functions with JAWS • AWS Lambda cold-start startup cost issue on async startups • JAWS reduces it significantly via built-in optimization for Lambda • Lambda deployment process: - Package & optimize (Browersify, Minify, etc.) - Upload compressed and timestamped Lambda to S3 - Update CloudFormation Lambda template with S3 keys - Update CloudFormation stack in stage/region to deploy Lambdas
  • 29. Deploying endpoints with JAWS • API Gateway is powerful, but still new • CloudFormation has no API Gateway support • JAWS fakes a CloudFormation syntax • JAWS has its own API Gateway SDK built in and will deploy your REST API for you in your stage/region
  • 33. Optimization tips • Lambda should be a thin wrapper around your own separate modules to keep your code reusable, testable, and AWS-independent • Keep your deployed code footprint small as possible • Keep module requires outside of your Lambda function handler • Increase Lambda memory while you have infrequent visits, dial it down when you have more traffic, and your Lambdas are always warm
  • 34. The grand vision • Instantly create a JAWS project. • Select from tons of prewritten aws-modules to rapidly build your app. • Deploy all functions at once, or one function at a time for easy updates and maintenance. • Deploy to all regions. Why not? It’s cheaper than ever before! • Hope AWS builds latency-based routing for API Gateway. Perfect, serverless applications that are cheap as possible and MONSTROUSLY SCALABLE!
  • 36. Thank You! Questions? jawsframework.com Austen Collins Oakland, CA. Twitter: @austencollins Github: @ac360 Email: austen@servant.co Ryan Pendergast Rochester, MN. DoApp, Inc. Twitter: @rynop Github: @doapp-ryanp Email: ryan.pendergast@gmail.com