STEP ON IT!
Rapid Event-Based AWS Cost Control
With Step Functions
Damien Jones (he/him)
AWS Consultant @ Steamhaus
2025-04-02 DevOps Manchester x DTX Manchester
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
MY AWS ACCOUNT
Slide 7
Slide 7 text
MY BILL
Slide 8
Slide 8 text
LOL ROFL LMAO ETC
Slide 9
Slide 9 text
NOPE
Slide 10
Slide 10 text
AGENDA
WHY DID THIS
HAPPEN? WHAT DID I DO? HOW DID I BUILD IT?
Slide 11
Slide 11 text
BUT FIRST
Hi.
Slide 12
Slide 12 text
AWS Consultant Content Creator
Dog Dad
Steam h au s UK amaz o n web s h a r k .c o m
to this noodle
AWS Certified
x3
Slide 13
Slide 13 text
AWS User Group Leader
AWS Community Builder
Lanca s h ir e UK
D ata Categ or y
Slide 14
Slide 14 text
WHY DID THIS
HAPPEN?
Slide 15
Slide 15 text
AWS GLUE
Slide 16
Slide 16 text
COSTS: 2024 JUNE
Slide 17
Slide 17 text
COSTS: 2024 H1
Slide 18
Slide 18 text
COSTS: 2024 JUNE
Slide 19
Slide 19 text
COST & USAGE: API OPERATION
Slide 20
Slide 20 text
COST & USAGE: API OPERATION - TAX
Slide 21
Slide 21 text
COST: API OPERATION – GLUE JOB RUN
Slide 22
Slide 22 text
COST: API OPERATION – GLUE INTERACTIVE
SESSION
Slide 23
Slide 23 text
COST & USAGE: API OPERATIONS
Slide 24
Slide 24 text
COST & USAGE: API OPERATIONS
Slide 25
Slide 25 text
WHAT’S AN
INTERACTIVE
SESSION?
Slide 26
Slide 26 text
No content
Slide 27
Slide 27 text
COST DRIVER #1:
OPEN SESSIONS
Slide 28
Slide 28 text
COST DRIVER: ACTIVE SESSION
Slide 29
Slide 29 text
COST DRIVER: ACTIVE SESSION
Slide 30
Slide 30 text
COST DRIVER #2:
MULTIPLE
SESSIONS
Slide 31
Slide 31 text
COST DRIVER: MULTIPLE SESSIONS
ONE TAB ONE SESSION
ONE BILLABLE
RESOURCE
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
COST DRIVER: MULTIPLE SESSIONS
MANY TABS MANY SESSIONS
MANY BILLABLE
RESOURCES!
Slide 34
Slide 34 text
THE CAUSE
Slide 35
Slide 35 text
WHAT DID I DO?
Slide 36
Slide 36 text
OPTION ONE:
PARAMETER ADJUSTMENT
Change the timeout value manually.
Slide 37
Slide 37 text
No content
Slide 38
Slide 38 text
OPTION TWO:
DENY PERMISSIONS
Stop anyone from starting a session.
Slide 39
Slide 39 text
PERMISSION BLOCKING
Slide 40
Slide 40 text
LOCAL SESSIONS
Slide 41
Slide 41 text
LOCAL SESSIONS
Slide 42
Slide 42 text
OPTION THREE:
EVENT-BASED AUTOMATION
Automate all the things.