Top Banner
Making a Mammoth Run Continuous Delivery in a bank
33

Making a Mammoth Run : Continuous Delivery in a Bank

Jan 20, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Making a Mammoth Run : Continuous Delivery in a Bank

Making a Mammoth Run

Continuous Delivery in a bank

Page 2: Making a Mammoth Run : Continuous Delivery in a Bank

I am Laurent GrangeauI love to automate things and run apps at scale. You can find me at @laurentgrangeau

Hello!

Page 3: Making a Mammoth Run : Continuous Delivery in a Bank

I am Christophe LecointeI tinker around and simplify things

Hello!

Page 4: Making a Mammoth Run : Continuous Delivery in a Bank

Overview of softwares in bank industries1

Page 5: Making a Mammoth Run : Continuous Delivery in a Bank

Banking overview

Old codeThere is lots of legacy code. Generally, the code base is > 5 years.

No agile processMostly waterfall process, ITIL compliant.

RegulationBanks can’t do what they want. There is a lot of regulation and audits.

Monolithic softwaresAs softwares were designed years ago, there is little microservices, and no 12factor principles.

Releases are manualGenerally, release is a manual process with service interruption.

Obsolete infrastructuresThere are still mainframe computers or specialized appliances like Sparc machines.

Page 6: Making a Mammoth Run : Continuous Delivery in a Bank

Fintechs arrival2

Page 7: Making a Mammoth Run : Continuous Delivery in a Bank

$12.7 billions funding

1.000+ companies

Leverage on cutting edge technologies

Fintech landscape

Page 8: Making a Mammoth Run : Continuous Delivery in a Bank

Appears in 2008

$921 millions cumulative investment

805 blockchain startups

$4.9 billions Bitcoin capitalisation

Blockchain ecosystem

Page 9: Making a Mammoth Run : Continuous Delivery in a Bank

Fintechs are taking market

shares…It’s time to

react !

BANKS

FINTECHS

Page 10: Making a Mammoth Run : Continuous Delivery in a Bank

Continuous Delivery program3

Page 11: Making a Mammoth Run : Continuous Delivery in a Bank

Be like the GAFABe faster, bring more business value,

reduce maintenance costs

Page 12: Making a Mammoth Run : Continuous Delivery in a Bank

Change management

Agile coachsBring more business value, involve stakeholders.

ex. Scrum, Kanban, Backlog grooming, …

Software craftsmanship coachsBuild robust, testable and sustainable code.

ex. TDD, BDD, Clean code, …

DevOps coachsAutomate the delivery.

ex. IaC, Automated deployment, …

Page 13: Making a Mammoth Run : Continuous Delivery in a Bank

PlatformBacklog

groomingDevelopment

interfaceSource code management

Continuous integration Testing Libraries

repositoryDeployment automation

Metrology

Infrastructure as code

Page 14: Making a Mammoth Run : Continuous Delivery in a Bank

400+ applications transformed

Reduce TTM from months to 2 weeks

Reduce deploy time from months to minutes

Page 15: Making a Mammoth Run : Continuous Delivery in a Bank

What’s next ?4

Page 16: Making a Mammoth Run : Continuous Delivery in a Bank

New challenges

◉ Variabilization◉ Service discovery◉ Infrastructure hybridation◉ Multi-tenancy◉ Secret management

Page 17: Making a Mammoth Run : Continuous Delivery in a Bank

Let’s use HashiCorp tools !Leveraging on tools like Vault or Consul

Page 18: Making a Mammoth Run : Continuous Delivery in a Bank

Platform

Metrology

Backlog grooming

Development interface

Source code management

Continuous integration Testing Libraries

repositoryDeployment automation

Page 19: Making a Mammoth Run : Continuous Delivery in a Bank
Page 20: Making a Mammoth Run : Continuous Delivery in a Bank

Platform

RegistryDocker-swarm

The registratordiscovers newcontainers and feeds the registry

Page 21: Making a Mammoth Run : Continuous Delivery in a Bank

Application K/V store

DEV STAGING PROD

K/V store K/V store

Update version

Page 22: Making a Mammoth Run : Continuous Delivery in a Bank

Service discovery

Registry

Service providerService consumer

1. Publish2. Find

3. Bind

Page 23: Making a Mammoth Run : Continuous Delivery in a Bank

Network overlay

Host Host Host Host

SDNs

Page 24: Making a Mammoth Run : Continuous Delivery in a Bank

Infrastructure hybridation

Private cloud Public cloud

Page 25: Making a Mammoth Run : Continuous Delivery in a Bank
Page 26: Making a Mammoth Run : Continuous Delivery in a Bank

Password generation

On demandcredentials

No longer needharcodedcredentials

1. Request credentials

2. Connect

3. Scale

4. Connect

Addcredentials

Page 27: Making a Mammoth Run : Continuous Delivery in a Bank

Impersonification

I want totroubleshootproblems

Production

Works for SSH and DB !

1. Request credentials

2. Generate access

3. Login with generated credentials

Dev

Page 28: Making a Mammoth Run : Continuous Delivery in a Bank

PKI : certificates generation

Host Host Host

Generatingon demandcertificatesfor containerscommunication

Request certificates

Page 29: Making a Mammoth Run : Continuous Delivery in a Bank

DemoScary live demo time !

5

Page 30: Making a Mammoth Run : Continuous Delivery in a Bank

Demo

Commit

Webhook

Deploy

Compose

Compose

Generatecredentials

Page 31: Making a Mammoth Run : Continuous Delivery in a Bank

Conclusion6

Page 32: Making a Mammoth Run : Continuous Delivery in a Bank

Continuous delivery is now complete part of the bank

Huge change on the manner of working

Nearly everything is automated