Slide 1

Slide 1 text

Cloud & AI Conference 2023 Asia's Largest 17 - 18, November 2023 IIT Madras Research Park, Chennai

Slide 2

Slide 2 text

👋 I’m Jones Zachariah Noel N (zachjonesnoel) 🥑 Senior Developer Advocate @ Freshworks ☁ AWS Serverless Hero ⚡ Serverless architect 🚀 AWS UG Bengaluru co-organizer 󰞵 Runs newsletter / blog on The Serverless Terminal ▶ Co-run The Zacs’ Show Talking AWS podcast

Slide 3

Slide 3 text

Building on AWS Serverless with the lens of orchestration and choreography Jones Zachariah Noel N

Slide 4

Slide 4 text

Microservices Event driven architectures

Slide 5

Slide 5 text

Orchestration as a pattern Image generated on Amazon Bedrock using Stability AI Tenor GIF

Slide 6

Slide 6 text

Orchestration as a pattern Centralized control Scalability Monitoring

Slide 7

Slide 7 text

Orchestration in AWS Serverless AWS Step Functions Supports 1000+ API actions across different AWS services

Slide 8

Slide 8 text

Orchestration in AWS Serverless Serverless orchestration of workflows Integrates with different AWS Services

Slide 9

Slide 9 text

Orchestration in AWS Serverless Defined with Amazon States Language (ASL) Visual workflow studio

Slide 10

Slide 10 text

Orchestration in AWS Serverless Multiple types / combinations of flows supported Supports synchronous and asynchronous API actions

Slide 11

Slide 11 text

Orchestration in AWS Serverless Support of intrinsic functions Pay per state machine execution

Slide 12

Slide 12 text

Orchestration Demo

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Choreography as a pattern Image generated on Amazon Bedrock using Stability AI Tenor GIF

Slide 15

Slide 15 text

Choreography as a pattern Loosely coupled Scalability Flexibility

Slide 16

Slide 16 text

Choreography as a pattern Amazon EventBridge Supports different destinations as different AWS Services and API Endpoints

Slide 17

Slide 17 text

EventBridge Buses

Slide 18

Slide 18 text

EventBridge Pipes

Slide 19

Slide 19 text

EventBridge Schedulers

Slide 20

Slide 20 text

Choreography with Amazon EventBridge Asynchronous messaging Decoupled architectures Event rules

Slide 21

Slide 21 text

Choreography with Amazon EventBridge Archive and replay Integrations with AWS & External Filtering and enrichments

Slide 22

Slide 22 text

Choreography with Amazon EventBridge and SaaS integrations

Slide 23

Slide 23 text

Choreography with Amazon EventBridge Real-time sync No frequent polling Overcoming API limits

Slide 24

Slide 24 text

Serverless workload of orchestration and choreography with SaaS integration

Slide 25

Slide 25 text

Orchestration v/s Choreography? Orchestration Choreography Control Centralized control for workflow execution No central control instead a bus for flow of events Complexity Works for both simple and complex workflows Simple event driven process Error Handling and Retry Supports native error handling and retry Distributed error handling Scalability Highly scalable but need to adhere to different limitations during the workflow Highly scalable as each service can scale independently Latency Possible latency because of dependencies Low latency Cost Efficiency Depends on the workflow and type of workflow Pay only for usage of resources

Slide 26

Slide 26 text

What’s best? Orchestration or Choreography?

Slide 27

Slide 27 text

Orchestration with Choreography Demo

Slide 28

Slide 28 text

Image recognition workflow using orchestration and choreography

Slide 29

Slide 29 text

Image recognition workflow using orchestration and choreography

Slide 30

Slide 30 text

Image recognition workflow using orchestration and choreography

Slide 31

Slide 31 text

Thank you! https://zachjonesnoel.com @zachjonesnoel https://theserverlessterminal.com jones-zachariah-noel-n

Slide 32

Slide 32 text

Gold Partner Silver Partner