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

Jacob Verhoeks
Jacob VerhoeksSystem administrator/Architect en 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 de 45

Recomendados

Virtualization and cloud computing por
Virtualization and cloud computingVirtualization and cloud computing
Virtualization and cloud computingDeep Gupta
2.5K vistas42 diapositivas
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 vistas34 diapositivas
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 vistas37 diapositivas
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 vistas18 diapositivas
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 vistas15 diapositivas
Hacking apache cloud stack por
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
5.7K vistas58 diapositivas

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 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 vistas36 diapositivas
CloudStack Overview por
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K vistas35 diapositivas
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 vistas31 diapositivas
NDev Talk - Serverless Design Patterns por
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsRyan Green
58 vistas27 diapositivas
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 vistas94 diapositivas
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 vistas59 diapositivas

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 vistas
CloudStack Overview por sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K vistas
NDev Talk - Serverless Design Patterns por Ryan Green
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green58 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
What are clouds made from por John Garbutt
What are clouds made fromWhat are clouds made from
What are clouds made from
John Garbutt806 vistas
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 vistas
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 Burris668 vistas
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 vistas
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 Burwell711 vistas
Cloud Data Strategy event London por MongoDB
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
MongoDB342 vistas
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 vistas
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 vistas

Último

The Dark Web : Hidden Services por
The Dark Web : Hidden ServicesThe Dark Web : Hidden Services
The Dark Web : Hidden ServicesAnshu Singh
19 vistas24 diapositivas
ATPMOUSE_융합2조.pptx por
ATPMOUSE_융합2조.pptxATPMOUSE_융합2조.pptx
ATPMOUSE_융합2조.pptxkts120898
35 vistas70 diapositivas
WITS Deck por
WITS DeckWITS Deck
WITS DeckW.I.T.S.
27 vistas22 diapositivas
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx por
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptxCracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptxLeasedLinesQuote
5 vistas8 diapositivas
Amine el bouzalimi por
Amine el bouzalimiAmine el bouzalimi
Amine el bouzalimiAmine EL BOUZALIMI
5 vistas38 diapositivas
How to think like a threat actor for Kubernetes.pptx por
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptxLibbySchulze1
7 vistas33 diapositivas

Último(10)

The Dark Web : Hidden Services por Anshu Singh
The Dark Web : Hidden ServicesThe Dark Web : Hidden Services
The Dark Web : Hidden Services
Anshu Singh19 vistas
ATPMOUSE_융합2조.pptx por kts120898
ATPMOUSE_융합2조.pptxATPMOUSE_융합2조.pptx
ATPMOUSE_융합2조.pptx
kts12089835 vistas
WITS Deck por W.I.T.S.
WITS DeckWITS Deck
WITS Deck
W.I.T.S.27 vistas
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx por LeasedLinesQuote
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptxCracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx
LeasedLinesQuote5 vistas
How to think like a threat actor for Kubernetes.pptx por LibbySchulze1
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptx
LibbySchulze17 vistas
cis5-Project-11a-Harry Lai por harrylai126
cis5-Project-11a-Harry Laicis5-Project-11a-Harry Lai
cis5-Project-11a-Harry Lai
harrylai1269 vistas

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