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

Jacob Verhoeks
Jacob VerhoeksSystem administrator/Architect um Waterlandziekenhuis
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 von 45

Recomendados

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

Más contenido 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 von
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 Folien
CloudStack Overview von
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K views35 Folien
Service fabric and azure service fabric mesh von
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 Folien
NDev Talk - Serverless Design Patterns von
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsRyan Green
58 views27 Folien
Kaleido Platform Overview and Full-stack Blockchain Services von
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 Folien
Open Source Middleware for the Cloud: WSO2 Stratos von
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 Folien

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 von 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 von sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K views
NDev Talk - Serverless Design Patterns von 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 von 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 von 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... von 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 von 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 von 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 von 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 von 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 von 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 von 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 von 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 von 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 von 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 von 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 von 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

Último

UiPath Document Understanding_Day 2.pptx von
UiPath Document Understanding_Day 2.pptxUiPath Document Understanding_Day 2.pptx
UiPath Document Understanding_Day 2.pptxRohitRadhakrishnan8
292 views21 Folien
IETF 118: Starlink Protocol Performance von
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol PerformanceAPNIC
186 views22 Folien
zotabet.pdf von
zotabet.pdfzotabet.pdf
zotabet.pdfzotabetcasino
6 views1 Folie
OMS: Diretrizes para um controle da promoção comercial dos ditos substitutos ... von
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 Carvalho
88 views24 Folien
information von
informationinformation
informationkhelgishekhar
8 views4 Folien
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf von
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.pdfRIPE NCC
15 views11 Folien

Último(20)

IETF 118: Starlink Protocol Performance von APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC186 views
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf von 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
UiPath Document Understanding_Day 3.pptx von UiPathCommunity
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptx
UiPathCommunity101 views
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf von 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
PORTFOLIO 1 (Bret Michael Pepito).pdf von brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04107 views
AI Powered event-driven translation bot von Jimmy Dahlqvist
AI Powered event-driven translation botAI Powered event-driven translation bot
AI Powered event-driven translation bot
Jimmy Dahlqvist16 views
We see everywhere that many people are talking about technology.docx von 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 views
Building trust in our information ecosystem: who do we trust in an emergency von 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 views
Existing documentaries (1).docx von MollyBrown86
Existing documentaries (1).docxExisting documentaries (1).docx
Existing documentaries (1).docx
MollyBrown8613 views
google forms survey (1).pptx von MollyBrown86
google forms survey (1).pptxgoogle forms survey (1).pptx
google forms survey (1).pptx
MollyBrown8614 views

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