devops by examples @ devopsheroes 2016
TRANSCRIPT
![Page 1: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/1.jpg)
1
![Page 2: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/2.jpg)
2
Sponsors & Organizers
getlatestversion.it
![Page 3: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/3.jpg)
DevOps by examplesGiulio Vian
http://blog.casavian.eu/[email protected]@giulio_vianhttp://www.getlatestversion.it/
![Page 4: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/4.jpg)
Qualcosa di personale
Origini Presente
![Page 5: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/5.jpg)
19901992 1999 2014
2010 2015 2016
![Page 6: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/6.jpg)
Di che si parla?• DevOps?• Show me the code• Build di una semplice applicazione• Setup ambiente di esecuzione• Deploy della stessa• Modificare la configurazione
• Ricapitoliamo
100/200-level session!
![Page 7: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/7.jpg)
DevOps is a culture, movement or practice• Un approccio, un movimento, un’abitudine• Non è della tecnologia• Non un prodotto
Wikipedia
![Page 8: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/8.jpg)
DevOps is a culture, movement or practice
Wikipedia
DevOps is a culture, movement or practice 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
![Page 9: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/9.jpg)
0. Persone• Non gente, né risorse• Agile Manifesto• Continuous Delivery
Source: Jez Humble © 2010
![Page 10: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/10.jpg)
1. L’applicazione• Pagina web con dati da DB• Ambiente• Configurazione
![Page 11: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/11.jpg)
Show methe code
![Page 12: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/12.jpg)
2. Build & Package• Version Control• Continuous Integration• Artifacts• Semantic Versioning
![Page 13: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/13.jpg)
Show me
![Page 14: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/14.jpg)
3. Ambiente di esecuzione• Strati• Sistema Operativo e componenti• Rete e servizi accessori• Applicazione• Dati
• Tempi di predisposizione• Costi di esecuzione
![Page 15: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/15.jpg)
4. Infrastructure-as-Code• Dichiarativo o Imperativo• Version Control• Continuous Integration
• Azure Resource Manager• Declarative Json-based• Extensible (script, DSC)• Entire infrastructure
• AWS CloudFormation• Declarative Json-based• Ogni scarrafone…
• Docker• Not much declarative• Single container
• Ansible, Puppet, Chef, CFEngine, …
![Page 16: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/16.jpg)
Show me
![Page 17: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/17.jpg)
5. Deploy• Categoria• Dev / Q&A / Prod
• Rapporto frequenze di rilascio• Feature toggles
Source: Pete Hodgson
![Page 18: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/18.jpg)
Show me
![Page 19: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/19.jpg)
6. Chiavi e segreti• Build time
• Firmare eseguibili e pacchetti• Deploy time
• Credenziali di autenticazione• Run time
• Tokens verso servizi• Come prevenire
• git push hook• Static analysis
• .gitignore• Centralized Version
Control• Distinct repositories• Azure Key Vault• AWS Key Management
Service
![Page 20: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/20.jpg)
7. Monitoring• Locale• Remoto• Aggregare• Filtrare
• Application Insights• HockeyApp
![Page 21: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/21.jpg)
8. Feedback loop• Telemetria• Prestazioni• Uso delle funzionalità
• Application Insights• HockeyApp• ELK (Elasticsearch, Logstash, and
Kibana)• Splunk
![Page 22: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/22.jpg)
9. Persone
© Serge klk
![Page 23: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/23.jpg)
Bibliografia & Riferimenti• http://martinfowler.com/articles/feature-toggles.html• https://leanpub.com/build• https://launchdarkly.com/• http://www.slideshare.net/giuliov/presentations• http://agilemanifesto.org/• https://azure.microsoft.com/en-us/services/application-insights/• https://github.com/tfsaggregator/tfsaggregator• https://github.com/aspnet• https://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 24: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/24.jpg)
Bibliografia & Riferimenti• 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 25: DevOps by examples @ devopsheroes 2016](https://reader035.vdocument.in/reader035/viewer/2022070602/58747b311a28ab4a758b805d/html5/thumbnails/25.jpg)
Fine delle trasmissioni