Download - DevOps by examples - DevOps@Work 2017

Transcript
Page 1: DevOps by examples - DevOps@Work 2017
Page 2: DevOps by examples - DevOps@Work 2017

Esempi di Pipeline e DevOpsGiulio Vian

http://blog.casavian.eu/[email protected]@giulio_vianhttp://www.getlatestversion.it/

Page 3: DevOps by examples - DevOps@Work 2017

DevOps by ExamplesGiulio Vian

http://blog.casavian.eu/[email protected]@giulio_vianhttp://www.getlatestversion.it/

Page 4: DevOps by examples - DevOps@Work 2017

1990

1992 1999 2014

2010 2016

1995

freelance

2014 2015TFS Aggregator

Page 5: DevOps by examples - DevOps@Work 2017

L’ultimo progetto cui ho partecipato

Miss Universe 2016Iris Mittenaere© 2016 IMG Universe, LLC.All Rights Reserved

Page 6: DevOps by examples - DevOps@Work 2017

Di che si chiacchiera?DevOps?Esempi

Un ambiente per il codiceUna applicazioneIl suo rilascioRiconfigurazione

Riassunto e riferimenti

Livello semplice

o avanzato?

Page 7: DevOps by examples - DevOps@Work 2017

È una figura professionale?

NO!

Page 8: DevOps by examples - DevOps@Work 2017

È un prodotto?

NO!

Page 9: DevOps by examples - DevOps@Work 2017

DevOps is a culture, movement or practiceDevOps is a term used to refer to a set of practices that emphasizes the collaboration and communication of both software developers and other information-technology (IT) professionals while automating the process of software delivery and infrastructure changes.DevOps represents a change in IT culture, focusing on rapid IT service delivery through the adoption of agile, lean practices in the context of a system-oriented approach. DevOps emphasizes people (and culture), and seeks to improve collaboration between operations and development teams. DevOps implementations utilize technology — especially automation tools that can leverage an increasingly programmable and dynamic infrastructure from a life cycle perspective.

DevOps is the union of people, process, and products to enable continuous delivery of value to our end users.

Wikipedia (2017)

Gartner

Microsoft (Donovan Brown)

Page 10: DevOps by examples - DevOps@Work 2017

Evoluzione di Continuous Delivery

Source: Jez Humble © 2010

Page 11: DevOps by examples - DevOps@Work 2017

La cicciaDove?

Infrastructure-as-CodeCosa?

Build & PackageCome?

Deploy

Page 12: DevOps by examples - DevOps@Work 2017

Ambiente di esecuzione

Sistema Operativo

Moduli S.O.Servizi locali, Librerie

Applicazione

Rete e Servizi esterni

Dati

Page 13: DevOps by examples - DevOps@Work 2017

Ambiente di esecuzione (alt)

Base container

Custom Container

Applicazione(in container)

Rete e Servizi esterni(e.g. Kubernetes)

Dati

Out-of-scope

Page 14: DevOps by examples - DevOps@Work 2017

Considerazioni sull’ambiente di esecuzioneTempi di allestimentoCosti di esercizio

Page 15: DevOps by examples - DevOps@Work 2017

Infrastructure-as-CodeAzure Resource Manager• Codice• Automazione

Page 16: DevOps by examples - DevOps@Work 2017

Infrastructure-as-Code – ConsiderazioniDeclarativo o ImperativoVersion ControlContinuous IntegrationDinamico o Statico

Azure Resource ManagerDeclarative Json-basedExtensible (script, DSC)Entire infrastructure

AWS CloudFormationDeclarative Json-based

DockerNot much declarativeSingle container

Ansible, Puppet, Chef, CFEngine, …

Page 17: DevOps by examples - DevOps@Work 2017

ApplicazionePagina web con dati da DB• Ambiente• Configurazione

Page 18: DevOps by examples - DevOps@Work 2017

Build & Package – ConsiderazioniVersion ControlContinuous IntegrationSemantic VersioningArtifactsImmagini (Docker, AMI, Azure VM images)

Page 19: DevOps by examples - DevOps@Work 2017

DeployVSTS Release Management• Automazione controllata

Page 20: DevOps by examples - DevOps@Work 2017

SegretiBuild time

SignDeploy time

CredentialsRun time

TokensAvoid exposures

git push hookStatic analysis

.gitignoreCentralized Version ControlDistinct repositoriesAzure Key VaultAWS Key Management Service

Page 21: DevOps by examples - DevOps@Work 2017

Deploy – ConsiderazioniCategoria

Dev / QA / ProdIntegrato (dinamico)Frequenza di RilascioFeature toggles

Source: Pete Hodgson

Page 22: DevOps by examples - DevOps@Work 2017

Configurazione dinamicaFeature toggle

Page 23: DevOps by examples - DevOps@Work 2017

Non abbiamo il tempo di parlare diApplication MonitoringTroubleshootingFeedback loop

Page 24: DevOps by examples - DevOps@Work 2017

Persone

(Photo: DoD)

Page 25: DevOps by examples - DevOps@Work 2017

Automazione

(Photo: Alexander Dummer)

Page 26: DevOps by examples - DevOps@Work 2017

Call to action

Page 27: DevOps by examples - DevOps@Work 2017

Question time

Page 28: DevOps by examples - DevOps@Work 2017

Thanks to our Sponsors

Page 29: DevOps by examples - DevOps@Work 2017

Bibliografia & Riferimentihttp://martinfowler.com/articles/feature-toggles.htmlhttps://leanpub.com/buildhttps://launchdarkly.com/http://www.slideshare.net/giuliov/presentationshttp://agilemanifesto.org/https://azure.microsoft.com/en-us/services/application-insights/https://github.com/tfsaggregator/tfsaggregatorhttps://github.com/aspnethttps://azure.microsoft.com/en-us/services/key-vault/https://aws.amazon.com/kms/https://blogs.msdn.microsoft.com/buckh/2016/09/30/controlling-exposure-through-feature-flags-in-vs-team-services/

Page 30: DevOps by examples - DevOps@Work 2017

To know more

Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation — J.Humble, D.Farley (Addison-Wesley)

https://www.amazon.it/Continuous-Delivery/dp/0321601912/

Continuous Delivery with Visual Studio ALM 2015 — M.Olausson, J.Ehn (Apress)

http://www.amazon.it/Continuous-Delivery-Visual-Studio-2015/dp/1484212738/

Page 31: DevOps by examples - DevOps@Work 2017

Fine delle trasmissioni