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 de 45

Recomendados

Virtualization and cloud computing por
Virtualization and cloud computingVirtualization and cloud computing
Virtualization and cloud computingDeep Gupta
2.5K visualizações42 slides
Cloud Migration and Portability Best Practices por
Cloud Migration and Portability Best PracticesCloud Migration and Portability Best Practices
Cloud Migration and Portability Best PracticesRightScale
1.6K visualizações34 slides
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202) por
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 visualizações37 slides
Amazon Web Services Architecture - An Overview por
Amazon Web Services Architecture - An OverviewAmazon Web Services Architecture - An Overview
Amazon Web Services Architecture - An OverviewScott Weber
3.6K visualizações18 slides
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart por
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Toronto 2019: MongoDB Atlas JumpstartMongoDB
212 visualizações15 slides
Hacking apache cloud stack por
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
5.7K visualizações58 slides

Mais conteúdo relacionado

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

VMworld 2013: Virtualized Network Services Model with VMware NSX por
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 visualizações36 slides
CloudStack Overview por
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K visualizações35 slides
Service fabric and azure service fabric mesh por
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 visualizações31 slides
NDev Talk - Serverless Design Patterns por
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsRyan Green
58 visualizações27 slides
Kaleido Platform Overview and Full-stack Blockchain Services por
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 visualizações94 slides
Open Source Middleware for the Cloud: WSO2 Stratos por
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 visualizações59 slides

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

VMworld 2013: Virtualized Network Services Model with VMware NSX por 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 visualizações
CloudStack Overview por sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K visualizações
Service fabric and azure service fabric mesh por Mikkel Mørk Hegnhøj
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric mesh
Mikkel Mørk Hegnhøj112 visualizações
NDev Talk - Serverless Design Patterns por Ryan Green
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green58 visualizações
Kaleido Platform Overview and Full-stack Blockchain Services por 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 visualizações
Open Source Middleware for the Cloud: WSO2 Stratos por 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 visualizações
Picking a message queue por Vladislav Kirshtein
Picking a  message queuePicking a  message queue
Picking a message queue
Vladislav Kirshtein540 visualizações
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi... por 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 visualizações
Event Detection Pipelines with Apache Kafka por DataWorks Summit
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache Kafka
DataWorks Summit5K visualizações
Jelastic for Hosting & MSP por Dmitry Lazarenko
Jelastic for Hosting & MSPJelastic for Hosting & MSP
Jelastic for Hosting & MSP
Dmitry Lazarenko510 visualizações
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks por 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 visualizações
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart por MongoDB
MongoDB .local Chicago 2019: MongoDB Atlas JumpstartMongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB317 visualizações
What are clouds made from por John Garbutt
What are clouds made fromWhat are clouds made from
What are clouds made from
John Garbutt806 visualizações
Container Orchestration with Traefk on Docker Swarm por Jakub Hajek
Container Orchestration with Traefk on Docker SwarmContainer Orchestration with Traefk on Docker Swarm
Container Orchestration with Traefk on Docker Swarm
Jakub Hajek666 visualizações
Aws 12 Month Free Tier for Web Designers and Developers por 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 visualizações
Come costruire apllicazioni "12-factor microservices" in AWS por 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
Amazon Web Services657 visualizações
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux por 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 visualizações
Cloud Data Strategy event London por MongoDB
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
MongoDB342 visualizações
Pace of Innovation at AWS - London Summit Enteprise Track RePlay por 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 visualizações
AWS August Webinar Series - Services Overview por 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 visualizações

Último

Sustainable Marketing por
Sustainable MarketingSustainable Marketing
Sustainable MarketingTheo van der Zee
10 visualizações50 slides
AI Powered event-driven translation bot por
AI Powered event-driven translation botAI Powered event-driven translation bot
AI Powered event-driven translation botJimmy Dahlqvist
16 visualizações31 slides
Audience profile.pptx por
Audience profile.pptxAudience profile.pptx
Audience profile.pptxMollyBrown86
12 visualizações2 slides
DU Series - Day 4.pptx por
DU Series - Day 4.pptxDU Series - Day 4.pptx
DU Series - Day 4.pptxUiPathCommunity
100 visualizações28 slides
WEB 2.O TOOLS: Empowering education.pptx por
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptxnarmadhamanohar21
16 visualizações16 slides
information por
informationinformation
informationkhelgishekhar
8 visualizações4 slides

Último(20)

Sustainable Marketing por Theo van der Zee
Sustainable MarketingSustainable Marketing
Sustainable Marketing
Theo van der Zee10 visualizações
AI Powered event-driven translation bot por Jimmy Dahlqvist
AI Powered event-driven translation botAI Powered event-driven translation bot
AI Powered event-driven translation bot
Jimmy Dahlqvist16 visualizações
Audience profile.pptx por MollyBrown86
Audience profile.pptxAudience profile.pptx
Audience profile.pptx
MollyBrown8612 visualizações
DU Series - Day 4.pptx por UiPathCommunity
DU Series - Day 4.pptxDU Series - Day 4.pptx
DU Series - Day 4.pptx
UiPathCommunity100 visualizações
WEB 2.O TOOLS: Empowering education.pptx por narmadhamanohar21
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptx
narmadhamanohar2116 visualizações
information por khelgishekhar
informationinformation
information
khelgishekhar8 visualizações
PORTFOLIO 1 (Bret Michael Pepito).pdf por brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04107 visualizações
IETF 118: Starlink Protocol Performance por APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC186 visualizações
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲 por Infosec train
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
Infosec train9 visualizações
We see everywhere that many people are talking about technology.docx por ssuserc5935b
We see everywhere that many people are talking about technology.docxWe see everywhere that many people are talking about technology.docx
We see everywhere that many people are talking about technology.docx
ssuserc5935b6 visualizações
Existing documentaries (1).docx por MollyBrown86
Existing documentaries (1).docxExisting documentaries (1).docx
Existing documentaries (1).docx
MollyBrown8613 visualizações
google forms survey (1).pptx por MollyBrown86
google forms survey (1).pptxgoogle forms survey (1).pptx
google forms survey (1).pptx
MollyBrown8614 visualizações
childcare.pdf por fatma alnaqbi
childcare.pdfchildcare.pdf
childcare.pdf
fatma alnaqbi14 visualizações
Serverless cloud architecture patterns por Jimmy Dahlqvist
Serverless cloud architecture patternsServerless cloud architecture patterns
Serverless cloud architecture patterns
Jimmy Dahlqvist17 visualizações
zotabet.pdf por zotabetcasino
zotabet.pdfzotabet.pdf
zotabet.pdf
zotabetcasino6 visualizações
UiPath Document Understanding_Day 3.pptx por UiPathCommunity
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptx
UiPathCommunity101 visualizações
UiPath Document Understanding_Day 2.pptx por RohitRadhakrishnan8
UiPath Document Understanding_Day 2.pptxUiPath Document Understanding_Day 2.pptx
UiPath Document Understanding_Day 2.pptx
RohitRadhakrishnan8292 visualizações
Building trust in our information ecosystem: who do we trust in an emergency por 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 Purnat92 visualizações
OMS: Diretrizes para um controle da promoção comercial dos ditos substitutos ... por Prof. Marcus Renato de Carvalho
OMS: Diretrizes para um controle da promoção comercial dos ditos substitutos ...OMS: Diretrizes para um controle da promoção comercial dos ditos substitutos ...
OMS: Diretrizes para um controle da promoção comercial dos ditos substitutos ...
Prof. Marcus Renato de Carvalho88 visualizações
Is Entireweb better than Google por sebastianthomasbejan
Is Entireweb better than GoogleIs Entireweb better than Google
Is Entireweb better than Google
sebastianthomasbejan12 visualizações

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