Jason Wadsworth: Step Up Your SaaS Game: Serverless Orchestration and Automation for SaaS

awschicago 32 views 26 slides Jun 25, 2024
Slide 1
Slide 1 of 26
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26

About This Presentation

AWS Community Day Midwest 2024
Jason Wadsworth
Step Up Your SaaS Game: Serverless Orchestration and Automation for SaaS


Slide Content

MIDWEST | OHIO

Step Up Your SaaS Game
Serverless Orchestration and Automation for SaaS
Jason Wadsworth

Agenda
•Lambda-less AppSync for SaaS
•Tenant provisioning
•Multi-account tenant provisioning

Jason Wadsworth
Chief Architect - Armanino
•Fifth year AWS Community Builder
•Over 20 years building software,
with over 13 years using AWS
•Startup junky
•SaaS enthusiast
•Serverless lover

Lambda-Less AppSync for SaaS

AppSync Direct Integrations
AppSync DynamoDB

SaaS Needs a Lambda Function
AppSync Lambda DynamoDB
STS
Custom Authorizer

Cross Account Tasks in Step Functions
Step Functions
Task 1
Task 2
Task 3
STS

Step Functions With AppSync
AppSync Step Functions DynamoDB
STS
Custom Authorizer

•Every tenant must have its own role
•There hard account limits on roles
•Changes to the roles needs to be managed
•DynamoDB mapping isn’t as easy as AppSync’s direct
integration
Things To Be Aware Of

Tenant Provisioning

How I’ve Done It in the Past
EventBridge Lambda SDKs

Problems with This Approach
•Different than what you’re used to (CDK)
•Difficult to see what belongs to a tenant
•Updates are challenging

A Better Option
CDK S3 EventBridge Step Functions CloudFormation

Multi-Account Tenant Provisioning

Cross account role for the task

What Didn’t Work with That Approach
•Didn’t allow for rolling deployments
•Multi-account, multi-region,
CloudFormation is complicated!

Another Way
CDK S3 EventBridge Step Functions CloudFormation
Account 1
CDK S3 EventBridge Step Functions CloudFormation
Account 2

Recap
•Step Functions can be used in tenant specific
workflows in a way that supports data protection
•Step Functions are a great way to manage tenant
specific resources with CDK and CloudFormation
•Managing tenant specific resources in a multi-account
system doesn’t have to be complicated

Thanks!

What’s included