SlideShare una empresa de Scribd logo
1 de 59
Descargar para leer sin conexión
S U M M I T
SA NTA CLA R A
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
A culture of rapid innovation with
DevOps, microservices, & serverless
Deepak Singh
Director, Containers and Linux
Amazon Web Services
M A D 2 0 1
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
“We want to be a large company that’s also an invention machine. We want to
combine the extraordinary customer-serving capabilitiesthat are enabled by
size with the speed of movement, nimbleness, and risk-acceptance mentality
normally associated with entrepreneurial start-ups.”
Jeff Bezos
CEO, Amazon
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
ListenIterate
Experiment
Innovation
flywheel
Experiments power the engine of rapid innovation
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Development transformation at Amazon: 2001–2002
Monolithic application +
teams
2001
Lesson learned: Decompose for agility
2002
Microservices
+ 2 pizza teams
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Culture
Team design
Architecture patterns
Powerful infrastructure
Innovation
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Customer obsession
Bias for action
Highest standards
Think big
Have backbone: disagree & com
Culture
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Full ownership
Full accountability
DevOps
Focused innovation
Two-pizza teams
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Deployment at scale
1000s of
teams
Micro-
services
CI/CD Serverless
>60 million deployments a year*
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
New services and features released per year
0
500
1000
1500
2000
2500
2011 2012 2013 2014 2015 2016 2017 2018
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
What technical
changes have to be
made in this new
world?
Architectural patterns
Operational model
Software delivery
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Changes to the architectural patterns
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
When the impact of change is small,
release velocity can increase
Monolith
Does everything
Microservices
Does one thing
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
When a small team can make a change,
release velocity can increase
Multipleteams
Loosely connected
One team
Focus and ownership
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Microservice
API
API
Microservice
Microservice
Event
API
Microservice
Event
API
Microservice
Application
Mobile client
Client
IoT
Persistence Persistence
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
APIs are the front door of microservices
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
APIs are the “hardened contract” between
teams
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Manage APIs with Amazon API Gateway
Mobile apps
Websites
Services
Internet Amazon
CloudFront
Amazon CloudWatch
monitoring
API
Gateway
cache
Any other
AWS service
All publicly
accessible
endpoints
AWS
Lambda
functions
Endpoints
in your VPC
Regional API endpoints
AWS Lambda
functions
Endpoints on
Amazon EC2
Your VPCAWS
innovates on
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Event-driven architectures
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Decouple state from code using
messaging
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Decouple state from code using messaging
Queues
Simple
Fully managed
Any volume
Pub/sub
Simple
Fully managed
Flexible
Amazon Simple
Queue Service
Amazon Simple
Notification Service
Messaging
Synchronization
Rapid
Fully managed
Real time
Amazon CloudWatch
Events
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Microservice
Event
Event
Microservice
Microservice
Event
API
Microservice
Event
API
Microservice
Application
Mobile client
Client
IoT
Persistence Persistence
Queue
Topic
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
AmazonSNS
“CheckoutEventsTopic”
Event storage & backup pipeline
Event search & analytics pipeline
Event replay pipeline
Checkout event processing pipeline
filtered orders(amount>=$100)
Ordersto replay
All
orders
AWS Cloud
Ecommerce
users
Internet
AWSLambda
“CheckoutFunction”
AmazonSQS
“CheckoutQueue”
AWSLambda
“CheckoutFunction”
AmazonDynamoDB
“CheckoutTable”
Event-driven architecture
innovates on
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
And data streams
Ingest
Data streams
Data processing
Real time
Data store
Microservices
Performance at scale
Fast and flexible
Amazon Kinesis
Data Streams
Amazon
Dynamo DB
Data stream capture
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Track status of data
and execution
Remove redundant
code
Build workflows to orchestrate everything
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Simpler integration, less code
With serverless
polling
With new
service integration
Start
End
AWS
Lambda
functions
Start
End
No
Lambda
functions
innovates on
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Cloud-native architectures are small
pieces, loosely joined
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Changes to the operational model
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
AWS operational responsibility models
On premises Cloud
Less More
Compute Virtual machine
EC2 Elastic Beanstalk AWS LambdaFargate
Databases MySQL MySQL on EC2
RDS MySQL RDS Aurora Aurora Serverless DynamoDB
Storage Storage
S3
Messaging ESBs
Amazon MQ Kinesis SQS / SNS
Analytics
Hadoop Hadoop on EC2 EMR Amazon Elasticsearch Service Athena
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
What is serverless?
No infrastructure management Automatic scaling
Pay for value Highly available and secure
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
AWS
Lambda
AWS
Fargate
Amazon
API Gateway
Amazon
SNS
Amazon
SQS
AWS
Step Functions
COMPUTE
DATA STORES
INTEGRATION
Amazon Aurora
Serverless
Amazon
S3
Amazon
DynamoDB
AWS
AppSync
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Serverless compute engine
for containers
Long-running
Bring existing code
Fully managed orchestration
AWS Fargate
Let’s focus on compute for now
Serverless event-driven
code execution
Short-lived
All language runtimes
Data source integrations
AWS Lambda
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Comparison of operational responsibility
AWS Lambda
Serverless functions
AWS Fargate
Serverless containers
ECS/EKS
Container-management as a service
EC2
Infrastructure-as-a-service
More opinionated
Less opinionated
AWS manages Customer manages
• Data sourceintegrations
• Physicalhardware, software, networking,
and facilities
• Provisioning
• Application code
• Container orchestration, provisioning
• Cluster scaling
• Physicalhardware, hostOS/kernel,
networking, and facilities
• Application code
• Data sourceintegrations
• Security config and updates, network config,
management tasks
• Container orchestration controlplane
• Physicalhardwaresoftware, networking,
and facilities
• Application code
• Data sourceintegrations
• Work clusters
• Security config and updates, network config,
firewall, management tasks
• Physicalhardwaresoftware,
networking, and facilities
• Application code
• Data sourceintegrations
• Scaling
• Security config and updates, network config,
management tasks
• Provisioning, managing scaling and
patching of servers
innovates on
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Making development easier with AWS Lambda
Accessible for
all developers
Enable new
application patterns
Greater
productivity
Support for all runtimes
with Lambda Layers and Runtime API
ISO, PCI, HIPAA, SOC, GDPR,
and FedRamp compliances
15 minute functions
SQS for Lambda
Automatic load balancing for Lambda
Support for Kinesis Data Streams Enhanced Fan-Out
and HTTP/2
Toolkits for popular IDEs:
VSCode, IntelliJ, and PyCharm
Simplified deployment
with nested apps
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Lambda Layers & Custom Runtimes
Lambda Layers Custom Runtimes
Bring any Linux compatible
language runtime
Lets functions easily share
code: Upload layer once,
reference within any function
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Community Lambda Layers
UtilitiesCustom Runtimes
C++
Rust
Erlang
Bash
Node.js v10, v11
PHP 7.1, 7.2, 7.3
Pypy 3.5
Haskell
AWS CLI
Ffmpeg
Git + SSH
Kubectl
MySQL + PHP
SoX
Tesseract
Pandoc
Monitoring
PureSec
Protego
Security
Datadog
Epsagon
IOpipe
Thundra
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Serverless containers with AWS Fargate
Bring existing code Containers as first-class
primitive
Production ready
No changes required of existing code,
works with existing workflows and
microservices
built on Amazon ECS
Time and event-based scheduling, network
integration,
individually metered, and billed.
Native service discovery
ISO, PCI, HIPAA, SOC compliant.
Launch tens or tens of thousands of
containers in seconds in
9 global regions (+7 in 2018)
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Consistent microservice
communications
Observability & traffic control
Container orchestration compatibility
Fully managed
AWS App Mesh
Application-level networkingfor
all your resources
- Now generally available
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
AWS X-Ray is built for modern applications
Identify customer
impact
Support for serverlessMap all services and
ephemeral resources
Follow end to end
interactions
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Object storage
Durable and scalable
Comprehensive security
Query-in-place
AWS serverless storage and database options
Non-relational
Performance at scale
Fully managed
Enterprise-ready
Relational
Fully managed
High performance
Cost effective
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Changes to the delivery of software
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Monolith development lifecycle
MonitorReleaseTestBuild
Developers
Delivery pipelines
Services
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Microservice development lifecycle
Developers Services
MonitorReleaseTestBuild
Delivery pipelines
MonitorReleaseTestBuild
MonitorReleaseTestBuild
MonitorReleaseTestBuild
MonitorReleaseTestBuild
MonitorReleaseTestBuild
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
How Amazon
does DevOps
(microservices, 2 pizza teams)
(governance, templates)
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
We Released the AWS Developer Tools for CI/CD
AWS CodeBuild +
third party
AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS X-Ray
Source Build Test Deploy Monitor
AWS CodePipeline
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
AWS Developer Tools have been purpose built to support
serverless microservices
Support for Lambda
deploymentwith
CodePiplineand
AWS CloudFormation
Support for rolling
and blue/green
Lambda
deployments with
AWS CodeDeploy
Support for Fargate
and Amazon ECS
deploymentsin AWS
CodePipeline
CodePipeline
supports AWS
Config for
improved
governance
CodePipeline
supports
Amazon ECR as
a source
Support for
serverless
python apps in
AWS Toolkitfor
PyCharm
Support for
blue/green
deployments
for Fargate and
ECS with
CodeDeploy
2016 20182017
NOV NOV DEC OCT NOV NOV
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Author and debug Lambda applications on AWS using
your favorite IDEs
Python, Node Python Java
Developer
preview
.NET, Node
**New today**
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Developer previewAWS Cloud Development Kit
CDK application AWS
CloudFormation
template
Stack(s)
Construct Construct
Resources
AWS
CloudFormation
Amazon SQS AWS Lambda Amazon S3
bucket
Amazon DynamoDB
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Application models simplify building serverless and
containerized applications
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Application models simplify building serverless and
containerized applications
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Conclusion
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Increase
customer
value
Build better
products
Innovate
more often
Release
features
faster
Focus on
business
logic
Decouple
software
systems
Our goal is to automate and abstract away as much as is possible so customers can focus on
building applications for their business
We are witnessing a paradigm shift
© 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T
Comparison of operational responsibility
AWS Lambda
Serverless functions
AWS Fargate
Serverless containers
ECS/EKS
Container-management as a service
EC2
Infrastructure-as-a-service
More opinionated
Less opinionated
AWS manages Customer manages
• Data sourceintegrations
• Physicalhardware, software, networking,
and facilities
• Provisioning
• Application code
• Container orchestration, provisioning
• Cluster scaling
• Physicalhardware, hostOS/kernel,
networking, and facilities
• Application code
• Data sourceintegrations
• Security config and updates, network config,
management tasks
• Container orchestration controlplane
• Physicalhardwaresoftware, networking,
and facilities
• Application code
• Data sourceintegrations
• Work clusters
• Security config and updates, network config,
firewall, management tasks
• Physicalhardwaresoftware,
networking, and facilities
• Application code
• Data sourceintegrations
• Scaling
• Security config and updates, network config,
management tasks
• Provisioning, managing scaling and
patching of servers
Thank you!
S UM M I T © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.
Deepak Singh
deesingh@
@mndoci
S UM M I T © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
Migration to AWS: The foundation for enterprise transformation - SVC210 - New...Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
 
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
 
Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...Accelerating product development with high performance computing - CMP301 - S...
Accelerating product development with high performance computing - CMP301 - S...
 
Alexa + IoT - SVC203 - New York AWS Summit
Alexa + IoT - SVC203 - New York AWS SummitAlexa + IoT - SVC203 - New York AWS Summit
Alexa + IoT - SVC203 - New York AWS Summit
 
Favorire l'innovazione passando da applicazioni monolitiche ad architetture m...
Favorire l'innovazione passando da applicazioni monolitiche ad architetture m...Favorire l'innovazione passando da applicazioni monolitiche ad architetture m...
Favorire l'innovazione passando da applicazioni monolitiche ad architetture m...
 
Pensi di essere pronto per i microservizi?
Pensi di essere pronto per i microservizi?Pensi di essere pronto per i microservizi?
Pensi di essere pronto per i microservizi?
 
Creare soluzioni immersive di realtà virtuale aumentata
Creare soluzioni immersive di realtà virtuale aumentataCreare soluzioni immersive di realtà virtuale aumentata
Creare soluzioni immersive di realtà virtuale aumentata
 
Introducing AWS App Mesh - MAD303 - Santa Clara AWS Summit
Introducing AWS App Mesh - MAD303 - Santa Clara AWS SummitIntroducing AWS App Mesh - MAD303 - Santa Clara AWS Summit
Introducing AWS App Mesh - MAD303 - Santa Clara AWS Summit
 
Building intelligent applications using AI services
Building intelligent applications using AI servicesBuilding intelligent applications using AI services
Building intelligent applications using AI services
 
Discuss data migration with AWS experts - STG304 - Santa Clara AWS Summit
Discuss data migration with AWS experts - STG304 - Santa Clara AWS SummitDiscuss data migration with AWS experts - STG304 - Santa Clara AWS Summit
Discuss data migration with AWS experts - STG304 - Santa Clara AWS Summit
 
Best Friends Animal Society saves puppies (and data) with N2WS & AWS - SVC211...
Best Friends Animal Society saves puppies (and data) with N2WS & AWS - SVC211...Best Friends Animal Society saves puppies (and data) with N2WS & AWS - SVC211...
Best Friends Animal Society saves puppies (and data) with N2WS & AWS - SVC211...
 
Build intelligent applications quickly with AWS AI services - AIM301 - New Yo...
Build intelligent applications quickly with AWS AI services - AIM301 - New Yo...Build intelligent applications quickly with AWS AI services - AIM301 - New Yo...
Build intelligent applications quickly with AWS AI services - AIM301 - New Yo...
 
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
[REPEAT] Get hands on with AWS DeepRacer & compete in the AWS DeepRacer Leagu...
 
Build a VR experience in 60 minutes - SVC222 - New York AWS Summit
Build a VR experience in 60 minutes - SVC222 - New York AWS SummitBuild a VR experience in 60 minutes - SVC222 - New York AWS Summit
Build a VR experience in 60 minutes - SVC222 - New York AWS Summit
 
Building AR-VR applications on AWS
Building AR-VR applications on AWSBuilding AR-VR applications on AWS
Building AR-VR applications on AWS
 
Amazon digital user engagement solutions - SVC221 - New York AWS Summit
Amazon digital user engagement solutions - SVC221 - New York AWS SummitAmazon digital user engagement solutions - SVC221 - New York AWS Summit
Amazon digital user engagement solutions - SVC221 - New York AWS Summit
 
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
 
Student Track - AWS Summit 2019 - Introduzione
Student Track - AWS Summit 2019 - IntroduzioneStudent Track - AWS Summit 2019 - Introduzione
Student Track - AWS Summit 2019 - Introduzione
 
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
 
Building AR/VR Apps with AWS - SVC201 - Anaheim AWS Summit
Building AR/VR Apps with AWS - SVC201 - Anaheim AWS SummitBuilding AR/VR Apps with AWS - SVC201 - Anaheim AWS Summit
Building AR/VR Apps with AWS - SVC201 - Anaheim AWS Summit
 

Similar a A culture of rapid innovation with DevOps, microservices, & serverless - MAD201 - Santa Clara AWS Summit.pdf

DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
Amazon Web Services
 
Breaking Up the Monolith with Containers
Breaking Up the Monolith with ContainersBreaking Up the Monolith with Containers
Breaking Up the Monolith with Containers
Amazon Web Services
 

Similar a A culture of rapid innovation with DevOps, microservices, & serverless - MAD201 - Santa Clara AWS Summit.pdf (20)

A Culture of Rapid Innovation with DevOps, Microservices, & Serverless - MAD2...
A Culture of Rapid Innovation with DevOps, Microservices, & Serverless - MAD2...A Culture of Rapid Innovation with DevOps, Microservices, & Serverless - MAD2...
A Culture of Rapid Innovation with DevOps, Microservices, & Serverless - MAD2...
 
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitHow to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
 
Getting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless ArchitecturesGetting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless Architectures
 
AWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening KeynoteAWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening Keynote
 
Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
Containers on AWS
Containers on AWSContainers on AWS
Containers on AWS
 
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
AWS Summit Singapore 2019 | Operating Microservices at HyperscaleAWS Summit Singapore 2019 | Operating Microservices at Hyperscale
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
 
Modern Application Development in the Cloud
Modern Application Development in the CloudModern Application Development in the Cloud
Modern Application Development in the Cloud
 
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
 
Modern Application Development for Startups
Modern Application Development for StartupsModern Application Development for Startups
Modern Application Development for Startups
 
Serverless applications with AWS
Serverless applications with AWSServerless applications with AWS
Serverless applications with AWS
 
DevConZM - Modern Applications Development in the Cloud
DevConZM - Modern Applications Development in the CloudDevConZM - Modern Applications Development in the Cloud
DevConZM - Modern Applications Development in the Cloud
 
Using ML to detect and prevent fraud without compromising user experience - F...
Using ML to detect and prevent fraud without compromising user experience - F...Using ML to detect and prevent fraud without compromising user experience - F...
Using ML to detect and prevent fraud without compromising user experience - F...
 
Breaking Up the Monolith with Containers
Breaking Up the Monolith with ContainersBreaking Up the Monolith with Containers
Breaking Up the Monolith with Containers
 
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
AWS App Mesh: Manage services mesh discovery, recovery, and monitoring - MAD3...
 
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...
 
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS SummitManaging microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
Managing microservices using AWS App Mesh - MAD302 - Chicago AWS Summit
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de 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
 

A culture of rapid innovation with DevOps, microservices, & serverless - MAD201 - Santa Clara AWS Summit.pdf

  • 1. S U M M I T SA NTA CLA R A
  • 2. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T A culture of rapid innovation with DevOps, microservices, & serverless Deepak Singh Director, Containers and Linux Amazon Web Services M A D 2 0 1
  • 3. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T “We want to be a large company that’s also an invention machine. We want to combine the extraordinary customer-serving capabilitiesthat are enabled by size with the speed of movement, nimbleness, and risk-acceptance mentality normally associated with entrepreneurial start-ups.” Jeff Bezos CEO, Amazon
  • 4. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T ListenIterate Experiment Innovation flywheel Experiments power the engine of rapid innovation
  • 5. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Development transformation at Amazon: 2001–2002 Monolithic application + teams 2001 Lesson learned: Decompose for agility 2002 Microservices + 2 pizza teams
  • 6. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Culture Team design Architecture patterns Powerful infrastructure Innovation
  • 7. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Customer obsession Bias for action Highest standards Think big Have backbone: disagree & com Culture
  • 8. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Full ownership Full accountability DevOps Focused innovation Two-pizza teams
  • 9. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Deployment at scale 1000s of teams Micro- services CI/CD Serverless >60 million deployments a year*
  • 10. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T New services and features released per year 0 500 1000 1500 2000 2500 2011 2012 2013 2014 2015 2016 2017 2018
  • 11. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T What technical changes have to be made in this new world? Architectural patterns Operational model Software delivery
  • 12. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Changes to the architectural patterns
  • 13. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T When the impact of change is small, release velocity can increase Monolith Does everything Microservices Does one thing
  • 14. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T When a small team can make a change, release velocity can increase Multipleteams Loosely connected One team Focus and ownership
  • 15. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Microservice API API Microservice Microservice Event API Microservice Event API Microservice Application Mobile client Client IoT Persistence Persistence
  • 16. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T APIs are the front door of microservices
  • 17. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T APIs are the “hardened contract” between teams
  • 18. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Manage APIs with Amazon API Gateway Mobile apps Websites Services Internet Amazon CloudFront Amazon CloudWatch monitoring API Gateway cache Any other AWS service All publicly accessible endpoints AWS Lambda functions Endpoints in your VPC Regional API endpoints AWS Lambda functions Endpoints on Amazon EC2 Your VPCAWS
  • 20. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Event-driven architectures
  • 21. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Decouple state from code using messaging
  • 22. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Decouple state from code using messaging Queues Simple Fully managed Any volume Pub/sub Simple Fully managed Flexible Amazon Simple Queue Service Amazon Simple Notification Service Messaging Synchronization Rapid Fully managed Real time Amazon CloudWatch Events
  • 23. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Microservice Event Event Microservice Microservice Event API Microservice Event API Microservice Application Mobile client Client IoT Persistence Persistence Queue Topic
  • 24. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T AmazonSNS “CheckoutEventsTopic” Event storage & backup pipeline Event search & analytics pipeline Event replay pipeline Checkout event processing pipeline filtered orders(amount>=$100) Ordersto replay All orders AWS Cloud Ecommerce users Internet AWSLambda “CheckoutFunction” AmazonSQS “CheckoutQueue” AWSLambda “CheckoutFunction” AmazonDynamoDB “CheckoutTable” Event-driven architecture
  • 26. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T And data streams Ingest Data streams Data processing Real time Data store Microservices Performance at scale Fast and flexible Amazon Kinesis Data Streams Amazon Dynamo DB Data stream capture
  • 27. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Track status of data and execution Remove redundant code Build workflows to orchestrate everything
  • 28. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Simpler integration, less code With serverless polling With new service integration Start End AWS Lambda functions Start End No Lambda functions
  • 30. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Cloud-native architectures are small pieces, loosely joined
  • 31. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Changes to the operational model
  • 32. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T AWS operational responsibility models On premises Cloud Less More Compute Virtual machine EC2 Elastic Beanstalk AWS LambdaFargate Databases MySQL MySQL on EC2 RDS MySQL RDS Aurora Aurora Serverless DynamoDB Storage Storage S3 Messaging ESBs Amazon MQ Kinesis SQS / SNS Analytics Hadoop Hadoop on EC2 EMR Amazon Elasticsearch Service Athena
  • 33. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T What is serverless? No infrastructure management Automatic scaling Pay for value Highly available and secure
  • 34. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T AWS Lambda AWS Fargate Amazon API Gateway Amazon SNS Amazon SQS AWS Step Functions COMPUTE DATA STORES INTEGRATION Amazon Aurora Serverless Amazon S3 Amazon DynamoDB AWS AppSync
  • 35. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Serverless compute engine for containers Long-running Bring existing code Fully managed orchestration AWS Fargate Let’s focus on compute for now Serverless event-driven code execution Short-lived All language runtimes Data source integrations AWS Lambda
  • 36. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Comparison of operational responsibility AWS Lambda Serverless functions AWS Fargate Serverless containers ECS/EKS Container-management as a service EC2 Infrastructure-as-a-service More opinionated Less opinionated AWS manages Customer manages • Data sourceintegrations • Physicalhardware, software, networking, and facilities • Provisioning • Application code • Container orchestration, provisioning • Cluster scaling • Physicalhardware, hostOS/kernel, networking, and facilities • Application code • Data sourceintegrations • Security config and updates, network config, management tasks • Container orchestration controlplane • Physicalhardwaresoftware, networking, and facilities • Application code • Data sourceintegrations • Work clusters • Security config and updates, network config, firewall, management tasks • Physicalhardwaresoftware, networking, and facilities • Application code • Data sourceintegrations • Scaling • Security config and updates, network config, management tasks • Provisioning, managing scaling and patching of servers
  • 38. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Making development easier with AWS Lambda Accessible for all developers Enable new application patterns Greater productivity Support for all runtimes with Lambda Layers and Runtime API ISO, PCI, HIPAA, SOC, GDPR, and FedRamp compliances 15 minute functions SQS for Lambda Automatic load balancing for Lambda Support for Kinesis Data Streams Enhanced Fan-Out and HTTP/2 Toolkits for popular IDEs: VSCode, IntelliJ, and PyCharm Simplified deployment with nested apps
  • 39. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Lambda Layers & Custom Runtimes Lambda Layers Custom Runtimes Bring any Linux compatible language runtime Lets functions easily share code: Upload layer once, reference within any function
  • 40. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Community Lambda Layers UtilitiesCustom Runtimes C++ Rust Erlang Bash Node.js v10, v11 PHP 7.1, 7.2, 7.3 Pypy 3.5 Haskell AWS CLI Ffmpeg Git + SSH Kubectl MySQL + PHP SoX Tesseract Pandoc Monitoring PureSec Protego Security Datadog Epsagon IOpipe Thundra
  • 41. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Serverless containers with AWS Fargate Bring existing code Containers as first-class primitive Production ready No changes required of existing code, works with existing workflows and microservices built on Amazon ECS Time and event-based scheduling, network integration, individually metered, and billed. Native service discovery ISO, PCI, HIPAA, SOC compliant. Launch tens or tens of thousands of containers in seconds in 9 global regions (+7 in 2018)
  • 42. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Consistent microservice communications Observability & traffic control Container orchestration compatibility Fully managed AWS App Mesh Application-level networkingfor all your resources - Now generally available
  • 43. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T AWS X-Ray is built for modern applications Identify customer impact Support for serverlessMap all services and ephemeral resources Follow end to end interactions
  • 44. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Object storage Durable and scalable Comprehensive security Query-in-place AWS serverless storage and database options Non-relational Performance at scale Fully managed Enterprise-ready Relational Fully managed High performance Cost effective
  • 45. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Changes to the delivery of software
  • 46. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Monolith development lifecycle MonitorReleaseTestBuild Developers Delivery pipelines Services
  • 47. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Microservice development lifecycle Developers Services MonitorReleaseTestBuild Delivery pipelines MonitorReleaseTestBuild MonitorReleaseTestBuild MonitorReleaseTestBuild MonitorReleaseTestBuild MonitorReleaseTestBuild
  • 48. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T How Amazon does DevOps (microservices, 2 pizza teams) (governance, templates)
  • 49. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T We Released the AWS Developer Tools for CI/CD AWS CodeBuild + third party AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS X-Ray Source Build Test Deploy Monitor AWS CodePipeline
  • 50. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T AWS Developer Tools have been purpose built to support serverless microservices Support for Lambda deploymentwith CodePiplineand AWS CloudFormation Support for rolling and blue/green Lambda deployments with AWS CodeDeploy Support for Fargate and Amazon ECS deploymentsin AWS CodePipeline CodePipeline supports AWS Config for improved governance CodePipeline supports Amazon ECR as a source Support for serverless python apps in AWS Toolkitfor PyCharm Support for blue/green deployments for Fargate and ECS with CodeDeploy 2016 20182017 NOV NOV DEC OCT NOV NOV
  • 51. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Author and debug Lambda applications on AWS using your favorite IDEs Python, Node Python Java Developer preview .NET, Node **New today**
  • 52. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Developer previewAWS Cloud Development Kit CDK application AWS CloudFormation template Stack(s) Construct Construct Resources AWS CloudFormation Amazon SQS AWS Lambda Amazon S3 bucket Amazon DynamoDB
  • 53. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Application models simplify building serverless and containerized applications
  • 54. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Application models simplify building serverless and containerized applications
  • 55. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Conclusion
  • 56. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Increase customer value Build better products Innovate more often Release features faster Focus on business logic Decouple software systems Our goal is to automate and abstract away as much as is possible so customers can focus on building applications for their business We are witnessing a paradigm shift
  • 57. © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.S UM M I T Comparison of operational responsibility AWS Lambda Serverless functions AWS Fargate Serverless containers ECS/EKS Container-management as a service EC2 Infrastructure-as-a-service More opinionated Less opinionated AWS manages Customer manages • Data sourceintegrations • Physicalhardware, software, networking, and facilities • Provisioning • Application code • Container orchestration, provisioning • Cluster scaling • Physicalhardware, hostOS/kernel, networking, and facilities • Application code • Data sourceintegrations • Security config and updates, network config, management tasks • Container orchestration controlplane • Physicalhardwaresoftware, networking, and facilities • Application code • Data sourceintegrations • Work clusters • Security config and updates, network config, firewall, management tasks • Physicalhardwaresoftware, networking, and facilities • Application code • Data sourceintegrations • Scaling • Security config and updates, network config, management tasks • Provisioning, managing scaling and patching of servers
  • 58. Thank you! S UM M I T © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved. Deepak Singh deesingh@ @mndoci
  • 59. S UM M I T © 2019, Amazon Web Services, Inc. orits affiliates. All rights reserved.