Streaming data using aws serverless in a bank - AWS Community day NL 2023

Jacob Verhoeks
Jacob VerhoeksSystem administrator/Architect
Streaming data
with serverless at
de Volksbank
Bart Monhemius & Jacob Verhoeks
AWS Community Day 2023 , Utrecht
Who’s joined us for?
Streaming data using aws serverless in a bank - AWS Community day NL 2023
Jacob Verhoeks
Techlead – Mission Critical
Engineer @ Schuberg Philis
AWS Community Builder
Bart Monhemius
Solutions Architect – Senior
DevOps Engineer @ de Volksbank
Moving away from the mainframe
Decoupling the mainframe with streams
AWS Cloud and the
Bank
Cloud Strategy
Why Serverless?
Secure Enablement Platform
Landing zone
Cloud strategy
• Cloud first
• SaaS over PaaS over IaaS
• Cloud Native
Serverless – Maximize the work not done
Serverless –
Minimize the
carbon emitted
Serverless –
Enables autonomy
Serverless –
Minimize the
attack surface
Serverless –
Resilient by
default
Enablement
Platform
• Infrastructure as Code
• Terraform Cloud
• Git
• Guardrails, no insecure
config
• Central Network and
Firewall
• Much more
Start Building
• Standard way of working
• Building blocks in terraform
• Reusable modules
• Built-in security
• Easy DTAP
KMS is
your
friend
Customer
Managed
Keys
Strict policy
• Explicit define
Roles that can
encrypt and
decrypt
Exclude
Admin Role
Prevent
Admin
Access
DynamoDB
Encryption at Transit and rest with KMS
This service runs outside VPC and doesn’t have a
resource policy like S3
Can’t block outside access
Add VPC endpoint condition to the KMS key policy,
and make description only from roles inside the vpc.
Backup/Recovery with AWS Backup
Load from S3 only works with empty database
S3
KMS encryption everywhere
Via VPC Endpoints to avoid public
internet
Resource policy that require traffic
through vpc endpoint
• Carefull not to lockout management api calls
• Redshift Spectrum doesn’t support vpc
endpoints
API
Gateway
Only Rest-API supports VPC endpoint
No HTTP (v2) Api Gateway
mTLS support only for public api-
gateway via the custom domain
(cloudfront)
Lambda
Minimal development
overhead
Great for security
Cold starts remain a
challenge
Fargate
Containers without complex infrastructure
Use Secret values to pass environment variables
directly from SSM parameter Store or Secret
Managers
Sidecars, combine containers
ECR Registry with
Inspectorv2 Deepscanning
Streaming
& mTLS
Lambda support only PBES1 for Kafka MTLS
(Des/md5/sha1 from 1990’s)
Eventbridge Pipe (same as lambda)
Glue Streaming
• Missing group.id
• Expensive
Limited Sink Connectors
Implementation
Transaction
datastore
Transaction
datastore
• Low-latency
• High-throughput
• Fault-tolerant
Write Once
Read Many
DynamoDB as (semi-)immutable storage
Streaming
prevents nested
API calls
Aggregate
data
preemptively
CQRS and
read-only
API
Streaming
with
containers
High
throughput:
1.5k msg/s
Near real-time
Autoscaling
Serverless
with Fargate
Fast &
Resilient
Kafka
consumers
Minimizing
resources
with reactive
programming
High throughput
streaming
• At-least-once delivery
• Out-of-order processing
Streaming
with
Lambda?
👍Batching
👍Non-real-time processing
👍Low volumes
👎Lacks good mTLS
REST API
Access
• OpenAPI template
• Separate mTLS proxy
• Still missing in App Mesh
Minimizing Lambda cold starts with Quarkus
AWS Lambda
Lessons
learned
with
Lambda
Minimize I/O
Don't chain Lambda functions
Use containers for complex
operations
Needs a mTLS proxy
OpenTelemetry
– Flexible
observability
Cost
• Only the first CloudTrail is free
• The CloudTrail cost is higher than the
workload. KMS/ DynamoDB audit lines
• DynamoDB Auto-scale is costly on
startup but low after that with billion
records. InfrequentAccess can save
even more.
• Spot and auto scale to 0, save cost on
the non-prod environments
Conclusion
SERVERLESS WORKS FOR A HIGH
TRAFFIC IMPORTANT FINANCIAL
APPLICATION
ABLE TO PARSE HUGE PEAK LOADS
WITH A GOOD MONTHLY COSTS
ERRORS / THROTTLING / TIMEOUTS
ARE VERY LIMITED WITH THE FAST
AUTOSCALE DYNAMODB.
GREAT PROJECT, PUSHING THE
TECHNOLOGY BOUNDARIES AND
COMPLEMENT EACH OTHER TEAMS'
STRENGTH.
Future
AWS AppSync
Advanced search
• Full-text fuzzy search
• NLP/AI search
• DynamoDB Streams
Technical improvements
Streaming with
Lambda
AWS Graviton
Lambda
SnapStart
Questions?
Connect with us!
https://www.linkedin.com/in/jacobverhoeks
https://www.linkedin.com/in/bmonhemius
Looking for a new job?
1 of 45

Recommended

Virtualization and cloud computing by
Virtualization and cloud computingVirtualization and cloud computing
Virtualization and cloud computingDeep Gupta
2.5K views42 slides
Cloud Migration and Portability Best Practices by
Cloud Migration and Portability Best PracticesCloud Migration and Portability Best Practices
Cloud Migration and Portability Best PracticesRightScale
1.6K views34 slides
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202) by
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)Amazon Web Services
2.1K views37 slides
Amazon Web Services Architecture - An Overview by
Amazon Web Services Architecture - An OverviewAmazon Web Services Architecture - An Overview
Amazon Web Services Architecture - An OverviewScott Weber
3.6K views18 slides
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart by
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB
212 views15 slides
Hacking apache cloud stack by
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
5.7K views58 slides

More Related Content

Similar to Streaming data using aws serverless in a bank - AWS Community day NL 2023

VMworld 2013: Virtualized Network Services Model with VMware NSX by
VMworld 2013: Virtualized Network Services Model with VMware NSX VMworld 2013: Virtualized Network Services Model with VMware NSX
VMworld 2013: Virtualized Network Services Model with VMware NSX VMworld
1.9K views36 slides
CloudStack Overview by
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K views35 slides
Service fabric and azure service fabric mesh by
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric meshMikkel Mørk Hegnhøj
112 views31 slides
NDev Talk - Serverless Design Patterns by
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsRyan Green
58 views27 slides
Kaleido Platform Overview and Full-stack Blockchain Services by
Kaleido Platform Overview and Full-stack Blockchain ServicesKaleido Platform Overview and Full-stack Blockchain Services
Kaleido Platform Overview and Full-stack Blockchain ServicesPeter Broadhurst
1.1K views94 slides
Open Source Middleware for the Cloud: WSO2 Stratos by
Open Source Middleware for the Cloud: WSO2 StratosOpen Source Middleware for the Cloud: WSO2 Stratos
Open Source Middleware for the Cloud: WSO2 StratosWSO2
1.3K views59 slides

Similar to Streaming data using aws serverless in a bank - AWS Community day NL 2023(20)

VMworld 2013: Virtualized Network Services Model with VMware NSX by VMworld
VMworld 2013: Virtualized Network Services Model with VMware NSX VMworld 2013: Virtualized Network Services Model with VMware NSX
VMworld 2013: Virtualized Network Services Model with VMware NSX
VMworld1.9K views
CloudStack Overview by sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K views
NDev Talk - Serverless Design Patterns by Ryan Green
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green58 views
Kaleido Platform Overview and Full-stack Blockchain Services by Peter Broadhurst
Kaleido Platform Overview and Full-stack Blockchain ServicesKaleido Platform Overview and Full-stack Blockchain Services
Kaleido Platform Overview and Full-stack Blockchain Services
Peter Broadhurst1.1K views
Open Source Middleware for the Cloud: WSO2 Stratos by WSO2
Open Source Middleware for the Cloud: WSO2 StratosOpen Source Middleware for the Cloud: WSO2 Stratos
Open Source Middleware for the Cloud: WSO2 Stratos
WSO21.3K views
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi... by Amazon Web Services
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
Amazon Web Services3.8K views
Event Detection Pipelines with Apache Kafka by DataWorks Summit
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache Kafka
DataWorks Summit5K views
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks by Amazon Web Services
Deep Dive on AWS Lambda - January 2017 AWS Online Tech TalksDeep Dive on AWS Lambda - January 2017 AWS Online Tech Talks
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks
Amazon Web Services5.9K views
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart by MongoDB
MongoDB .local Chicago 2019: MongoDB Atlas JumpstartMongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB317 views
What are clouds made from by John Garbutt
What are clouds made fromWhat are clouds made from
What are clouds made from
John Garbutt806 views
Container Orchestration with Traefk on Docker Swarm by Jakub Hajek
Container Orchestration with Traefk on Docker SwarmContainer Orchestration with Traefk on Docker Swarm
Container Orchestration with Traefk on Docker Swarm
Jakub Hajek666 views
Aws 12 Month Free Tier for Web Designers and Developers by Dylan Burris
Aws 12 Month Free Tier for Web Designers and DevelopersAws 12 Month Free Tier for Web Designers and Developers
Aws 12 Month Free Tier for Web Designers and Developers
Dylan Burris667 views
Come costruire apllicazioni "12-factor microservices" in AWS by Amazon Web Services
Come costruire apllicazioni "12-factor microservices" in AWSCome costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWS
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux by John Burwell
Better, faster, cheaper infrastructure with apache cloud stack and riak cs reduxBetter, faster, cheaper infrastructure with apache cloud stack and riak cs redux
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux
John Burwell710 views
Cloud Data Strategy event London by MongoDB
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
MongoDB342 views
Pace of Innovation at AWS - London Summit Enteprise Track RePlay by Amazon Web Services
Pace of Innovation at AWS - London Summit Enteprise Track RePlayPace of Innovation at AWS - London Summit Enteprise Track RePlay
Pace of Innovation at AWS - London Summit Enteprise Track RePlay
Amazon Web Services6.3K views
AWS August Webinar Series - Services Overview by Amazon Web Services
AWS August Webinar Series - Services Overview AWS August Webinar Series - Services Overview
AWS August Webinar Series - Services Overview
Amazon Web Services6.6K views

Recently uploaded

UiPath Document Understanding_Day 3.pptx by
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptxUiPathCommunity
95 views25 slides
google forms survey (1).pptx by
google forms survey (1).pptxgoogle forms survey (1).pptx
google forms survey (1).pptxMollyBrown86
14 views10 slides
childcare.pdf by
childcare.pdfchildcare.pdf
childcare.pdffatma alnaqbi
14 views4 slides
IETF 118: Starlink Protocol Performance by
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol PerformanceAPNIC
124 views22 slides
Is Entireweb better than Google by
Is Entireweb better than GoogleIs Entireweb better than Google
Is Entireweb better than Googlesebastianthomasbejan
10 views1 slide
Serverless cloud architecture patterns by
Serverless cloud architecture patternsServerless cloud architecture patterns
Serverless cloud architecture patternsJimmy Dahlqvist
17 views52 slides

Recently uploaded(20)

UiPath Document Understanding_Day 3.pptx by UiPathCommunity
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptx
UiPathCommunity95 views
google forms survey (1).pptx by MollyBrown86
google forms survey (1).pptxgoogle forms survey (1).pptx
google forms survey (1).pptx
MollyBrown8614 views
IETF 118: Starlink Protocol Performance by APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC124 views
Serverless cloud architecture patterns by Jimmy Dahlqvist
Serverless cloud architecture patternsServerless cloud architecture patterns
Serverless cloud architecture patterns
Jimmy Dahlqvist17 views
Building trust in our information ecosystem: who do we trust in an emergency by Tina Purnat
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergency
Tina Purnat85 views
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲 by Infosec train
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
Infosec train7 views
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf by RIPE NCC
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
RIPE NCC15 views
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf by RIPE NCC
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
RIPE NCC9 views
Existing documentaries (1).docx by MollyBrown86
Existing documentaries (1).docxExisting documentaries (1).docx
Existing documentaries (1).docx
MollyBrown8613 views
AI Powered event-driven translation bot by Jimmy Dahlqvist
AI Powered event-driven translation botAI Powered event-driven translation bot
AI Powered event-driven translation bot
Jimmy Dahlqvist16 views
PORTFOLIO 1 (Bret Michael Pepito).pdf by brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04107 views

Streaming data using aws serverless in a bank - AWS Community day NL 2023