SlideShare una empresa de Scribd logo
1 de 67
Descargar para leer sin conexión
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
How Nubank isbuildinga
customer-obsessed Bank
Renan Capaverde
Director of Engineering
Nubank
F S V 2 0 1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Agenda
• Nubank: An introduction
• Why create a bank from scratch in the cloud?
• Putting customer experience first
• Enabling developers to be customer obsessed
‒ Autonomy
‒ Reliability
‒ Scalability
‒ Velocity
• Lessons learned
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nubank:An introduction
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
WE STARTED HERE
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
TODAY
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
CVA Solution
“Nubank is the Brazilian’s favorite”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I TS U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
"With10 million customers,Nubankis the
largestonlinebankoutsideofAsia"
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Exponentialgrowth
0.0
3,000,000.0
6,000,000.0
9,000,000.0
12,000,000.0
June-2014 June-2015 June-2016 June-2017 June-2018 June-2019
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
BigBankshavebeenslowtoaddresscustomerfrustrations
89
78
69
15
7
-2
-11 -14
-27
Nubank Fintech 1 Fintech 2 Bank 1 Bank 2 Bank 3 Bank 4 Bank 5 Bank 6
NPS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
270
1700
MICROSERVICES
EMPLOYEES
260ENGINEERS
40+
10M
3+SQUADS
CUSTOMERS
COUNTRIES
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Whycreatea bankfromscratch
in the cloud?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
10%
22% 25% 29% 30%
45% 47%
352%
UK Chile USA Venezuela Colombia Peru Argentina Brasil
Highest interest rates for revolving
credit facilities worldwide …
Source: Proteste (Associação Brasileira de Defesa do Consumidor) – December 2017
https://www.proteste.org.br/institucional/imprensa/press-release/2017/brasileiro-paga-os-maiores-juros-do-mundo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Big opportunity
Interest Rates & Fees
Customer experience
High
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Puttingcustomerexperiencefirst
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Technology Design Data Science Customer Experience
The four pillars of Nubank
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Completely digital, practical,
easy to use, with the best
service of the industry.
Credit card
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Integratedinthecreditcardthereis
asimple,intuitiveandcompletely
differentbenefitprogram.
Rewards
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Our version of a digital account.
Without concerns and without costs.
Developed for the modern days,
NuConta is the simplest and most
intelligent option in the market.
NuConta
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
MULTIPLE
MARKETS
Cannot tell you when ;-)
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enablingdeveloperstobecustomerobsessed
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Wethinkofbankingasasoftwareengineeringproblem
Teams empowered to execute
independently, cradle to grave
autonomy
Rapidly evolving systems in small
increments
velocity
Carefully manage blast-radius and
time-to-fix for inevitable bugs
reliability
Build for the long term, scale out,
significant operating leverage
scalability
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Autonomy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Engineering
Top of the line gas range
Sharp knives
Small batches
Sophisticated plate warming
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Security Operations
Center (SOC)
19 authorized personnel
Temperature normal
Order backlog normal
Behavior patterns normal
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Blue team
Non-skid floor
Safety hats and aprons
Food contamination risk
Segregated roles and access
control
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Red team
Propane tank
+
Sharp knife
+
Sparker
=
Profit
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
In-housesecurityteams
Blue Team Red Team SOC
Engineering Security SupportIntelligence
Physical Infra
• Don’t be an adversary
• Be part of the product
lifecycle
• Work closely with other
control functions
• Rotate team members
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Minimalpermissions(self-healing)
Fine-grained, just enough to accomplish work
Constant evolution
Lambdas
80+ official lambdas
Fine-grained control and orchestration of underlying systems
Management of accounts across providers
Integrations to Slack, OpsGenie, etc
Active monitoring (every n minutes)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Minimalpermissions(self-healing)
Fine-grained, just enough to accomplish work
Constant evolution
IAM groups
100+ IAM groups for people
500+ IAM roles for machines
Access to specific operations on AWS services
Base permissions set, temporary escalation, automatic reaping
Lambdas
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Minimalpermissions(self-healing)
Fine-grained, just enough to accomplish work
Constant evolution
OAuth Scopes
IAM groups
~300 scopes in use
OAuth style, endpoint level granularity
Pre-approved, grants often contingent upon proof of
completed training (with tests!)
Restricted scopes and toxic combinations
Short-lived (expire), with longer lived refresh tokens for
rapid renewal
Auto-reaped scopes after inactivity
users++
Lambda
functions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Microserviceshelpdividingthescopetoenhanceteam’sautonomy
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reliability
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Security as code
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SecurityasCode:Rolecreation(before)
deploy
Internal Clojure project
wrapping cloud APIs
nucli
Internal cli to automate
operational workflows
AWS CloudFormation
template
Declarative, cohesive infrastructure
provisioning
Provisioning
Amazon EC2
IAM roles
Security groups
Load balancers
…
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SecurityasCode:Rolecreation(before)
copy/paste
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SecurityasCode:Rolecreation(after)
deploy
Internal Clojure project
wrapping cloud APIs
nucli
Internal cli to automate
operational workflows
AWS CloudFormation
template
Declarative, cohesive
infrastructure provisioning
Amazon EC2
Security groups
Load balancers
…
IAM roles
Lambda
Robotic kitchen staff
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SecurityasCode:LambdaCI/CD
iam-policies
Internal repository for all things IAM
(with code reuse)
Lambda
Robotic kitchen staffpull requests CI/CD
lambda-automation
Lambda functions as code in git
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Defenseindepth
Boundary defense is fundamental, but doesn’t address all attack vectors
Once the boundary has been compromised, it is necessary to defend subsequent layers
SERVICE A SERVICE B
mTLS
Modern ciphers & forward secrecy
Requests without certificates rejected at session layer
Device reputation scoring
Short-lived OAuth token grants endpoint-level scopes
Ubiquitous rate limits
Storage
Encryption at rest
Security groups per service
Specific IAM roles
Kafka
Digital signing of all messages
Sensitive topics envelope encrypted
Security groups
Office network
RADIUS + 802.11 authentication w/ certificates
Segregated subnets by function
AWS Session Manager for SSH
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Pervasiveaudittrail
Set up for forensic analysis in advance
Multiple audit trails covering the same flows
Lambda
+
Redshift
All data from all production databases
(daily)
Including data provenance:
• Metadata associated with reified DB
transactions, incl. correlation ID,
user, service version
• Append-only (Datomic or Kafka)
• Automatically integrated to ETL for
high throughput querying
Splunk + S3
Unify all logs,
including all server
logs
Dashboards
Alarms
CloudTrail
VPC flow logs
HTTP reqs
CLI events
DNS reqs
Load balancers
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SecurityMonitoring:Dashboards
AWS CloudTrail Elastic Load
Balancing
AlertsVPC Flow Logs
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scalability
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
70NODES PER CLUSTER
(M5.12XLARGE)
900PODS PER CLUSTER
1B
13
700MHTTP REQUESTS PER DAY
KUBERNETES CLUSTERS IN
PRODUCTION
KAFKA MESSAGES PER DAY
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Shards
SERVICE 1
shard S0
SERVICE 3
SERVICE 2
SERVICE 1
shard S0
SERVICE 3
SERVICE 2
SERVICE 1
shard S0
SERVICE 3
SERVICE 2
Shard s0 Shard s2Shard s1
We offer many
services
acquisition
surrender
credit-card-accounts
peter-pan
sr-barriga
feed
billing
horadric
charging
griswold
mordor
fidc
double-entry
stevie
notification
next
bureau
bleach
shun-service
griswold
stormshield
idtrust-client
tyrion
tx-ranger
bonafont
ledger
russ-service
insulator
zedruu
falkor
deckard
conductor-client
line-items
dinowrangler
sommelier
wendy
big-mama
negociant
nexxera-client
auth
conductor-push
customerssmee
gemalto-client
chateau
mini startups inside the company
- reduce the impact of changes
- reduce the fear of change
- increases autonomy
- decreases conflicts between teams
- decreases the fear of going to prod
microservices
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Velocity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Applications
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
400+
DEPLOYS PER WEEK
incremental
change review
tests
homologationproduction
monitoring
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
CI/CDtooling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Infrastructure
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
deploy
Internal project that acts as
a wrapper of AWS and
Kubernetes API
definition
.edn files containing
definitions of all deployable
units with a declarative
format
AWS CloudFormation
Dynamic generation of AWS
CloudFormation templates
and Kubernetes templates
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
S1S0 S2
Global
V 1.0
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
S1S0 S2
Global
S1S0 S2
Global
V 1.0 V 2.0
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
S1S0 S2
Global
S1S0 S2
Global
V 1.0 V 2.0
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
S1S0 S2
Global
V 2.0
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lessonslearned
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Lessonslearned
• Customer obsession is a drive for better products, growth and better customer experience
• Technology should now focus in adding value to customers instead of being a cost center
• Microservices with a ton of automation help with scalability, reliability, velocity and autonomy
• Regulators expect audit trails, monitoring, risk mitigation and accountability
• This has nothing to do with Change-advisory boards and CYA culture
• Minimize the risk of deployments by using unit and integration testing, feature rollouts, canary deployments and
deploying frequent small changes instead of big batches
• Empower engineers. Automate bureaucracy and processes. Focus on learning and automation.
• Automate things so hard that even if someone intentionally wants to break things, it won’t be possible.
We’re hiring
https://nubank.workable.com
Sao Paulo, Brazil
Berlin, Germany
We’re hiring
https://nubank.workable.com
Mexico City, Mexico
We’re hiring
https://nubank.workable.com
Buenos Aires, Argentina
We’re hiring
https://nubank.workable.com
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Q&A
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Renan Capaverde
@apseyyyy

Más contenido relacionado

La actualidad más candente

2020 Banking Consumer Study: Making Digital More Human – UK Findings
2020 Banking Consumer Study: Making Digital More Human – UK Findings2020 Banking Consumer Study: Making Digital More Human – UK Findings
2020 Banking Consumer Study: Making Digital More Human – UK Findingsaccenture
 
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...Amazon Web Services
 
Welcome to the Age of Big Data in Banking
Welcome to the Age of Big Data in Banking Welcome to the Age of Big Data in Banking
Welcome to the Age of Big Data in Banking Andy Hirst
 
Impact of big data analytics on banking sector
Impact of big data analytics on banking sector Impact of big data analytics on banking sector
Impact of big data analytics on banking sector anshagrawal2121
 
Demystifying Open Banking
Demystifying Open BankingDemystifying Open Banking
Demystifying Open Bankingaccenture
 
Digital Transformation in Retail Banking
Digital Transformation in Retail BankingDigital Transformation in Retail Banking
Digital Transformation in Retail BankingFerran Garcia Pagans
 
Top Trends in Payments 2022
Top Trends in Payments 2022Top Trends in Payments 2022
Top Trends in Payments 2022Capgemini
 
Digital banking on AWS
Digital banking on AWSDigital banking on AWS
Digital banking on AWSPham Anh Vu
 
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...Accenture Insurance
 
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 GrowingCognizant
 
What is the Next Generation for Application Managed Services?
What is the Next Generation for Application Managed Services?What is the Next Generation for Application Managed Services?
What is the Next Generation for Application Managed Services?Hexaware Technologies
 
Chase Bank Digital Strategy
Chase Bank Digital Strategy Chase Bank Digital Strategy
Chase Bank Digital Strategy Sierra Resovsky
 
Success Factors for Digital Transformation in Banking
Success Factors for Digital Transformation in BankingSuccess Factors for Digital Transformation in Banking
Success Factors for Digital Transformation in BankingTata Consultancy Services
 
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...apidays
 
Digital Bank: What and How
Digital Bank: What and HowDigital Bank: What and How
Digital Bank: What and HowIvano Digital
 
Artificial intelligence in fintech
Artificial intelligence in fintechArtificial intelligence in fintech
Artificial intelligence in fintechSpotle.ai
 
Open Banking Report Executive Summary
Open Banking Report Executive SummaryOpen Banking Report Executive Summary
Open Banking Report Executive SummaryMEDICI Inner Circle
 
FSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfFSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfYasmineBoudhina
 
Retail Banking Trends book 2022
Retail Banking Trends book 2022Retail Banking Trends book 2022
Retail Banking Trends book 2022Capgemini
 

La actualidad más candente (20)

2020 Banking Consumer Study: Making Digital More Human – UK Findings
2020 Banking Consumer Study: Making Digital More Human – UK Findings2020 Banking Consumer Study: Making Digital More Human – UK Findings
2020 Banking Consumer Study: Making Digital More Human – UK Findings
 
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...
 
Welcome to the Age of Big Data in Banking
Welcome to the Age of Big Data in Banking Welcome to the Age of Big Data in Banking
Welcome to the Age of Big Data in Banking
 
Impact of big data analytics on banking sector
Impact of big data analytics on banking sector Impact of big data analytics on banking sector
Impact of big data analytics on banking sector
 
Demystifying Open Banking
Demystifying Open BankingDemystifying Open Banking
Demystifying Open Banking
 
Digital Transformation in Retail Banking
Digital Transformation in Retail BankingDigital Transformation in Retail Banking
Digital Transformation in Retail Banking
 
Top Trends in Payments 2022
Top Trends in Payments 2022Top Trends in Payments 2022
Top Trends in Payments 2022
 
Digital banking on AWS
Digital banking on AWSDigital banking on AWS
Digital banking on AWS
 
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...
Open Insurance - Unlocking Ecosystem Opportunities For Tomorrow’s Insurance I...
 
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
 
What is the Next Generation for Application Managed Services?
What is the Next Generation for Application Managed Services?What is the Next Generation for Application Managed Services?
What is the Next Generation for Application Managed Services?
 
Chase Bank Digital Strategy
Chase Bank Digital Strategy Chase Bank Digital Strategy
Chase Bank Digital Strategy
 
Success Factors for Digital Transformation in Banking
Success Factors for Digital Transformation in BankingSuccess Factors for Digital Transformation in Banking
Success Factors for Digital Transformation in Banking
 
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...
apidays LIVE Singapore - Open Banking: A foundation for the new world by Bhar...
 
Digital Bank: What and How
Digital Bank: What and HowDigital Bank: What and How
Digital Bank: What and How
 
Artificial intelligence in fintech
Artificial intelligence in fintechArtificial intelligence in fintech
Artificial intelligence in fintech
 
HSBC and AWS
HSBC and AWSHSBC and AWS
HSBC and AWS
 
Open Banking Report Executive Summary
Open Banking Report Executive SummaryOpen Banking Report Executive Summary
Open Banking Report Executive Summary
 
FSI - Digital Transformation.pdf
FSI - Digital Transformation.pdfFSI - Digital Transformation.pdf
FSI - Digital Transformation.pdf
 
Retail Banking Trends book 2022
Retail Banking Trends book 2022Retail Banking Trends book 2022
Retail Banking Trends book 2022
 

Similar a How Nubank is Building a Customer-Obsessed Bank in the Cloud

How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitHow to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitAmazon Web Services
 
Castles in Castles - Secure Operational Scale - AWS Summit Sydney
Castles in Castles - Secure Operational Scale - AWS Summit SydneyCastles in Castles - Secure Operational Scale - AWS Summit Sydney
Castles in Castles - Secure Operational Scale - AWS Summit SydneyAmazon Web Services
 
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS Summit
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS SummitThreat detection and mitigation at AWS - SEC201 - Atlanta AWS Summit
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS SummitAmazon Web Services
 
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...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 AWSCobus Bernard
 
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...Amazon Web Services
 
AWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening KeynoteAWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening KeynoteAWS Summits
 
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit Sydney
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit SydneyCloud Operating Models for Accelerated Cloud Transformation - AWS Summit Sydney
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit SydneyAmazon Web Services
 
Modern Application Development in the Cloud
Modern Application Development in the CloudModern Application Development in the Cloud
Modern Application Development in the CloudAmazon Web Services
 
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習Amazon Web Services
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構Amazon Web Services
 
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservicesKim Kao
 
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...Amazon Web Services
 
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsScale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsAmazon Web Services
 
Failure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsFailure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsAmazon Web Services
 
Extend Enterprise Messaging: Hybrid Message Broker
Extend Enterprise Messaging: Hybrid Message BrokerExtend Enterprise Messaging: Hybrid Message Broker
Extend Enterprise Messaging: Hybrid Message BrokerAmazon Web Services
 
Getting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless ArchitecturesGetting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless ArchitecturesAmazon Web Services
 
Architecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentArchitecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentAmazon Web Services
 

Similar a How Nubank is Building a Customer-Obsessed Bank in the Cloud (20)

How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS SummitHow to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
How to speed up and scale your innovation efforts - MAD203 - Chicago AWS Summit
 
Castles in Castles - Secure Operational Scale - AWS Summit Sydney
Castles in Castles - Secure Operational Scale - AWS Summit SydneyCastles in Castles - Secure Operational Scale - AWS Summit Sydney
Castles in Castles - Secure Operational Scale - AWS Summit Sydney
 
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS Summit
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS SummitThreat detection and mitigation at AWS - SEC201 - Atlanta AWS Summit
Threat detection and mitigation at AWS - SEC201 - Atlanta AWS Summit
 
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
The Zen of governance - Establish guardrails and empower builders - SVC201 - ...
 
Automated Security Remediation
Automated Security RemediationAutomated Security Remediation
Automated Security Remediation
 
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
 
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...
A culture of rapid innovation with DevOps, microservices, & serverless - MAD2...
 
AWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening KeynoteAWS Summit Singapore 2019 | AWS Techfest Opening Keynote
AWS Summit Singapore 2019 | AWS Techfest Opening Keynote
 
DevOps at Amazon
DevOps at AmazonDevOps at Amazon
DevOps at Amazon
 
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit Sydney
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit SydneyCloud Operating Models for Accelerated Cloud Transformation - AWS Summit Sydney
Cloud Operating Models for Accelerated Cloud Transformation - AWS Summit Sydney
 
Modern Application Development in the Cloud
Modern Application Development in the CloudModern Application Development in the Cloud
Modern Application Development in the Cloud
 
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構
 
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
 
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
 
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS SystemsScale - Failure is not an Option: Designing Highly Resilient AWS Systems
Scale - Failure is not an Option: Designing Highly Resilient AWS Systems
 
Failure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS SystemsFailure is not an Option - Designing Highly Resilient AWS Systems
Failure is not an Option - Designing Highly Resilient AWS Systems
 
Extend Enterprise Messaging: Hybrid Message Broker
Extend Enterprise Messaging: Hybrid Message BrokerExtend Enterprise Messaging: Hybrid Message Broker
Extend Enterprise Messaging: Hybrid Message Broker
 
Getting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless ArchitecturesGetting Started with Microservices, Containers, and Serverless Architectures
Getting Started with Microservices, Containers, and Serverless Architectures
 
Architecting security & governance across your AWS environment
Architecting security & governance across your AWS environmentArchitecting security & governance across your AWS environment
Architecting security & governance across your AWS environment
 

Más de Amazon Web Services

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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon Web Services
 

Más de Amazon Web Services (20)

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
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 

How Nubank is Building a Customer-Obsessed Bank in the Cloud

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T How Nubank isbuildinga customer-obsessed Bank Renan Capaverde Director of Engineering Nubank F S V 2 0 1
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Agenda • Nubank: An introduction • Why create a bank from scratch in the cloud? • Putting customer experience first • Enabling developers to be customer obsessed ‒ Autonomy ‒ Reliability ‒ Scalability ‒ Velocity • Lessons learned
  • 3. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Nubank:An introduction
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T WE STARTED HERE
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T TODAY
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T CVA Solution “Nubank is the Brazilian’s favorite”
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I TS U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. "With10 million customers,Nubankis the largestonlinebankoutsideofAsia"
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Exponentialgrowth 0.0 3,000,000.0 6,000,000.0 9,000,000.0 12,000,000.0 June-2014 June-2015 June-2016 June-2017 June-2018 June-2019
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T BigBankshavebeenslowtoaddresscustomerfrustrations 89 78 69 15 7 -2 -11 -14 -27 Nubank Fintech 1 Fintech 2 Bank 1 Bank 2 Bank 3 Bank 4 Bank 5 Bank 6 NPS
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 270 1700 MICROSERVICES EMPLOYEES 260ENGINEERS 40+ 10M 3+SQUADS CUSTOMERS COUNTRIES
  • 12. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Whycreatea bankfromscratch in the cloud?
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 10% 22% 25% 29% 30% 45% 47% 352% UK Chile USA Venezuela Colombia Peru Argentina Brasil Highest interest rates for revolving credit facilities worldwide … Source: Proteste (Associação Brasileira de Defesa do Consumidor) – December 2017 https://www.proteste.org.br/institucional/imprensa/press-release/2017/brasileiro-paga-os-maiores-juros-do-mundo
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Big opportunity Interest Rates & Fees Customer experience High
  • 15. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Puttingcustomerexperiencefirst
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Technology Design Data Science Customer Experience The four pillars of Nubank
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Completely digital, practical, easy to use, with the best service of the industry. Credit card
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Integratedinthecreditcardthereis asimple,intuitiveandcompletely differentbenefitprogram. Rewards
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Our version of a digital account. Without concerns and without costs. Developed for the modern days, NuConta is the simplest and most intelligent option in the market. NuConta
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T MULTIPLE MARKETS Cannot tell you when ;-)
  • 21. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enablingdeveloperstobecustomerobsessed
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Wethinkofbankingasasoftwareengineeringproblem Teams empowered to execute independently, cradle to grave autonomy Rapidly evolving systems in small increments velocity Carefully manage blast-radius and time-to-fix for inevitable bugs reliability Build for the long term, scale out, significant operating leverage scalability
  • 23. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Autonomy
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Engineering Top of the line gas range Sharp knives Small batches Sophisticated plate warming
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Security Operations Center (SOC) 19 authorized personnel Temperature normal Order backlog normal Behavior patterns normal
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Blue team Non-skid floor Safety hats and aprons Food contamination risk Segregated roles and access control
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Red team Propane tank + Sharp knife + Sparker = Profit
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T In-housesecurityteams Blue Team Red Team SOC Engineering Security SupportIntelligence Physical Infra • Don’t be an adversary • Be part of the product lifecycle • Work closely with other control functions • Rotate team members
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Minimalpermissions(self-healing) Fine-grained, just enough to accomplish work Constant evolution Lambdas 80+ official lambdas Fine-grained control and orchestration of underlying systems Management of accounts across providers Integrations to Slack, OpsGenie, etc Active monitoring (every n minutes)
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Minimalpermissions(self-healing) Fine-grained, just enough to accomplish work Constant evolution IAM groups 100+ IAM groups for people 500+ IAM roles for machines Access to specific operations on AWS services Base permissions set, temporary escalation, automatic reaping Lambdas
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Minimalpermissions(self-healing) Fine-grained, just enough to accomplish work Constant evolution OAuth Scopes IAM groups ~300 scopes in use OAuth style, endpoint level granularity Pre-approved, grants often contingent upon proof of completed training (with tests!) Restricted scopes and toxic combinations Short-lived (expire), with longer lived refresh tokens for rapid renewal Auto-reaped scopes after inactivity users++ Lambda functions
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Microserviceshelpdividingthescopetoenhanceteam’sautonomy
  • 34. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reliability
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Security as code
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T SecurityasCode:Rolecreation(before) deploy Internal Clojure project wrapping cloud APIs nucli Internal cli to automate operational workflows AWS CloudFormation template Declarative, cohesive infrastructure provisioning Provisioning Amazon EC2 IAM roles Security groups Load balancers …
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T SecurityasCode:Rolecreation(before) copy/paste
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T SecurityasCode:Rolecreation(after) deploy Internal Clojure project wrapping cloud APIs nucli Internal cli to automate operational workflows AWS CloudFormation template Declarative, cohesive infrastructure provisioning Amazon EC2 Security groups Load balancers … IAM roles Lambda Robotic kitchen staff
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T SecurityasCode:LambdaCI/CD iam-policies Internal repository for all things IAM (with code reuse) Lambda Robotic kitchen staffpull requests CI/CD lambda-automation Lambda functions as code in git
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Defenseindepth Boundary defense is fundamental, but doesn’t address all attack vectors Once the boundary has been compromised, it is necessary to defend subsequent layers SERVICE A SERVICE B mTLS Modern ciphers & forward secrecy Requests without certificates rejected at session layer Device reputation scoring Short-lived OAuth token grants endpoint-level scopes Ubiquitous rate limits Storage Encryption at rest Security groups per service Specific IAM roles Kafka Digital signing of all messages Sensitive topics envelope encrypted Security groups Office network RADIUS + 802.11 authentication w/ certificates Segregated subnets by function AWS Session Manager for SSH
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Pervasiveaudittrail Set up for forensic analysis in advance Multiple audit trails covering the same flows Lambda + Redshift All data from all production databases (daily) Including data provenance: • Metadata associated with reified DB transactions, incl. correlation ID, user, service version • Append-only (Datomic or Kafka) • Automatically integrated to ETL for high throughput querying Splunk + S3 Unify all logs, including all server logs Dashboards Alarms CloudTrail VPC flow logs HTTP reqs CLI events DNS reqs Load balancers
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T SecurityMonitoring:Dashboards AWS CloudTrail Elastic Load Balancing AlertsVPC Flow Logs
  • 43. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scalability
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 70NODES PER CLUSTER (M5.12XLARGE) 900PODS PER CLUSTER 1B 13 700MHTTP REQUESTS PER DAY KUBERNETES CLUSTERS IN PRODUCTION KAFKA MESSAGES PER DAY
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Shards SERVICE 1 shard S0 SERVICE 3 SERVICE 2 SERVICE 1 shard S0 SERVICE 3 SERVICE 2 SERVICE 1 shard S0 SERVICE 3 SERVICE 2 Shard s0 Shard s2Shard s1
  • 47. mini startups inside the company
  • 48. - reduce the impact of changes - reduce the fear of change - increases autonomy - decreases conflicts between teams - decreases the fear of going to prod microservices
  • 49. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Velocity
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Applications
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 400+ DEPLOYS PER WEEK
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T CI/CDtooling
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Infrastructure
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T deploy Internal project that acts as a wrapper of AWS and Kubernetes API definition .edn files containing definitions of all deployable units with a declarative format AWS CloudFormation Dynamic generation of AWS CloudFormation templates and Kubernetes templates
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T S1S0 S2 Global V 1.0
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T S1S0 S2 Global S1S0 S2 Global V 1.0 V 2.0
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T S1S0 S2 Global S1S0 S2 Global V 1.0 V 2.0
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T S1S0 S2 Global V 2.0
  • 60. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lessonslearned
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Lessonslearned • Customer obsession is a drive for better products, growth and better customer experience • Technology should now focus in adding value to customers instead of being a cost center • Microservices with a ton of automation help with scalability, reliability, velocity and autonomy • Regulators expect audit trails, monitoring, risk mitigation and accountability • This has nothing to do with Change-advisory boards and CYA culture • Minimize the risk of deployments by using unit and integration testing, feature rollouts, canary deployments and deploying frequent small changes instead of big batches • Empower engineers. Automate bureaucracy and processes. Focus on learning and automation. • Automate things so hard that even if someone intentionally wants to break things, it won’t be possible.
  • 64. Mexico City, Mexico We’re hiring https://nubank.workable.com
  • 65. Buenos Aires, Argentina We’re hiring https://nubank.workable.com
  • 66. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Q&A
  • 67. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Renan Capaverde @apseyyyy