SlideShare uma empresa Scribd logo
1 de 66
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nathan Peck
Developer Advocate, Container Services
@nathankpeck
SRV205
Architectures and Strategies for
Building Modern Applications on
AWS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Primitives
of a
Application?
“…application is container-based”
“…dynamically managed…”
…microservice oriented…”
Modern
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Primitives
of a Modern
Cloud Native
“…application is container-based”
“…dynamically managed…”
…microservice oriented…”
Application?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Speed Scale Resiliency
Why Building Cloud Native Matters
Key Building Blocks for Success
Containers
+ Functions
Cloud Culture
Key Building Blocks for Success
Cloud CultureContainers
+ Functions
The fast
companies are 440x
faster than
the slow
We found that, compared to low
performers, high performers have:
46x more frequent code deployments
440x faster lead time from commit to deploy
96x faster mean time to recover from downtime
5.0x lower change failure rate (changes are 1/5 as likely to fail)
Time to Value
Ship features,not just code
Low performersHigh performers
Deploy frequency (# of deploys per year)
0
400
800
1,200
1,600
2014 2015 2016 2017
Containers Enable Fast Deployments
0
20
40
60
80
100
2014 2015 2016 2017
0
20
30
40
50
60
10
Mean time to recover (hours) Change failure rate (percentage)
Low performersHigh performers
2014 2015 2016 2017
Containers Enable Immutable
Changes/Rollback
Cloud Native Principle #1
Cloud Native Applications
enable high functioning
organizations to build and
ship features faster!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Building Blocks for Success
CultureCloudContainers
+ Functions
Cloud Native Architecture
Pay as
you go
Self-
Service
Elastic
Data Center Native
DATA CENTER
Architecture
Infrastructure
Data Center Native
Architecture
Lives for years
DATA CENTER
Cloud Migration
Pay as you go
DATACENTER
Pay up front and
depreciate over
three years
Pay a month later
for the number of
seconds used
Cloud Native Principle #2
Pay for what you used last month, not
what you guess you will need next year.
Enable teams to experiment and fail fast,
without significant investment.
File tickets and
wait for every step
Self service,
on-demand, no delays
!
VS
!
File tickets and
wait for every step
Self service,
on-demand, no delays
!
VS
!!
Deploy by filing a
ticket and waiting
days or weeks
Deploy by making an
API call self service
within minutes
Cloud Native Principle #3
Self service, API driven, automated.
Move from request tickets at every
step to self-service APIs and tools that
empower teams.
Elasticity
DATA CENTER
Hard to get over 10% utilization—
need extra capacity in case of peak.
CLOUD
Target over 40% utilization—
and scale on demand for any
size workload.
Cloud Native Principle #4
Turn it off when it’s idle.
Scale for workloads of any size.
Many times higher utilization.
Huge cost savings.
Blast
Radius
Loosely
Coupled
Geographically
Distributed
Resiliency
Microservices limit “blast
radius” for software incidents
Build and deploy loosely coupled services.
Enable teams to move fast independently.
Reduce blast radius via service and
deployment isolation.
Cloud Native Principle #5
Microservices reduce blast radius, can
improve MTTR, and support globally
distributed deployment models.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Building Blocks for Success
CultureCloudContainers
+ Functions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“You don’t add innovation to a
culture, you get out of its way.”
—Adrian Cockcroft, VP Cloud Architecture Strategy, AWS
“…teams build software that patterns
their organizational structure…”
—Conway’s Law
Organization Transformation
“You build it, you run it.”
—Werner Vogels, VP & CTO Amazon.com
“Not what happens IF it fails,
but what happens WHEN it fails.”
—Nora Jones, Author, and Sr. Chaos Engineer at Netflix
Principals of Modern, Cloud Native Apps
Containers
+ Functions
Cloud Culture
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
So What Does A Modern App Look Like?
How you run and
interact with it
How it
integrates
How you
monitor it
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
Bring your own code
• Node.js, Java, Python,
C#, Go
• Bring your own libraries
(even native ones)
Simple resource model
• Select power rating
from 128 MB to 3 GB
• CPU and network
allocated proportionately
Flexible use
• Synchronous or
asynchronous
• Integrated with other AWS
services
Flexible authorization
• Securely grant access to
resources and VPCs
• Fine-grained control for
invoking your functions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
Authoring functions
• WYSIWYG editor or
upload packaged .zip
• Third-party plugins
(Eclipse, Visual Studio)
Monitoring and logging
• Metrics for requests,
errors, and throttles
• Built-in logs to Amazon
CloudWatch Logs
Programming model
• Use processes, threads,
/tmp, sockets normally
• AWS SDK built in
(Python and Node.js)
Stateless
• Persist data using
external storage
• No affinity or access to
underlying infrastructure
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
FINRA performs
500 Billion validations daily
using AWS Lambda
“Using AWS Lambda, we’ve
increased cost efficiency
by a factor of two”
—Tim Griesbach, Senior Director of Technology, FINRA
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
…
Amazon
RDS
Incoming files
to be audited
On-premises data center
NAS
FTP
Controller on EC2
Amazon SQS
Amazon
SQS
Amazon
SQS
Amazon
S3
Logs to
CloudWatch
Logs
Lambda preforms
record validations
Consumers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service (ECS)
Container-Level
Networking
Advanced task
placement
Deep integration
with AWS platform
ECS CLI…{ }
Global footprint
Powerful
scheduling engines
Auto scaling
CloudWatch metrics
Load balancers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
McDelivery
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Critical Business Requirements
Speed to market
Scalability and reliability
Multi-country support and integration
Cost sensitivity
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Architecture Principles
Microservices
Containers and orchestration
PaaS
Synchronous and event based
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon
RDS
ElastiCache
(Redis)
Amazon
S3
Amazon
SQS
Auto Scaling Group
Multi-AZ
Auto Scaling Group
Multi-AZ
Microservice 1 Microservice 2
Amazon
ECS
McD API Middleware
Third-party
Delivery
Platforms
Menu and
Restaurant
Master
Restaurant
Application Load Balancer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Built entire system in months, all on AWS
Out of the box integration and deployment models
with ECS simplified DevOps pipeline
Open platform that integrates with any restaurant
and global delivery partners
Over 20K transactions per second, sub
100 millisecond latency
Cost effective, even with extremely low transaction
values
Enable Focus on Applications
Introducing
AWS Fargate!
Simple,
easy to use,
powerful
consumption
model
Resource
based pricing
Fargate
No instances
to manage
Container
native API
Running a Container
Running Containers
EC2 Instance
TaskTask
TaskTask
EC2 Instance
TaskTask
TaskTask
EC2 Instance
TaskTask
TaskTask
EC2 Instance
TaskTask
TaskTask
EC2 Instance
TaskTask
TaskTask
EC2 Instance
ECSTaskECSTask
ECSTaskECSTask
ECS
AMI
Docker
agent
ECS
agent
Availability Zone #1 Availability Zone #2 Availability Zone #3
Scheduling and Orchestration
Cluster Manager Placement Engine
Running Containers at Scale with ECS
E C S
Amazon
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
EC2 Instance
ECS
AMI
Docker
agent
ECS
agent
Scheduling and Orchestration
Cluster Manager Placement Engine
E C S
Amazon
Get Started in Minutes
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Entire website runs as microservices. Ruby &
GraphQL backend with node.js frontend
Needed ability to scale quickly, schedule multi-
container workloads, network layer control
All in on AWS—Moved entire infrastructure to AWS and
Fargate in Jan 2018
Fargate scales quickly with traffic spikes, running
~25 tasks at baseline in production
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Public
Subnet
Private
Subnet
CDN
External
ALB
Backend Web External
API External
Frontend Web
External
Card/Scraper
Service
Background
Job Queues
Background
Workers
Internal
ALB Background
Web Internal
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“We moved to Fargate because we
need the ability to scale quickly up
from baseline, run multi-container
workloads, and get fine-grained
network control, without having to
manage our own infrastructure.”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service
for Kubernetes (EKS)
Managed Kubernetes
Control Plane
Upstream and certified
conformant
Native AWS
Integrations
Built with the
community
Global footprint
Highly available
On-demand upgrades
Generally available
in 2018
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
mycluster.eks.amazonaws.com
EKS Worker Nodes
Kubectl
AZ 1 AZ 2 AZ 3
Your AWS account
Amazon EKS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service
for Kubernetes (EKS)
Managed Kubernetes
Control Plane
Upstream and certified
conformant
Native AWS
Integrations
Built with the
community
Global footprint
Highly available
On-demand upgrades
Generally available
in 2018
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Integration: Orchestration
Coordinate the
components of
distributed apps using
visual workflows
AWS Step Functions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monitoring: Amazon Cloudwatch
• Get metrics on
key resources
• Observe
application and
operational health
• Monitor custom
metrics and log files
Monitor
• SNS notifications
• Automated alarm
actions
• Event-driven
corrective actions
Act
• Visualize through
Dashboards
• 1-sec granularity
• Unified
operational view
• 15-months of
data retention
Analyze
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Distributed
Tracing
• Analyze and debug performance of
distributed applications
• View latency distribution and
identify performance bottlenecks
• Ready to use in
production with low
latency in real-time
AWS X-Ray
• Identify specific user impact
across an application
• Works across AWS and
non-AWS services
Key Building Blocks for Success
Containers
+ Functions
Cloud Culture
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Please complete the session survey in
the summit mobile app.
Submit Session Feedback
1. Tap the Schedule icon. 2. Select the session
you attended.
3. Tap Session
Evaluation to submit your
feedback.

Mais conteúdo relacionado

Mais procurados

SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser... SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...Amazon Web Services
 
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Amazon Web Services
 
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right JobAmazon Web Services
 
BDA309 Build Your First Big Data Application on AWS
BDA309 Build Your First Big Data Application on AWSBDA309 Build Your First Big Data Application on AWS
BDA309 Build Your First Big Data Application on AWSAmazon Web Services
 
Develop Containerized Apps with AWS Fargate
Develop Containerized Apps with AWS Fargate Develop Containerized Apps with AWS Fargate
Develop Containerized Apps with AWS Fargate Amazon Web Services
 
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018Amazon Web Services
 
Digital Transformation | AWS Webinar
Digital Transformation | AWS WebinarDigital Transformation | AWS Webinar
Digital Transformation | AWS WebinarAmazon Web Services
 
Achieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAchieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAmazon Web Services
 
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...Amazon Web Services
 
AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAmazon Web Services
 
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...Amazon Web Services
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceAmazon Web Services
 
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018Amazon Web Services
 
Building Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSBuilding Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSAmazon Web Services
 
How a Major Australian University Brought Backup to the Cloud
 How a Major Australian University Brought Backup to the Cloud How a Major Australian University Brought Backup to the Cloud
How a Major Australian University Brought Backup to the CloudAmazon Web Services
 
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowSRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowAmazon Web Services
 
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Amazon Web Services
 
SRV320 Deep Dive on VMware Cloud on AWS
 SRV320 Deep Dive on VMware Cloud on AWS SRV320 Deep Dive on VMware Cloud on AWS
SRV320 Deep Dive on VMware Cloud on AWSAmazon Web Services
 
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...Amazon Web Services
 

Mais procurados (20)

SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser... SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
SRV327 Replicate, Analyze, and Visualize Data Using Managed Database and Ser...
 
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
 
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 
BDA309 Build Your First Big Data Application on AWS
BDA309 Build Your First Big Data Application on AWSBDA309 Build Your First Big Data Application on AWS
BDA309 Build Your First Big Data Application on AWS
 
Develop Containerized Apps with AWS Fargate
Develop Containerized Apps with AWS Fargate Develop Containerized Apps with AWS Fargate
Develop Containerized Apps with AWS Fargate
 
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
 
Digital Transformation | AWS Webinar
Digital Transformation | AWS WebinarDigital Transformation | AWS Webinar
Digital Transformation | AWS Webinar
 
Achieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAchieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech Talks
 
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
 
Deep dive - AWS Fargate
Deep dive - AWS FargateDeep dive - AWS Fargate
Deep dive - AWS Fargate
 
AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day Israel
 
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...
Increase the Value of Video with ML & Media Services - SRV322 - New York AWS ...
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
Operationalizing Microsoft Workloads (WIN320) - AWS re:Invent 2018
 
Building Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSBuilding Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWS
 
How a Major Australian University Brought Backup to the Cloud
 How a Major Australian University Brought Backup to the Cloud How a Major Australian University Brought Backup to the Cloud
How a Major Australian University Brought Backup to the Cloud
 
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowSRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
 
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
 
SRV320 Deep Dive on VMware Cloud on AWS
 SRV320 Deep Dive on VMware Cloud on AWS SRV320 Deep Dive on VMware Cloud on AWS
SRV320 Deep Dive on VMware Cloud on AWS
 
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
 

Semelhante a SRV205 Architectures and Strategies for Building Modern Applications on AWS

Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Amazon Web Services
 
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...MongoDB
 
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Amazon Web Services
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesVladimir Simek
 
Hybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSHybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSTom Laszewski
 
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018Amazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesAmazon Web Services
 
Una introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSUna introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSAmazon Web Services
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Amazon Web Services
 
Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
 Architect Your Legacy Microsoft Apps into Modern Cloud Workloads Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
Architect Your Legacy Microsoft Apps into Modern Cloud WorkloadsAmazon Web Services
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Amazon Web Services
 
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Amazon Web Services
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAmazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteArun Gupta
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...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
 
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...kreuzwerker GmbH
 
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Boaz Ziniman
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Amazon Web Services
 

Semelhante a SRV205 Architectures and Strategies for Building Modern Applications on AWS (20)

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...
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
 
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...
MongoDB World 2018: Tutorial - How to Build Applications with MongoDB Atlas &...
 
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
Hybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWSHybrid Cloud Customer Use Cases on AWS
Hybrid Cloud Customer Use Cases on AWS
 
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
Migrating Microsoft Applications to AWS like an Expert - AWS Summit Sydney 2018
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
Una introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSUna introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWS
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
 
Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
 Architect Your Legacy Microsoft Apps into Modern Cloud Workloads Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
Architect Your Legacy Microsoft Apps into Modern Cloud Workloads
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
 
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
 
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...
kreuzwerker AWS Modernizing Legacy Operations with Containerized Solutions 20...
 
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction 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 Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
 

Mais de 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
 

Mais 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
 

SRV205 Architectures and Strategies for Building Modern Applications on AWS

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Nathan Peck Developer Advocate, Container Services @nathankpeck SRV205 Architectures and Strategies for Building Modern Applications on AWS
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Primitives of a Application? “…application is container-based” “…dynamically managed…” …microservice oriented…” Modern
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Primitives of a Modern Cloud Native “…application is container-based” “…dynamically managed…” …microservice oriented…” Application?
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Speed Scale Resiliency Why Building Cloud Native Matters
  • 5. Key Building Blocks for Success Containers + Functions Cloud Culture
  • 6. Key Building Blocks for Success Cloud CultureContainers + Functions
  • 7. The fast companies are 440x faster than the slow We found that, compared to low performers, high performers have: 46x more frequent code deployments 440x faster lead time from commit to deploy 96x faster mean time to recover from downtime 5.0x lower change failure rate (changes are 1/5 as likely to fail) Time to Value
  • 9. Low performersHigh performers Deploy frequency (# of deploys per year) 0 400 800 1,200 1,600 2014 2015 2016 2017 Containers Enable Fast Deployments
  • 10. 0 20 40 60 80 100 2014 2015 2016 2017 0 20 30 40 50 60 10 Mean time to recover (hours) Change failure rate (percentage) Low performersHigh performers 2014 2015 2016 2017 Containers Enable Immutable Changes/Rollback
  • 11. Cloud Native Principle #1 Cloud Native Applications enable high functioning organizations to build and ship features faster!
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Building Blocks for Success CultureCloudContainers + Functions
  • 13. Cloud Native Architecture Pay as you go Self- Service Elastic
  • 14. Data Center Native DATA CENTER Architecture
  • 16. Cloud Migration Pay as you go DATACENTER Pay up front and depreciate over three years Pay a month later for the number of seconds used
  • 17. Cloud Native Principle #2 Pay for what you used last month, not what you guess you will need next year. Enable teams to experiment and fail fast, without significant investment.
  • 18. File tickets and wait for every step Self service, on-demand, no delays ! VS !
  • 19. File tickets and wait for every step Self service, on-demand, no delays ! VS !! Deploy by filing a ticket and waiting days or weeks Deploy by making an API call self service within minutes
  • 20. Cloud Native Principle #3 Self service, API driven, automated. Move from request tickets at every step to self-service APIs and tools that empower teams.
  • 21. Elasticity DATA CENTER Hard to get over 10% utilization— need extra capacity in case of peak. CLOUD Target over 40% utilization— and scale on demand for any size workload.
  • 22. Cloud Native Principle #4 Turn it off when it’s idle. Scale for workloads of any size. Many times higher utilization. Huge cost savings.
  • 24. Microservices limit “blast radius” for software incidents Build and deploy loosely coupled services. Enable teams to move fast independently. Reduce blast radius via service and deployment isolation.
  • 25.
  • 26. Cloud Native Principle #5 Microservices reduce blast radius, can improve MTTR, and support globally distributed deployment models.
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Building Blocks for Success CultureCloudContainers + Functions
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “You don’t add innovation to a culture, you get out of its way.” —Adrian Cockcroft, VP Cloud Architecture Strategy, AWS
  • 29. “…teams build software that patterns their organizational structure…” —Conway’s Law Organization Transformation
  • 30. “You build it, you run it.” —Werner Vogels, VP & CTO Amazon.com
  • 31. “Not what happens IF it fails, but what happens WHEN it fails.” —Nora Jones, Author, and Sr. Chaos Engineer at Netflix
  • 32. Principals of Modern, Cloud Native Apps Containers + Functions Cloud Culture
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. So What Does A Modern App Look Like? How you run and interact with it How it integrates How you monitor it
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Bring your own code • Node.js, Java, Python, C#, Go • Bring your own libraries (even native ones) Simple resource model • Select power rating from 128 MB to 3 GB • CPU and network allocated proportionately Flexible use • Synchronous or asynchronous • Integrated with other AWS services Flexible authorization • Securely grant access to resources and VPCs • Fine-grained control for invoking your functions
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Authoring functions • WYSIWYG editor or upload packaged .zip • Third-party plugins (Eclipse, Visual Studio) Monitoring and logging • Metrics for requests, errors, and throttles • Built-in logs to Amazon CloudWatch Logs Programming model • Use processes, threads, /tmp, sockets normally • AWS SDK built in (Python and Node.js) Stateless • Persist data using external storage • No affinity or access to underlying infrastructure
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. FINRA performs 500 Billion validations daily using AWS Lambda “Using AWS Lambda, we’ve increased cost efficiency by a factor of two” —Tim Griesbach, Senior Director of Technology, FINRA
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. … Amazon RDS Incoming files to be audited On-premises data center NAS FTP Controller on EC2 Amazon SQS Amazon SQS Amazon SQS Amazon S3 Logs to CloudWatch Logs Lambda preforms record validations Consumers
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service (ECS) Container-Level Networking Advanced task placement Deep integration with AWS platform ECS CLI…{ } Global footprint Powerful scheduling engines Auto scaling CloudWatch metrics Load balancers
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. McDelivery
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Critical Business Requirements Speed to market Scalability and reliability Multi-country support and integration Cost sensitivity
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Architecture Principles Microservices Containers and orchestration PaaS Synchronous and event based
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS ElastiCache (Redis) Amazon S3 Amazon SQS Auto Scaling Group Multi-AZ Auto Scaling Group Multi-AZ Microservice 1 Microservice 2 Amazon ECS McD API Middleware Third-party Delivery Platforms Menu and Restaurant Master Restaurant Application Load Balancer
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Built entire system in months, all on AWS Out of the box integration and deployment models with ECS simplified DevOps pipeline Open platform that integrates with any restaurant and global delivery partners Over 20K transactions per second, sub 100 millisecond latency Cost effective, even with extremely low transaction values
  • 44. Enable Focus on Applications
  • 46. Simple, easy to use, powerful consumption model Resource based pricing Fargate No instances to manage Container native API
  • 48. Running Containers EC2 Instance TaskTask TaskTask EC2 Instance TaskTask TaskTask EC2 Instance TaskTask TaskTask EC2 Instance TaskTask TaskTask EC2 Instance TaskTask TaskTask
  • 50. Availability Zone #1 Availability Zone #2 Availability Zone #3 Scheduling and Orchestration Cluster Manager Placement Engine Running Containers at Scale with ECS E C S Amazon
  • 51. EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent EC2 Instance ECS AMI Docker agent ECS agent Scheduling and Orchestration Cluster Manager Placement Engine E C S Amazon
  • 52. Get Started in Minutes
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Entire website runs as microservices. Ruby & GraphQL backend with node.js frontend Needed ability to scale quickly, schedule multi- container workloads, network layer control All in on AWS—Moved entire infrastructure to AWS and Fargate in Jan 2018 Fargate scales quickly with traffic spikes, running ~25 tasks at baseline in production
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Public Subnet Private Subnet CDN External ALB Backend Web External API External Frontend Web External Card/Scraper Service Background Job Queues Background Workers Internal ALB Background Web Internal
  • 55. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “We moved to Fargate because we need the ability to scale quickly up from baseline, run multi-container workloads, and get fine-grained network control, without having to manage our own infrastructure.”
  • 56. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service for Kubernetes (EKS) Managed Kubernetes Control Plane Upstream and certified conformant Native AWS Integrations Built with the community Global footprint Highly available On-demand upgrades Generally available in 2018
  • 57. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. mycluster.eks.amazonaws.com EKS Worker Nodes Kubectl AZ 1 AZ 2 AZ 3 Your AWS account Amazon EKS
  • 58. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service for Kubernetes (EKS) Managed Kubernetes Control Plane Upstream and certified conformant Native AWS Integrations Built with the community Global footprint Highly available On-demand upgrades Generally available in 2018
  • 59. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application Integration: Orchestration Coordinate the components of distributed apps using visual workflows AWS Step Functions
  • 60. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Monitoring: Amazon Cloudwatch • Get metrics on key resources • Observe application and operational health • Monitor custom metrics and log files Monitor • SNS notifications • Automated alarm actions • Event-driven corrective actions Act • Visualize through Dashboards • 1-sec granularity • Unified operational view • 15-months of data retention Analyze
  • 61. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Distributed Tracing • Analyze and debug performance of distributed applications • View latency distribution and identify performance bottlenecks • Ready to use in production with low latency in real-time AWS X-Ray • Identify specific user impact across an application • Works across AWS and non-AWS services
  • 62. Key Building Blocks for Success Containers + Functions Cloud Culture
  • 63. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 64. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you!
  • 65. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Please complete the session survey in the summit mobile app.
  • 66. Submit Session Feedback 1. Tap the Schedule icon. 2. Select the session you attended. 3. Tap Session Evaluation to submit your feedback.