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

Jacob Verhoeks
Jacob VerhoeksSystem administrator/Architect à 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 sur 45

Recommandé

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

Contenu connexe

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

VMworld 2013: Virtualized Network Services Model with VMware NSX par
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 vues36 diapositives
CloudStack Overview par
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K vues35 diapositives
Service fabric and azure service fabric mesh par
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 vues31 diapositives
NDev Talk - Serverless Design Patterns par
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design PatternsRyan Green
58 vues27 diapositives
Kaleido Platform Overview and Full-stack Blockchain Services par
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 vues94 diapositives
Open Source Middleware for the Cloud: WSO2 Stratos par
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 vues59 diapositives

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

VMworld 2013: Virtualized Network Services Model with VMware NSX par 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 vues
CloudStack Overview par sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K vues
NDev Talk - Serverless Design Patterns par Ryan Green
NDev Talk - Serverless Design PatternsNDev Talk - Serverless Design Patterns
NDev Talk - Serverless Design Patterns
Ryan Green58 vues
Kaleido Platform Overview and Full-stack Blockchain Services par 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 vues
Open Source Middleware for the Cloud: WSO2 Stratos par 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 vues
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi... par 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...
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks par 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
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart par MongoDB
MongoDB .local Chicago 2019: MongoDB Atlas JumpstartMongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB317 vues
What are clouds made from par John Garbutt
What are clouds made fromWhat are clouds made from
What are clouds made from
John Garbutt806 vues
Container Orchestration with Traefk on Docker Swarm par Jakub Hajek
Container Orchestration with Traefk on Docker SwarmContainer Orchestration with Traefk on Docker Swarm
Container Orchestration with Traefk on Docker Swarm
Jakub Hajek666 vues
Aws 12 Month Free Tier for Web Designers and Developers par 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 vues
Come costruire apllicazioni "12-factor microservices" in AWS par 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 par 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 vues
Cloud Data Strategy event London par MongoDB
Cloud Data Strategy event LondonCloud Data Strategy event London
Cloud Data Strategy event London
MongoDB342 vues
Pace of Innovation at AWS - London Summit Enteprise Track RePlay par 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

Dernier

hamro digital logics.pptx par
hamro digital logics.pptxhamro digital logics.pptx
hamro digital logics.pptxtupeshghimire
11 vues36 diapositives
ATPMOUSE_융합2조.pptx par
ATPMOUSE_융합2조.pptxATPMOUSE_융합2조.pptx
ATPMOUSE_융합2조.pptxkts120898
35 vues70 diapositives
the internet.pptx par
the internet.pptxthe internet.pptx
the internet.pptxSrihariJena
6 vues9 diapositives
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx par
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 vues8 diapositives
WITS Deck par
WITS DeckWITS Deck
WITS DeckW.I.T.S.
37 vues22 diapositives
cis5-Project-11a-Harry Lai par
cis5-Project-11a-Harry Laicis5-Project-11a-Harry Lai
cis5-Project-11a-Harry Laiharrylai126
9 vues11 diapositives

Dernier(15)

ATPMOUSE_융합2조.pptx par kts120898
ATPMOUSE_융합2조.pptxATPMOUSE_융합2조.pptx
ATPMOUSE_융합2조.pptx
kts12089835 vues
Cracking the Code Decoding Leased Line Quotes for Connectivity Excellence.pptx par 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
The Dark Web : Hidden Services par Anshu Singh
The Dark Web : Hidden ServicesThe Dark Web : Hidden Services
The Dark Web : Hidden Services
Anshu Singh23 vues
Penetration Testing for Cybersecurity Professionals par 211 Check
Penetration Testing for Cybersecurity ProfessionalsPenetration Testing for Cybersecurity Professionals
Penetration Testing for Cybersecurity Professionals
211 Check52 vues
40th TWNIC Open Policy Meeting: APNIC PDP update par APNIC
40th TWNIC Open Policy Meeting: APNIC PDP update40th TWNIC Open Policy Meeting: APNIC PDP update
40th TWNIC Open Policy Meeting: APNIC PDP update
APNIC151 vues
40th TWNIC Open Policy Meeting: A quick look at QUIC par APNIC
40th TWNIC Open Policy Meeting: A quick look at QUIC40th TWNIC Open Policy Meeting: A quick look at QUIC
40th TWNIC Open Policy Meeting: A quick look at QUIC
APNIC152 vues
40th TWNIC OPM: On LEOs (Low Earth Orbits) and Starlink Download par APNIC
40th TWNIC OPM: On LEOs (Low Earth Orbits) and Starlink Download40th TWNIC OPM: On LEOs (Low Earth Orbits) and Starlink Download
40th TWNIC OPM: On LEOs (Low Earth Orbits) and Starlink Download
APNIC159 vues
Liberando a produccion con confidencia.pdf par Andres Almiray
Liberando a produccion con confidencia.pdfLiberando a produccion con confidencia.pdf
Liberando a produccion con confidencia.pdf

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