18
...But You are not NETFLIX. Do you need DevOps? Luca pedrazzini Direttore Generale/SORINT.lab S.p.A. #redhatosd Made in Italy for Digital Business

But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

...But You are not NETFLIX.

Do you need DevOps?

Luca pedrazziniDirettore Generale/SORINT.lab S.p.A.

#redhatosdMade in Italy for Digital Business

Page 2: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Contesto: SORINT.lab

Inspirations

ISO20K-ITIL 24x7 Agile-Devops

Startup Accelerator Programme

https://www.sorint.it/disractive

ITaly Manifesto:

Made in ITaly for digital business

Questa presentazione è frutto di:- studi di teorie di management, diinnovazione technologica.- realizzazioni di progetti in cui aiutiamo iclienti ad innovare ad essere più produttivi eefficaci. Con un approccio end to end dimetodologie, architetture e infrastrutture - cultura che viene dall’Agile, e dalleoperations.- erogazione di progetti, corsi, workshop,training on the job, coaching...

Page 3: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

NoOps (Devops)Netflix is a developer oriented culture, from the top down. I sometimes

have to remind people that our CEO Reed Hastings was the founderand initial developer of Purify

As the developer organization started to figure out cloud technologies and build a platform to support running Netflix on AWS, we transferred a few ITops staff into a developer team that formed the core of our DevOps function. They build the Linux basedbase AMI (Amazon Machine Image) and after a long discussion we decided to leverage developer oriented tools such as

Perforce for version control, Ivy for dependencies, Jenkins to automate the build process, Artifactory as the binary repositoryand to construct a "bakery" that produces complete AMIs that contain all the code for a service. Along with AWS AutoscaleGroups this ensured that every instance of a service would be totally identical. Notice that we didn't use the typical DevOpstools Puppet or Chef to create builds at runtime.

They never have to have a meeting with ITops, or file a ticket asking someone from ITops to make a change to a production system,or request extra capacity in advance. They use a web based portal to deploy hundreds of new instances running their newcode alongside the old code, put one "canary" instance into traffic, if it looks good the developer flips all the traffic to thenew code. If there are any problems they flip the traffic back to the previous version (in seconds) and if it's all running fine,some time later the old instances are automatically removed. This is part of what we call NoOps.

Page 4: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Are you netflix?● DevOps is only for Startups

● E noi non lo siamo, abbiamo e avremo tante applicazioi legacy...

● DevOps Replaces Agile

● Adesso che abbiamo appena trovato uno scrum master bravo che sa sviluppare bene...

● DevOps is incompatible with ITIL

● Dopo tutti gli investimenti fatti nel creare processi e documentazioni e corsi e certificazioni

● DevOps is incompatible with information Security and Compliance

● l’Anarchia non è nel mio business

● DEVops means eliminating IT operations (NoOPS)

● E chi mi mantiene i sistemi up and running?

● DevOps is just “Infrastructure as a Code” or Automation (or tools)

● Quindi potrei solo comprare un bel tool...

● DevOps is only for opensource software

● Ma io non ho solo opensource… anzi...

Page 5: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Are you netflix?

Jeffrey Immelt (CEO GE) “Every industry and company that is not bringing software to the core of theirbusiness will be disrupted”

Christopher Little “Every company is a Tech Company […] a Bank is just an IT company with bankinglicense”

Inspirations

Page 6: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Digital industrial revolution: Stiamo Creando valore?

Necessità di aumentare il time to market, di contenere i costi e aumentare ilmarket share, la retention...l’idea di business prima di essere “sperimentata” deve attraversare diversi tool diticketing, tools di project management, documenti di specifiche dettagliati e poiriassunti in slide e presentati, meeting, virtual meeting, confcall, richieste diapprovazione, creazione scenari, checklist, knowledge transfer, manuali,condifisione di documenti e filesharing, email, wiki, cataloghi di servizio, processida manutenere…… producendo code di attività dove si aspetta e si spreca tempo, se i team nonsono dedicati ma condivisi (come spesso capita) tutto è elevato all’ennesimapotenza...

Inspirations

Ward Cunningham

Page 7: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Siete netflix? Assunzioni

● Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e bendescritto di requirements

● Durante lo sviluppo le change ai requirement saranno abbastanza ridotte (in numero etipologia) da essere gestite correttamente

● Con una corretta pianificazione il risultato del sistema (l’integrazione delle componenti) èpredittibile

● Grazie ad una pianificazione corretta e alla conoscenza di requirements, risorse richiestesappiamo per certo quando consegneremo (faremo tutto bene e al primo tentativo)

Inspirations

Page 8: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Siete netflix? Stato dell’arte

●Test (UAT, IT, Security ) si fanno alla fine●E’ necessario un workaround subito e poi successivamente rivedremo l’architettura

(problem)●Per accelerare metteremo più sviluppatori●E’ normale attendere per avere ambienti di test (con dataset di test) e di sviluppo●E’ normale che I deploy in produzione siano quasi-totalemente manuali●Abbiamo architetture complesse ed è necessario creare un comitato per capire se si

può fare una change e l’impatto●Abbiamo creato checklist e best practicies, ma sono incomplete, abbiamo

docuementato tutto ma è obsoleto●L’approvazione finale deve essere fatta dal business

Inspirations

Page 9: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Contesto e best practicies

Netflix is a developer oriented culture

RUN THE BUSINESS

Systems Of RecordBrownfield PJ

“Do it Right”Stabilità

CHANGE THE BUSINESS

Systems of DifferentiationSystems of Innovation(Sperimentare e testare IDEE diBusiness)System of EngagementGreenfield PJ

“Do It FAST”Cambiamento

BI-MODAL IT – TWO SPEED IT

Inspirations

Page 10: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Perchè devops

Scenario Tipico:Technology value stream con lead time di 3 mesi (Damon Edwards,”DevOps Kaizen”)

In team con alta autonomia,che operano in architetture modulari procedendo iterativamente ed incrementalmente partendo dai test,integrando il prima possibile, build continue, automatizzando, feddback continui e fare solo quello che serve

Inspirations

Page 11: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Digital industrial revolution e Creare valore

DevOps corrisponde ad un cambiamento nella cultura (IT) focalizzato ad unService Delivery rapido attraverso l’adozione di best practices “Agile” e “Lean”con un approccio olistico e sistemico

DevOps pone l’attenzione sulle persone (e la cultura) ben oltre i tool ed i processi

Per l’implementazione di DevOps sono necessarie nuove tecnologie specialmentetool di automation che si fondano su una sempre maggiore infrastrutturadinamica e “programmabile”

/ Communication/ Collaboration/ Integration/ Automation

Page 12: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Cambio di paradigma

DIGITAL INDUSTRIALREVOLUTION

METHODOLOGY

Architecture

Infrastructure

DevOps, Agile,scrum, XP, Continuous integration,Code review,Continuous delivery,TDD, BDD, TDI…Automation

Microservices, Containers,Infrastructure as a code,

IaaS, PaaS, MSP, immutableInfrastructure, SaaS

Page 13: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

methodology

Development workflow

Continuous Integration

Continuous Delivery

TDD, BDD, TDI

Inspirations

Page 14: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Challenges vs solutions

CHALLENGES SOLUTIONS

/ How to manage multiple differentenvironments (development, testing,production)?

/ Enviroments are usually different andlive on their own

/ Difficult to build/ Difficult to maintain

/ Deployments artifacts and proceduresare usually different betweenenvironments

/ Deployments are manual:/ Error prone/ Big downtimes, / Rollback (if possible) is difficult.

/ What’s the impact of a change?/ How to detects performance problems

before going to production?

/ Have semi identical environments/ Machines, products etc… are cattle

(not pets)/ Infrastructure as Code/ Create environment independent

artifacts/ Automate deployment/ Test as much as possible/ Move from monolithic architectures to

microservices architectures

TOOLS: Machines

/ Self Provisioning (useful for development), / Automatic provisioning (testing, production)

/ Cloud IaaS/ Openstack

/ Machine configurations and base products/ Automatic configuration

/ Ansible, salt, puppet, chef/ Infrastructure as Code

/ Terraform/ Docker, Rocket (appc specification)/ Orchestration tools (kubernetes)/ JENKINS

Page 15: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Devops MODEL

@Gartner

Page 16: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Sorint & opensource

TERRAFORM

“Github will be your AppStore Github will be your resumee”

RedHat Cluster Suite Pacemaker Linux kernel HAProxy libvirt

RedHat JBOSS WildFly Liferay Entando OrientDB

https://www.github.com/sorintlab“Github will be your AppStore Github will be your resumee”

Page 17: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Non sono netflix ma voglio implementare devops!

E’ necessario sperimentare! Adesso!

– Tattica vs Strategia

– Approccio opportunistico

1° progetto

– Deve avere impatto sulla Customer Experience (mobile?Web?social?)

– Scopo contenuto

– Progetto con Business Executives entusiasti

– Senza sostanziale impatto sui sistemi Legacy

TIPS

– ITOPS devono partecipare agli standups

– Dedicate delle lavagne per ogni progetto

– Usate Agile e test driven development

– Accoppiate 1 dev e 1ops nei progetti

Page 18: But You are not NETFLIX. Do you need DevOps? · Siete netflix? Assunzioni Se ci viene dato il tempo necessario per l’analisi si riesce a creare un set consistente e ben descritto

Grazie!

Pluca [email protected]

Direttore Generale/SORINT.lab S.p.A.

Www.sorint.itLinkedin, Twitter, facebook, youtube

#redhatosd