Slides & transcript

Cruise to Cloud Native: Chapter 2. Improving your toolset. Profiting from containers and serverless functions.

← Back to the appearance

Slide 1

Slide 1
Cruise to Cloud Native: Chapter 2 Improving your toolset. Profiting from containers and serverless functions

Slide 2

Slide 2
Hahnara Hyun Solutions Architect at AWS Daniel Maher Technical Evangelist at Datadog @phrawzty Ara Pulido Technical Evangelist at Datadog @arapulido

Slide 3

Slide 3
Cruise to Cloud Native in 3 episodes Episode 1: From bare-metal to AWS (7 May) Episode 2: Getting more from advanced services (Today!) Episode 3: Bringing your company onboard! (8 June)

Slide 4

Slide 4
Traditional three-tier application architecture Web servers Presentation layers Application servers Business logic Database servers Data layer © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 4

Slide 5

Slide 5
How can we innovate faster? © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 5

Slide 6

Slide 6
What do our customers want in a modern application? Reliability Flexibility Security and isolation by design © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 6

Slide 7

Slide 7
Traditional three-tier application architecture Web servers Presentation layers Application servers Business logic Database servers Data layer © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 7

Slide 8

Slide 8
Modern application architecture Presentation Events Events Business logic APIs Queues/messages Data © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 8

Slide 9

Slide 9
Let’s zoom out APIs APIs APIs APIs APIs © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 9

Slide 10

Slide 10
Deployment: Monolith development lifecycle developers services delivery pipelines build test release monitor © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 10

Slide 11

Slide 11
Deployment: Microservice development lifecycle developers services delivery pipelines build test release monitor build test release monitor build test release monitor build test release monitor build test release monitor build test release monitor © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 11

Slide 12

Slide 12
Modern application architecture Presentation Events Events Business logic APIs Queues/messages Data © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 12

Slide 13

Slide 13
Compute and Operations More AWS Lambda Serverless functions AWS manages Customer manages Data source integrations Application code Physical hardware, software, networking, and facilities Provisioning Application code Opinionated Container orchestration, provisioning AWS Fargate Cluster scaling Data source integrations Serverless containers Physical hardware, host OS/kernel, networking, and facilities Security config and updates Network config Management tasks Application code Amazon ECS/EKS Container-management -as-a-service Container orchestration control plane Physical hardware software, networking, and facilities Data source integrations Work clusters Security config and updates, network config, firewall, management tasks Application code Amazon EC2 Physical hardware software, networking, and facilities Infrastructure-as-a-Service Les s © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data source integrations Scaling Security config and updates Network config Management tasks Provisioning, managing scaling and patching of servers 13

Slide 14

Slide 14
Lego uses an event-driven design Login Customer login Commerce platform Order & customer updates Event relay Shipping Customer login Invoke every minute Events Order complete Amazon EventBridge Data sync Customer, VIP, wishlist sync Customer login FIFO queue Payment Payment authorized Checkout Submit order Send order to SAP Authorize payment Order Order submit Order complete Process order © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 14

Slide 15

Slide 15
Purpose-built databases at AWS Relational Aurora RD S Key value Document In-memory Graph Time series Ledger Wide column DynamoDB DocumentDB ElastiCache Neptune Timestream QLDB Managed Cassandra © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 15

Slide 16

Slide 16
Risk of introducing changes …may result in unavailability, reduced performance, adoption Applications Environmen t Features © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 16

Slide 17

Slide 17
Monitor for reliable service health during re-platforming © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 17

Slide 18

Slide 18
Observability

Slide 19

Slide 19
Review from ep1: Observability

Slide 20

Slide 20
Four Golden Signals

Slide 21

Slide 21
Four Golden Signals Latency Traffic Errors Saturation

Slide 22

Slide 22
Four Golden Signals: Latency ● Direct impact on customer experience. ● Where and how you measure is key.

Slide 23

Slide 23
Four Golden Signals: Traffic ● The amount of work being done—or attempted. ● Direct relationship to business value.

Slide 24

Slide 24
Four Golden Signals: Errors ● A nice, defined target to aim at. ● Direct impact on customer experience.

Slide 25

Slide 25
Four Golden Signals: Saturation ● Honestly, this is a tricky one. :) ● Direct relationship to both scaling and capacity planning.

Slide 26

Slide 26
Traces and APM

Slide 27

Slide 27

Slide 28

Slide 28

Slide 29

Slide 29
S4 S1 S2 S3 S5

Slide 30

Slide 30
TRACE S1 S2 S3 SPANS S4 S5

Slide 31

Slide 31
Demo

Slide 32

Slide 32

Slide 33

Slide 33

Slide 34

Slide 34