Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DevOps by examples @ DevOps Heroes 2016

DevOps by examples @ DevOps Heroes 2016

Presentazione tenuta all'evento DevOpsHeroes 2016 del 29 ottobre 2016

Avatar for Giulio Vian

Giulio Vian

October 29, 2016
Tweet

More Decks by Giulio Vian

Other Decks in Programming

Transcript

  1. 2

  2. 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!
  3. DevOps is a culture, movement or practice • Un approccio,

    un movimento, un’abitudine • Non è della tecnologia • Non un prodotto Wikipedia
  4. 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
  5. 0. Persone • Non gente, né risorse • Agile Manifesto

    • Continuous Delivery Source: Jez Humble © 2010
  6. 3. Ambiente di esecuzione • Strati • Sistema Operativo e

    componenti • Rete e servizi accessori • Applicazione • Dati • Tempi di predisposizione • Costi di esecuzione
  7. 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, …
  8. 5. Deploy • Categoria • Dev / Q&A / Prod

    • Rapporto frequenze di rilascio • Feature toggles Source: Pete Hodgson
  9. 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
  10. 8. Feedback loop • Telemetria • Prestazioni • Uso delle

    funzionalità • Application Insights • HockeyApp • ELK (Elasticsearch, Logstash, and Kibana) • Splunk
  11. 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/
  12. 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/