Suche senden
Hochladen
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_Singapore
•
1 gefällt mir
•
901 views
Amazon Web Services
Folgen
Build on AWS
Weniger lesen
Mehr lesen
Melden
Teilen
Melden
Teilen
1 von 32
Empfohlen
Getting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services
Introduction to Serverless
Introduction to Serverless
Amazon Web Services
Serverless Architectures.pdf
Serverless Architectures.pdf
Amazon Web Services
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
Amazon Web Services
Deep Dive on AWS Lambda
Deep Dive on AWS Lambda
Amazon Web Services
AWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless Cloud
Amazon Web Services
AWS Lambda
AWS Lambda
Scott Leberknight
Serverless computing
Serverless computing
Dmitriy Ivanov
Empfohlen
Getting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services
Introduction to Serverless
Introduction to Serverless
Amazon Web Services
Serverless Architectures.pdf
Serverless Architectures.pdf
Amazon Web Services
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
Amazon Web Services
Deep Dive on AWS Lambda
Deep Dive on AWS Lambda
Amazon Web Services
AWS Lambda and the Serverless Cloud
AWS Lambda and the Serverless Cloud
Amazon Web Services
AWS Lambda
AWS Lambda
Scott Leberknight
Serverless computing
Serverless computing
Dmitriy Ivanov
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
Apigee | Google Cloud
A Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
Amazon Web Services
Deep dive into AWS IAM
Deep dive into AWS IAM
Amazon Web Services
What is AWS?
What is AWS?
Martin Yan
Serverless Architecture
Serverless Architecture
Elana Krasner
AWS Lambda
AWS Lambda
Andrew Dixon
AWS Lambda
AWS Lambda
Julian Kleinhans
Building APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
Amazon Web Services
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
Amazon Web Services
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Amazon Web Services
Aws landing zone
Aws landing zone
Igor Ivanovic
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
Amazon Web Services
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
Amazon Web Services
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
Amazon Web Services
AWS 101: Introduction to AWS
AWS 101: Introduction to AWS
Ian Massingham
Intro to AWS Lambda
Intro to AWS Lambda
Amazon Web Services
AWS Lambda
AWS Lambda
Muhammed YALÇIN
Serverless Computing
Serverless Computing
Rushi Namani
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and Serverless
Amazon Web Services
AWS API Gateway
AWS API Gateway
Muhammed YALÇIN
Coordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdf
Amazon Web Services
Introduction to Serverless
Introduction to Serverless
Steven Bryen
Weitere ähnliche Inhalte
Was ist angesagt?
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
Apigee | Google Cloud
A Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
Amazon Web Services
Deep dive into AWS IAM
Deep dive into AWS IAM
Amazon Web Services
What is AWS?
What is AWS?
Martin Yan
Serverless Architecture
Serverless Architecture
Elana Krasner
AWS Lambda
AWS Lambda
Andrew Dixon
AWS Lambda
AWS Lambda
Julian Kleinhans
Building APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
Amazon Web Services
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
Amazon Web Services
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Amazon Web Services
Aws landing zone
Aws landing zone
Igor Ivanovic
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
Amazon Web Services
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
Amazon Web Services
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
Amazon Web Services
AWS 101: Introduction to AWS
AWS 101: Introduction to AWS
Ian Massingham
Intro to AWS Lambda
Intro to AWS Lambda
Amazon Web Services
AWS Lambda
AWS Lambda
Muhammed YALÇIN
Serverless Computing
Serverless Computing
Rushi Namani
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and Serverless
Amazon Web Services
AWS API Gateway
AWS API Gateway
Muhammed YALÇIN
Was ist angesagt?
(20)
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
A Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
Deep dive into AWS IAM
Deep dive into AWS IAM
What is AWS?
What is AWS?
Serverless Architecture
Serverless Architecture
AWS Lambda
AWS Lambda
AWS Lambda
AWS Lambda
Building APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Aws landing zone
Aws landing zone
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
AWS 101: Introduction to AWS
AWS 101: Introduction to AWS
Intro to AWS Lambda
Intro to AWS Lambda
AWS Lambda
AWS Lambda
Serverless Computing
Serverless Computing
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and Serverless
AWS API Gateway
AWS API Gateway
Ähnlich wie Getting Started with Serverless Architectures with Microservices_AWSPSSummit_Singapore
Coordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdf
Amazon Web Services
Introduction to Serverless
Introduction to Serverless
Steven Bryen
From Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best Practices
Tom Laszewski
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
Scaling from zero to millions of users
Scaling from zero to millions of users
Amazon Web Services
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Amazon Web Services
Introduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day Jerusalem
Amazon Web Services
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
Vladimir Simek
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Amazon Web Services
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Amazon Web Services
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Amazon Web Services
Enterprise Security
Enterprise Security
Amazon Web Services
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
Amazon Web Services
Breaking Down the 'Monowhat'
Breaking Down the 'Monowhat'
Amazon Web Services
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
Boaz Ziniman
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Amazon Web Services
Hybrid Cloud on AWS - Introduction and Art of the Possible
Hybrid Cloud on AWS - Introduction and Art of the Possible
Tom Laszewski
Resiliency Testing: Verify That Your System Is as Reliable as You Think (ARC4...
Resiliency Testing: Verify That Your System Is as Reliable as You Think (ARC4...
Amazon Web Services
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Amazon Web Services
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
Amazon Web Services
Ähnlich wie Getting Started with Serverless Architectures with Microservices_AWSPSSummit_Singapore
(20)
Coordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdf
Introduction to Serverless
Introduction to Serverless
From Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best Practices
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Scaling from zero to millions of users
Scaling from zero to millions of users
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Introduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day Jerusalem
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Enterprise Security
Enterprise Security
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
Breaking Down the 'Monowhat'
Breaking Down the 'Monowhat'
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Hybrid Cloud on AWS - Introduction and Art of the Possible
Hybrid Cloud on AWS - Introduction and Art of the Possible
Resiliency Testing: Verify That Your System Is as Reliable as You Think (ARC4...
Resiliency Testing: Verify That Your System Is as Reliable as You Think (ARC4...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
Mehr von 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...
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...
Amazon Web Services
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
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
Amazon Web Services
Open banking as a service
Open banking as a service
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...
Amazon Web Services
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 Workloads
Amazon Web Services
Computer Vision con AWS
Computer Vision con AWS
Amazon Web Services
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon 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 NodeJS
Amazon Web Services
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
Tools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
How to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
Building a web application without servers
Building a web application without servers
Amazon Web Services
Fundraising Essentials
Fundraising Essentials
Amazon Web Services
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 Service
Amazon Web Services
Mehr von 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...
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 Fargate
Costruire 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
Open 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...
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 Workloads
Computer 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 sfatare
Crea 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 web
Database 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 AWS
How to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Building a web application without servers
Building a web application without servers
Fundraising Essentials
Fundraising Essentials
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 Service
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_Singapore
1.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dennis Magsajo Solutions Architect, Amazon Web Services #<SESSION ID> Getting Started with Serverless Architectures with Microservices
2.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. No servers to provision or manage Scales with usage Never pay for idle Availability and fault-tolerance built in Serverless means…
3.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Spectrum of AWS Serverless offerings AWS Lambda Amazon Kinesis Amazon S3 Amazon API Gateway Amazon SQS Amazon DynamoDB AWS IoT Amazon Cognito AWS Step Functions AWS Fargate Amazon Aurora Serverless
4.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Microservices are … Microservices advocate creating a system from a collection of small, isolated services, each of which owns their data, scalable and resilient to failure
5.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How does Serverless Relate to Microservices? • The serverless approach aligns with microservices design principles and best practices • Some of them come out of the box • Others are much easier to achieve that with traditional approaches • Serverless is not a silver bullet • Let’s review each principle through a serverless lens …
6.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why Microservices? Business Goals Time-to-Market The size and risk of change reduces as the rate of change increases, which enables greater agility and faster time-to-market Ownership Teams act within a small and well- understood bounded context and are empowered to work independently Design Pillars Resilience Isolate failure and to improve the overall availability Scalability Scale horizontally and independently Continuous Delivery Changes are frequent and failures are cheap
7.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resilience
8.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Things will fail, plan for it! • Architect for high-availability • Apply throttles • Employ retries and set the right timeouts
9.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. High-availability • Multi-region serverless application using Amazon API Gateway and Amazon Route53 routing policies and latency based health- checks us-west-2 us-east-1 Client Amazon Route 53 Regional API Endpoint Regional API Endpoint Custom Domain Name Custom Domain Name API Gateway API Gateway Lambda Lambda api.mycorp.com CNAME CNAME
10.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. High-availability • Set throttles to prevent your downstream APIs from being overwhelmed by too many requests • Create Amazon API Gateway usage plans for throttling and quota
11.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. High-availability • AWS Lambda lets you set a timeout for your function
12.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Logging and Monitoring Amazon CloudWatch AWS X-Ray
13.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scalability
14.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Serverless Storage Defining the AWS data lake Data lake is an architecture with a virtually limitless centralized storage platform capable of categorization, processing, analysis, and consumption of heterogeneous data sets • Decoupled storage and compute • Rapid ingest and transformation • Secure multi-tenancy • Query in place • Schema on read
15.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Serverless Storage Unmatched durability, availability, and scalability Best security, compliance, and audit capability Object-level control at any scale Business insight into your data Twice as many partner integrations Most ways to bring data in Reasons to choose Amazon S3 for data lake
16.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Serverless Storage Amazon Aurora Serverless Amazon DynamoDB • Fully managed • Maintenance- free • Serverless • Auto scaling • Backup and restore • Global tables
17.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Serverless Compute CHANGING COMPUTE CONSUMPTION MODEL No instances to manage Task native API Resource based pricing Simple, easy to use, powerful – and new consumption model =
18.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do your functions scale? • AWS Lambda scales via container architecture … but you need not worry about that
19.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Decoupled Scaling Synchronous (push) Asynchronous (event) Stream-based Amazon API Gateway AWS Lambda function Amazon DynamoDBAmazon SNS /order AWS Lambda function Amazon S3 reqs Amazon Kinesis changes AWS Lambda service function
20.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Continuous Delivery
21.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is a good process? q Easy to interpret q Frequent and small changes q Changes have scope impact q Automated deployments
22.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is a good process? q Easy to interpret q Frequent and small changes q Changes have scope impact q Automated deployments • Extension of AWS CloudFormation • Automate deployment via AWS CodePipeline • Build, test, and debug locally via SAM CLI • Search and deploy serverless apps on the AWS Serverless Application Repository AWS Serverless Application Model (SAM)
23.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is a good process? q Easy to interpret q Frequent and small changes q Changes have scope impact q Automated deployments • A CLI tool for local building, validating, testing of serverless apps • Works with Lambda functions and “proxy-style” APIs • Response object and function logs available on your local machine • Uses open source docker-lambda images to mimic Lambda’s execution environment: • Emulates timeout, memory limits, runtimes AWS SAM CLI SAM Local
24.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is a good process? q Easy to interpret q Frequent and small changes q Changes have scope impact q Automated deployments • Create “canary” deploys • Do blue/green deployments between versions • Easily shift traffic between versions and see different metrics and logs unique to each • Test new functionality and roll back quickly if necessary Traffic Shifting in Lambda Aliases # Update $LATEST version of function aws lambda update-function-code --function-name myfunction …. # Publish new version of function aws lambda publish-version --function-name myfunction # Point alias to new version, weighted at 5% (original version at 95% of traffic) aws lambda update-alias --function-name myfunction --name myalias --routing-config '{"AdditionalVersionWeights" : {"2" : 0.05} }’ # Verify that the new version is healthy … # Set the primary version on the alias to the new version and reset the additional versions (100% weighted) aws lambda update-alias --function-name myfunction --name myalias --function-version 2 --routing-config '{}'
25.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is a good process? q Easy to interpret q Frequent and small changes q Changes have scope impact q Automated deployments • Start developing on AWS in minutes • Work across your team, securely • Manage software delivery easily • Choose from a variety of templates AWS Code Services AWS CodePipeline AWS CodeCommit AWS CodeBuildAWS CodeDeploy AWS Code Star
26.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security and Identity • User pools for secure, managed user directories • Identity pools for federation and role- based access control Amazon Cognito • Fine-grained access control to AWS resources AWS Identity and Access Management
27.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Build PCI- and HIPAA-compliant serverless applications! Serverless platform services that can be used in both: AWS Lambda Amazon S3 Amazon CloudFront Amazon DynamoDB Amazon Kinesis Streams Amazon Cognito Amazon API Gateway Amazon SNS
28.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Common “Serverless” Use Cases Web applications • Static websites • Complex web apps • Packages for Flask and Express Data processing • Real-time • MapReduce • Batch Chatbots • Powering chatbot logic Backends • Apps and services • Mobile • IoT </></> Amazon Alexa • Powering voice-enabled apps • Alexa Skills Kit IT automation • Policy engines • Extending AWS services • Infrastructure management
29.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Bustle Achieves 84% Cost Savings with AWS Lambda Bustle is a news, entertainment, lifestyle, and fashion website targeted towards women. With AWS Lambda, we eliminate the need to worry about operations Tyler Love CTO, Bustle ” “ • Bustle had trouble scaling and maintaining high availability for its website without heavy management • Moved to serverless architecture using AWS Lambda and Amazon API Gateway • Experienced approximately 84% in cost savings • Engineers are now focused on innovation
30.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. CU STOMERS LOVE SERVERLESS
31.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. https://aws.amazon.com/serverless
32.
© 2018, Amazon
Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you!