SlideShare a Scribd company logo
1 of 37
Download to read offline
© 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
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…
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!
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
A MODULAR APPROACH…
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!
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
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!

More Related Content

Viewers also liked

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...
AWS Lambda and Serverless framework: lessons learned while building a serverl...Luciano Mammino
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless ArchitectureLena Barinova
 
Serverless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic appsServerless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic appsPuneet Ghanshani
 
AWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless CloudAWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless CloudAmazon Web Services
 
Securing Serverless Architecture
Securing Serverless ArchitectureSecuring Serverless Architecture
Securing Serverless ArchitectureAmazon Web Services
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless ArchitectureCodePolitan
 
From Cowboy To Astronaut: Lessons From The Trail, New Worlds On The Horizon
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 HorizonJeremy Fuksa
 
Japan - A Society in Transition
 Japan - A Society in Transition Japan - A Society in Transition
Japan - A Society in TransitionAlan Doherty
 
What does a successful partnership look like?
What does a successful partnership look like?What does a successful partnership look like?
What does a successful partnership look like?Amazon Web Services
 
Classificazione dei Documenti Giuridici
Classificazione dei Documenti GiuridiciClassificazione dei Documenti Giuridici
Classificazione dei Documenti GiuridiciAndrea Rossetti
 
Design changes with Purpose
Design changes with PurposeDesign changes with Purpose
Design changes with PurposeAlan Doherty
 
PL 대상의 전략 특강 자료
PL 대상의 전략 특강 자료PL 대상의 전략 특강 자료
PL 대상의 전략 특강 자료guestfe5697
 
07 ZamyšLení Kdybych VěDěL
07  ZamyšLení  Kdybych VěDěL07  ZamyšLení  Kdybych VěDěL
07 ZamyšLení Kdybych VěDěLjedlickak07
 
Image & Graphic Files
Image & Graphic FilesImage & Graphic Files
Image & Graphic Filesbs07d3p
 

Viewers also liked (19)

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...
AWS Lambda and Serverless framework: lessons learned while building a serverl...
 
Serverless Apps on AWS
Serverless Apps on AWS Serverless Apps on AWS
Serverless Apps on AWS
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Serverless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic appsServerless Architecture - Azure Logic apps
Serverless Architecture - Azure Logic apps
 
AWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless CloudAWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless Cloud
 
Securing Serverless Architecture
Securing Serverless ArchitectureSecuring Serverless Architecture
Securing Serverless Architecture
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Serverless Microservices
Serverless MicroservicesServerless Microservices
Serverless Microservices
 
From Cowboy To Astronaut: Lessons From The Trail, New Worlds On The Horizon
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
 
AWSome Day Galway Intro
AWSome Day Galway IntroAWSome Day Galway Intro
AWSome Day Galway Intro
 
Japan - A Society in Transition
 Japan - A Society in Transition Japan - A Society in Transition
Japan - A Society in Transition
 
What does a successful partnership look like?
What does a successful partnership look like?What does a successful partnership look like?
What does a successful partnership look like?
 
Classificazione dei Documenti Giuridici
Classificazione dei Documenti GiuridiciClassificazione dei Documenti Giuridici
Classificazione dei Documenti Giuridici
 
Who we are
Who we areWho we are
Who we are
 
Design changes with Purpose
Design changes with PurposeDesign changes with Purpose
Design changes with Purpose
 
PL 대상의 전략 특강 자료
PL 대상의 전략 특강 자료PL 대상의 전략 특강 자료
PL 대상의 전략 특강 자료
 
07 ZamyšLení Kdybych VěDěL
07  ZamyšLení  Kdybych VěDěL07  ZamyšLení  Kdybych VěDěL
07 ZamyšLení Kdybych VěDěL
 
Image & Graphic Files
Image & Graphic FilesImage & Graphic Files
Image & Graphic Files
 

More from 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...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...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...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
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
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
Come spendere fino al 90% in meno con i container e le istanze spot 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...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...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...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
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
 
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 sfatareAmazon 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
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon 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
 

Recently uploaded

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley 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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
🐬 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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

(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!
  • 3.
  • 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!
  • 10.
  • 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!
  • 15.
  • 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
  • 19.
  • 20.
  • 21.
  • 23.
  • 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!
  • 25.
  • 26.
  • 27.
  • 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
  • 30.
  • 31.
  • 32.
  • 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