DevOps by examples - DevOps@Work 2017

download DevOps by examples - DevOps@Work 2017

of 31

  • date post

    12-Feb-2017
  • Category

    Technology

  • view

    21
  • download

    4

Embed Size (px)

Transcript of DevOps by examples - DevOps@Work 2017

DevOps by examples

1

Esempi di Pipeline e DevOpsGiulio Vianhttp://blog.casavian.eu/giulio.dev@casavian.eu@giulio_vianhttp://www.getlatestversion.it/

2

DevOps by ExamplesGiulio Vianhttp://blog.casavian.eu/giulio.dev@casavian.eu@giulio_vianhttp://www.getlatestversion.it/

3

1990

1992

1999

2014

2010

20161995freelance

2014

2015TFS Aggregator

4

Lultimo progetto cui ho partecipato

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

5

Di che si chiacchiera?DevOps?EsempiUn ambiente per il codiceUna applicazioneIl suo rilascioRiconfigurazioneRiassunto e riferimentiLivello sempliceo avanzato?

6

una figura professionale?

NO!

7

un prodotto?

NO!

8

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)GartnerMicrosoft (Donovan Brown)

http://www.gartner.com/it-glossary/devops/

DevOps is a term used to refer to a set of practices that emphasize the collaboration and communication of both software developers and information technology (IT) professionals while automating the process of software delivery and infrastructure changes. It aims at establishing a culture and environment, where building, testing, and releasing software can happen rapidly, frequently, and more reliably.Wikipedia (2017)9

Evoluzione di Continuous Delivery

Source: Jez Humble 2010

10

La cicciaDove?Infrastructure-as-CodeCosa?Build & PackageCome?Deploy

11

Ambiente di esecuzione

12

Ambiente di esecuzione (alt)Out-of-scope

13

Considerazioni sullambiente di esecuzioneTempi di allestimentoCosti di esercizio

14

Infrastructure-as-CodeAzure Resource ManagerCodiceAutomazione

15

Infrastructure-as-Code ConsiderazioniDeclarativo o ImperativoVersion ControlContinuous IntegrationDinamico o StaticoAzure Resource ManagerDeclarative Json-basedExtensible (script, DSC)Entire infrastructureAWS CloudFormationDeclarative Json-basedDockerNot much declarativeSingle containerAnsible, Puppet, Chef, CFEngine,

16

ApplicazionePagina web con dati da DBAmbienteConfigurazione

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

DeployVSTS Release ManagementAutomazione controllata

SegretiBuild timeSignDeploy timeCredentialsRun timeTokensAvoid exposuresgit push hookStatic analysis.gitignoreCentralized Version ControlDistinct repositoriesAzure Key VaultAWS Key Management Service

Deploy ConsiderazioniCategoriaDev / QA / ProdIntegrato (dinamico)Frequenza di RilascioFeature toggles

Source: Pete Hodgson

http://martinfowler.com/articles/feature-toggles.html21

Configurazione dinamicaFeature toggle

Non abbiamo il tempo di parlare diApplication MonitoringTroubleshootingFeedback loop

Persone

(Photo: DoD)

Automazione(Photo: Alexander Dummer)

Call to action

26

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 moreContinuous 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/

30

Fine delle trasmissioni