Upload
giulio-vian
View
29
Download
4
Embed Size (px)
Citation preview
Esempi di Pipeline e DevOpsGiulio Vian
http://blog.casavian.eu/[email protected]@giulio_vianhttp://www.getlatestversion.it/
DevOps by ExamplesGiulio Vian
http://blog.casavian.eu/[email protected]@giulio_vianhttp://www.getlatestversion.it/
1990
1992 1999 2014
2010 2016
1995
freelance
2014 2015TFS Aggregator
L’ultimo progetto cui ho partecipato
Miss Universe 2016Iris Mittenaere© 2016 IMG Universe, LLC.All Rights Reserved
Di che si chiacchiera?DevOps?Esempi
Un ambiente per il codiceUna applicazioneIl suo rilascioRiconfigurazione
Riassunto e riferimenti
Livello semplice
o avanzato?
È una figura professionale?
NO!
È un prodotto?
NO!
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)
Evoluzione di Continuous Delivery
Source: Jez Humble © 2010
La cicciaDove?
Infrastructure-as-CodeCosa?
Build & PackageCome?
Deploy
Ambiente di esecuzione
Sistema Operativo
Moduli S.O.Servizi locali, Librerie
Applicazione
Rete e Servizi esterni
Dati
Ambiente di esecuzione (alt)
Base container
Custom Container
Applicazione(in container)
Rete e Servizi esterni(e.g. Kubernetes)
Dati
Out-of-scope
Considerazioni sull’ambiente di esecuzioneTempi di allestimentoCosti di esercizio
Infrastructure-as-CodeAzure Resource Manager• Codice• Automazione
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, …
ApplicazionePagina web con dati da DB• Ambiente• Configurazione
Build & Package – ConsiderazioniVersion ControlContinuous IntegrationSemantic VersioningArtifactsImmagini (Docker, AMI, Azure VM images)
DeployVSTS Release Management• Automazione controllata
SegretiBuild time
SignDeploy time
CredentialsRun time
TokensAvoid exposures
git push hookStatic analysis
.gitignoreCentralized Version ControlDistinct repositoriesAzure Key VaultAWS Key Management Service
Deploy – ConsiderazioniCategoria
Dev / QA / ProdIntegrato (dinamico)Frequenza di RilascioFeature toggles
Source: Pete Hodgson
Configurazione dinamicaFeature toggle
Non abbiamo il tempo di parlare diApplication MonitoringTroubleshootingFeedback loop
Persone
(Photo: DoD)
Automazione
(Photo: Alexander Dummer)
Call to action
Question time
Thanks to our Sponsors
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/
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/
Fine delle trasmissioni