SlideShare a Scribd company logo
1 of 31
Download to read offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Transforming Consumer Banking
with a 100% Cloud-Based Bank
Megan Caywood
Chief Platform Officer
Starling Bank
F S V 2 0 4
Martin Dow
Head of Back-Office Engineering
Starling Bank
Until now people haven’t experienced the same technical innovation from
banks that they have benefitted from everywhere else in their lives.
Starling Bank
Tech start-up with a banking licence
100% cloud based, Mobile only
Mastercard debit card
DDs and Faster Payments
Location-enriched transaction feed
Apple Pay, Google Pay, Fitbit Pay...
Spending Insights
International Payments
Open APIs & Developer platform
5
Building a Bank
in the Cloud
Ethos
• No IT / business separation
• Cross functional teams
• Born agile (and DevOps)
• TDD, automation and ChatOps
• Customer-centric design
• Continuous delivery
Core consists of around 20 services each with DB and exposing REST APIs
core services
cards
payments
credit / KYC
mobile APIs open APIs partner APIs mgmt APIs
monitoring
management
analytics
secrets
The back-end
• Java services in Docker on CoreOS
• Jetty, Guice, Guava, Hystrix
• REST (JAX-RS) APIs throughout
• Postgresql databases
• A bit of a NIH maybe - homegrown:
• SQL database access layer
• Configuration, command line, app framework, background processing...
• No Spring, no JEE app servers, no distributed transactions
Postgres
• Half a century of research
• Modern SQL: Markus Winand
• Check constraints
• Row locking: select … for update nowait
• Logical Replication: WAL shipping
We built everything in the cloud
• Back-end APIs for mobile apps
• Open APIs for developers and partners
• Console for CC and operations
• Back-end ledger, payments
• Connectivity for cards, FPS
• Notifications, messaging
• Customer and fraud analytics
• Entirely in AWS
The infrastructure
• AWS for IaaS – Amazon Elastic Compute Cloud (Amazon EC2),
Amazon Virtual Private Cloud (Amazon VPC), Amazon Relational
Database Service (Amazon RDS), AWS CloudFormation
• 1:1 service instance to EC2 instance, each service is ASG
• Tooling in Go, Python, Node.js, Java
• Prometheus for monitoring
• ELK for log aggregation
• Vault for secrets management
• PagerDuty for incident alerting
Resilient architecture in the cloud
• Immutable infrastructure
• Crash-safe
• Chaos engineering
• Practiced incident response
Self-contained systems
• Each has a database
• Partial degradation
• Data flow across systems
• Beware the distributed monolith
DITTO
• Do Idempotent Things To Others
• Async + idempotence + retry
• Immutability
• Database queues
• Resilience to bugs
Continuous delivery of back-end
• Continuous deployment to non-prod, sign-off into prod
• Auto build, dockerise, test, scan, deploy < 30m
• In first 475 days of production environment
• 322 releases of software (~ 1 per weekday)
• 170 releases of infrastructure (~1 per 2 weekdays)
Tools for continuous delivery
• Roller platform service to orchestrate releases
• github.com for version control and pull requests
• quay.io for docker registry and security scans
• Artifactory for artefact management (jars, npm, docker, pip)
• TeamCity for CI / CD
• codecov.io for code coverage metrics
• Slack for basically everything
18
Insurance
FX
Connectivity
Where I
spend
Mortgages
Loyalty
Loans
Investment
Bank with APIs
For getting Access to Starling data, you can find all of our API docs and sandbox on our
developer portal: https://developer.starlingbank.com/
1.
• Create personal access token
• Link dev account to account
• Choose permissions
• That’s it
• Script your bank account!
2.
• Create sandbox customers
• Choose access tier
• Simulate transactions
• Fake spending history
• Experiment & test APIs
• That’s it
3.
• Apply to upgrade access tier
• Allows delegated account access
• There are due diligence checks
• Privacy policy always required
• For higher tiers also terms & infosec
How is this built?
In the cloud of course…
• Starling architecture: stateless independent services in AWS
• API service, OAuth service, Dev Portal
• Infra as code & docker yield options for sandbox environments
• Open API bridges to internal Starling APIs for control of lifecycle
• We use OAuth2 as basic but have plans to evolve
• Payment directly from bank account
• Aggregation / finance management
• Directly expose data for credit checks
• Perform actions on payment (e.g. loyalty)
• Inference from spending
What could I do with it?
Example screens for
Wealthify using 2-way
OAuth flow
Standardising endpoints
If you meet our spec we can onboard you quickly, if you don’t meet these specs we
cannot prioritise your integration - we do not do partner specific customisations.
There are three behaviours we want to standardise:
1. Product Details
2. Auth Code Exchange
3. Refresh Token
Why do we want to do this?
1. Quality restrictions - we want to focus on a high-level user experience. This is
good for us and our partners because a nicer UX can lead to higher conversions
and when you succeed, so do we!
2. Scalable - it allows us to onboard partners quickly.
What’s next?
• Fast enough to deliver loads of UK firsts
• first to deliver in-app provisioning of Apple Pay
• first UK mobile-only current account available to general public
• first challenger to deliver ApplePay, GooglePay, overdrafts…
• first UK bank with PSD2-capable open APIs
• This is only the beginning
• Big effort to get to the starting line
• Lots to come
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Megan Caywood
@megancaywood
Martin Dow
@martin_dow
Please complete the session
survey in the mobile app.
!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Cloud Adoption in Financial Services
Cloud Adoption in Financial Services Cloud Adoption in Financial Services
Cloud Adoption in Financial Services
Amazon Web Services
 
Data Center Migration to the AWS Cloud
Data Center Migration to the AWS CloudData Center Migration to the AWS Cloud
Data Center Migration to the AWS Cloud
Tom Laszewski
 
System architecture for central banks
System architecture for central banksSystem architecture for central banks
System architecture for central banks
Jean-Marc Lepain
 

What's hot (20)

How Banking as a Service Will Keep Banks Digitally Relevant and Growing
How Banking as a Service Will Keep Banks Digitally Relevant and GrowingHow Banking as a Service Will Keep Banks Digitally Relevant and Growing
How Banking as a Service Will Keep Banks Digitally Relevant and Growing
 
MULTI-CLOUD ARCHITECTURE
MULTI-CLOUD ARCHITECTUREMULTI-CLOUD ARCHITECTURE
MULTI-CLOUD ARCHITECTURE
 
Digital banking on AWS
Digital banking on AWSDigital banking on AWS
Digital banking on AWS
 
Cloud Adoption in Financial Services
Cloud Adoption in Financial Services Cloud Adoption in Financial Services
Cloud Adoption in Financial Services
 
AWS Cloud Adoption and the Future of Financial Services
AWS Cloud Adoption and the Future of Financial ServicesAWS Cloud Adoption and the Future of Financial Services
AWS Cloud Adoption and the Future of Financial Services
 
Global Payment Reference Architecture
Global Payment Reference ArchitectureGlobal Payment Reference Architecture
Global Payment Reference Architecture
 
Event driven architecture
Event driven architectureEvent driven architecture
Event driven architecture
 
Accelerate Your Cloud Migration Journey.pdf
Accelerate Your Cloud Migration Journey.pdfAccelerate Your Cloud Migration Journey.pdf
Accelerate Your Cloud Migration Journey.pdf
 
A cloud readiness assessment framework
A cloud readiness assessment frameworkA cloud readiness assessment framework
A cloud readiness assessment framework
 
The Path to Open Banking
The Path to Open BankingThe Path to Open Banking
The Path to Open Banking
 
Data Center Migration to the AWS Cloud
Data Center Migration to the AWS CloudData Center Migration to the AWS Cloud
Data Center Migration to the AWS Cloud
 
System architecture for central banks
System architecture for central banksSystem architecture for central banks
System architecture for central banks
 
App Modernization
App ModernizationApp Modernization
App Modernization
 
AWS Migration Planning Roadmap
AWS Migration Planning RoadmapAWS Migration Planning Roadmap
AWS Migration Planning Roadmap
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 
AWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and WorkshopsAWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and Workshops
 
Executing a Large-Scale Migration to AWS
Executing a Large-Scale Migration to AWSExecuting a Large-Scale Migration to AWS
Executing a Large-Scale Migration to AWS
 
Introduction to Event-Driven Architecture
Introduction to Event-Driven Architecture Introduction to Event-Driven Architecture
Introduction to Event-Driven Architecture
 
AWS Cloud Adoption Framework
AWS Cloud Adoption Framework AWS Cloud Adoption Framework
AWS Cloud Adoption Framework
 
Banking as a Service (download)
Banking as a Service (download)Banking as a Service (download)
Banking as a Service (download)
 

Similar to Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:Invent 2018

Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
Lviv Startup Club
 
Micro Service Architecture
Micro Service ArchitectureMicro Service Architecture
Micro Service Architecture
Eduards Sizovs
 

Similar to Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:Invent 2018 (20)

About Tekmonks
About TekmonksAbout Tekmonks
About Tekmonks
 
CQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applicationsCQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applications
 
2015 5-7-slide
2015 5-7-slide2015 5-7-slide
2015 5-7-slide
 
Enabling a Real-Time, Agile, Event-Driven Enterprise
Enabling a Real-Time, Agile, Event-Driven EnterpriseEnabling a Real-Time, Agile, Event-Driven Enterprise
Enabling a Real-Time, Agile, Event-Driven Enterprise
 
PayU's Digital Transformation: Transparency from Dev to Prod, Monitoring Micr...
PayU's Digital Transformation: Transparency from Dev to Prod, Monitoring Micr...PayU's Digital Transformation: Transparency from Dev to Prod, Monitoring Micr...
PayU's Digital Transformation: Transparency from Dev to Prod, Monitoring Micr...
 
Serverless Computing: Driving Innovation and Business Value
Serverless Computing: Driving Innovation and Business ValueServerless Computing: Driving Innovation and Business Value
Serverless Computing: Driving Innovation and Business Value
 
DevOps Cardiff - Monitoring Automation for DevOps
DevOps Cardiff - Monitoring Automation for DevOpsDevOps Cardiff - Monitoring Automation for DevOps
DevOps Cardiff - Monitoring Automation for DevOps
 
Internet of Things and Edge Compute at Chick-fil-A
Internet of Things and Edge Compute at Chick-fil-AInternet of Things and Edge Compute at Chick-fil-A
Internet of Things and Edge Compute at Chick-fil-A
 
Unified Cloud Performance Monitoring - The Need of The Hour
Unified Cloud Performance Monitoring - The Need of The HourUnified Cloud Performance Monitoring - The Need of The Hour
Unified Cloud Performance Monitoring - The Need of The Hour
 
Ojas it services
Ojas it servicesOjas it services
Ojas it services
 
Incluit case studies 3.1
Incluit case studies 3.1Incluit case studies 3.1
Incluit case studies 3.1
 
Continuous Delivery: releasing Better and Faster at Dashlane
Continuous Delivery: releasing Better and Faster at DashlaneContinuous Delivery: releasing Better and Faster at Dashlane
Continuous Delivery: releasing Better and Faster at Dashlane
 
Azure iot edge and AI enabling the intelligent edge
Azure iot edge and AI  enabling the intelligent edgeAzure iot edge and AI  enabling the intelligent edge
Azure iot edge and AI enabling the intelligent edge
 
Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
Vitalii Bondarenko and Eugene Berko "Cloud AI Platform as an accelerator of e...
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
 
How to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG EnterpriseHow to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG Enterprise
 
AWS for Java Developers workshop
AWS for Java Developers workshopAWS for Java Developers workshop
AWS for Java Developers workshop
 
Micro Service Architecture
Micro Service ArchitectureMicro Service Architecture
Micro Service Architecture
 
Cortex v5: Re-designed Re-engineered Re-launched
Cortex v5: Re-designed Re-engineered Re-launchedCortex v5: Re-designed Re-engineered Re-launched
Cortex v5: Re-designed Re-engineered Re-launched
 
CASE STUDY: UK NATIONAL HEALTH SERVICE
CASE STUDY: UK NATIONAL HEALTH SERVICECASE STUDY: UK NATIONAL HEALTH SERVICE
CASE STUDY: UK NATIONAL HEALTH SERVICE
 

More from Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Transforming Consumer Banking with a 100% Cloud-Based Bank Megan Caywood Chief Platform Officer Starling Bank F S V 2 0 4 Martin Dow Head of Back-Office Engineering Starling Bank
  • 3. Until now people haven’t experienced the same technical innovation from banks that they have benefitted from everywhere else in their lives.
  • 4. Starling Bank Tech start-up with a banking licence 100% cloud based, Mobile only Mastercard debit card DDs and Faster Payments Location-enriched transaction feed Apple Pay, Google Pay, Fitbit Pay... Spending Insights International Payments Open APIs & Developer platform
  • 5. 5
  • 6. Building a Bank in the Cloud
  • 7. Ethos • No IT / business separation • Cross functional teams • Born agile (and DevOps) • TDD, automation and ChatOps • Customer-centric design • Continuous delivery
  • 8. Core consists of around 20 services each with DB and exposing REST APIs core services cards payments credit / KYC mobile APIs open APIs partner APIs mgmt APIs monitoring management analytics secrets
  • 9. The back-end • Java services in Docker on CoreOS • Jetty, Guice, Guava, Hystrix • REST (JAX-RS) APIs throughout • Postgresql databases • A bit of a NIH maybe - homegrown: • SQL database access layer • Configuration, command line, app framework, background processing... • No Spring, no JEE app servers, no distributed transactions
  • 10. Postgres • Half a century of research • Modern SQL: Markus Winand • Check constraints • Row locking: select … for update nowait • Logical Replication: WAL shipping
  • 11. We built everything in the cloud • Back-end APIs for mobile apps • Open APIs for developers and partners • Console for CC and operations • Back-end ledger, payments • Connectivity for cards, FPS • Notifications, messaging • Customer and fraud analytics • Entirely in AWS
  • 12. The infrastructure • AWS for IaaS – Amazon Elastic Compute Cloud (Amazon EC2), Amazon Virtual Private Cloud (Amazon VPC), Amazon Relational Database Service (Amazon RDS), AWS CloudFormation • 1:1 service instance to EC2 instance, each service is ASG • Tooling in Go, Python, Node.js, Java • Prometheus for monitoring • ELK for log aggregation • Vault for secrets management • PagerDuty for incident alerting
  • 13. Resilient architecture in the cloud • Immutable infrastructure • Crash-safe • Chaos engineering • Practiced incident response
  • 14. Self-contained systems • Each has a database • Partial degradation • Data flow across systems • Beware the distributed monolith
  • 15. DITTO • Do Idempotent Things To Others • Async + idempotence + retry • Immutability • Database queues • Resilience to bugs
  • 16. Continuous delivery of back-end • Continuous deployment to non-prod, sign-off into prod • Auto build, dockerise, test, scan, deploy < 30m • In first 475 days of production environment • 322 releases of software (~ 1 per weekday) • 170 releases of infrastructure (~1 per 2 weekdays)
  • 17. Tools for continuous delivery • Roller platform service to orchestrate releases • github.com for version control and pull requests • quay.io for docker registry and security scans • Artifactory for artefact management (jars, npm, docker, pip) • TeamCity for CI / CD • codecov.io for code coverage metrics • Slack for basically everything
  • 19. For getting Access to Starling data, you can find all of our API docs and sandbox on our developer portal: https://developer.starlingbank.com/
  • 20. 1. • Create personal access token • Link dev account to account • Choose permissions • That’s it • Script your bank account!
  • 21. 2. • Create sandbox customers • Choose access tier • Simulate transactions • Fake spending history • Experiment & test APIs • That’s it
  • 22. 3. • Apply to upgrade access tier • Allows delegated account access • There are due diligence checks • Privacy policy always required • For higher tiers also terms & infosec
  • 23. How is this built?
  • 24. In the cloud of course… • Starling architecture: stateless independent services in AWS • API service, OAuth service, Dev Portal • Infra as code & docker yield options for sandbox environments • Open API bridges to internal Starling APIs for control of lifecycle • We use OAuth2 as basic but have plans to evolve
  • 25. • Payment directly from bank account • Aggregation / finance management • Directly expose data for credit checks • Perform actions on payment (e.g. loyalty) • Inference from spending What could I do with it?
  • 26. Example screens for Wealthify using 2-way OAuth flow
  • 27. Standardising endpoints If you meet our spec we can onboard you quickly, if you don’t meet these specs we cannot prioritise your integration - we do not do partner specific customisations. There are three behaviours we want to standardise: 1. Product Details 2. Auth Code Exchange 3. Refresh Token Why do we want to do this? 1. Quality restrictions - we want to focus on a high-level user experience. This is good for us and our partners because a nicer UX can lead to higher conversions and when you succeed, so do we! 2. Scalable - it allows us to onboard partners quickly.
  • 28.
  • 29. What’s next? • Fast enough to deliver loads of UK firsts • first to deliver in-app provisioning of Apple Pay • first UK mobile-only current account available to general public • first challenger to deliver ApplePay, GooglePay, overdrafts… • first UK bank with PSD2-capable open APIs • This is only the beginning • Big effort to get to the starting line • Lots to come
  • 30. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Megan Caywood @megancaywood Martin Dow @martin_dow
  • 31. Please complete the session survey in the mobile app. ! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.