devops, por onde começar
TRANSCRIPT
![Page 1: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/1.jpg)
#DevOps,por onde começar?
SIP - Semana de Informática PitágorasNovembro, 2016
Adriano [email protected]
![Page 2: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/2.jpg)
![Page 3: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/3.jpg)
Para a aplicação que você trabalha atualmentecom qual frequencia é feito deploy em produção?
![Page 4: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/4.jpg)
Várias vezes por dia! Essa é a frequência de deploy das empresas com TI de alta-performance.(Com ajuda das práticas de DevOps)
2016 State of DevOps Report
![Page 5: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/5.jpg)
As TIs de alta-performance fazem deploy de código com frequência
200 vezes maior que as outras.
2016 State of DevOps Report
![Page 6: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/6.jpg)
2016 State of DevOps Report
![Page 7: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/7.jpg)
![Page 8: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/8.jpg)
DevOps é sobre aumentar a frequência de deploys em produção...
![Page 9: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/9.jpg)
A História do movimento DevOps
![Page 10: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/10.jpg)
Conheçam Carla e John
Eles recentemente foram escalados para iniciar a jornada DevOps na empresa.
Eles estão super motivados, mas não
sabem por onde começar.
![Page 11: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/11.jpg)
![Page 12: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/12.jpg)
![Page 13: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/13.jpg)
A convergencia DevOps
● Lean (1980)● Agile (2001)● Continuous Delivery (2006)● A conferencia Velocity (2007)● Agile Infrastructure (2008)● Toyota Kata (2009)● Lean Startup (2011)● Rugged Computing (2011)● Lean UX (2013)
![Page 14: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/14.jpg)
A História do DevOps
2008 2009 2010 2011 2012
Agile Conference 2008
Patrick Debois e Andrew
Shafer discutem sobre
"Infraestrutura Ágil"
![Page 15: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/15.jpg)
A História do DevOps
Agile Conference 2008
Patrick Debois e Andrew
Shafer discutem sobre
"Infraestrutura Ágil"
Velocity 2009
John Allspaw e Paul
Hammond apresentam
"10+ deploys per day: Dev
and Ops collaboration at
Flickr"
2008 2009 2010 2011 2012
![Page 16: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/16.jpg)
Slide de John Allspaw e Paul Hammond apresentam "10+ deploys per day: Dev and Ops collaboration at Flickr"
Culture1) Respect2) Trust3) Healthy attitude about failure4) Avoiding Blame
Practices1) Automated infrastruture2) Shared version control3) One step build and deploy4) Feature flags5) Shared metrics6) IM robots
![Page 17: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/17.jpg)
A História do DevOps
Agile Conference 2008
Patrick Debois e Andrew
Shafer discutem sobre
"Infraestrutura Ágil"
Velocity 2009
John Allspaw e Paul
Hammond apresentam
"10+ deploys per day: Dev
and Ops collaboration at
Flickr"
Primeiro DevOpsDays
Patrick Debois organiza o
primeiro 'DevOpsDays' na
Bélgica
2008 2009 2010 2011 2012
![Page 18: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/18.jpg)
A História do DevOps
Agile Conference 2008
Patrick Debois e Andrew
Shafer discutem sobre
"Infraestrutura Ágil"
Velocity 2009
John Allspaw e Paul
Hammond apresentam
"10+ deploys per day: Dev
and Ops collaboration at
Flickr"
Primeiro DevOpsDays
Patrick Debois organiza o
primeiro 'DevOpsDays' na
Bélgica
DevOpsDays pelo mundo
DevOpsDays se espalham
globalmente. Ferramentas
como Docker, Jenkins,
Puppet, Chef, Vagrant,
LogStash,... ganham
popularidade.
2008 2009 2010 2011 2012
![Page 19: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/19.jpg)
A História do DevOps
Agile Conference 2008
Patrick Debois e Andrew
Shafer discutem sobre
"Infraestrutura Ágil"
Velocity 2009
John Allspaw e Paul
Hammond apresentam
"10+ deploys per day: Dev
and Ops collaboration at
Flickr"
Primeiro DevOpsDays
Patrick Debois organiza o
primeiro 'DevOpsDays' na
Bélgica
DevOpsDays pelo mundo
DevOpsDays se espalham
globalmente. Ferramentas
como Docker, Jenkins,
Puppet, Chef, Vagrant,
LogStash,... ganham
popularidade.
DevOps no Gartner
Gartner preve a explosão
global do DevOps
2008 2009 2010 2011 2012
![Page 20: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/20.jpg)
![Page 21: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/21.jpg)
![Page 22: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/22.jpg)
The Three Ways(The DevOps Handbook)
![Page 23: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/23.jpg)
The First WayPráticas técnicas para o Fluxo
● Crie a fundação do seu pipeline de deploy (Jenkins, CircleCI, Bamboo)
● Habilite um teste automatizado rápido e consistente (xUnit)
● Habilite e pratique integração e testes contínuos (CI/CD)
● Automatize e crie uma arquitetura para releases de baixo risco (Microservices, Feature Flipping)
The DevOps Handbook, IT Revolution Press, 2016
![Page 24: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/24.jpg)
The Second WayPráticas técnicas para o Feedback
● Crie uma fundação de monitoramento para procurar, antecipar e resolver problemas (ELK, Graphite)
● Integre o feedback do usuário no trabalho dos times de produto (Sprint Review)
● Promova o feedback para que Dev e Ops possam fazer deploy com segurança (Retrospective, RTE)
● Promova o feedback para melhorar a qualidade através de revisões e programação em pares (Code Review, Sonar)The DevOps Handbook, IT Revolution Press, 2016
![Page 25: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/25.jpg)
The Third WayPráticas técnicas para o aprendizado eexperimentação contínuos
● Estabeleça uma cultura para um ambiente tão seguro quanto possível (Código de conduta)
● Injete falhas em produção para criar resiliência (Ethical Hacking)
● Reserve tempo para criar melhorias e aprendizados organizacionais (Kaisen)
● Converta as descobertas locais em melhorias globais
The DevOps Handbook, IT Revolution Press, 2016
![Page 26: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/26.jpg)
Pipeline
![Page 27: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/27.jpg)
![Page 28: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/28.jpg)
Dev
![Page 29: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/29.jpg)
Dev
Ops
![Page 30: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/30.jpg)
Dev
Ops
Produção
![Page 31: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/31.jpg)
Produto Desenvolvimento/Teste Release Operação
semanas/meses anos
Ciclo de vida tradicional
![Page 32: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/32.jpg)
Ciclo de vida DevOps
horas/dias/semanas
Dev Ops
![Page 33: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/33.jpg)
Continuous Integration
![Page 34: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/34.jpg)
Continuous Deployment
![Page 35: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/35.jpg)
Ferramentas DevOps
![Page 36: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/36.jpg)
![Page 37: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/37.jpg)
Resumão
● Conheça a história do movimento DevOps● Use o guia de práticas "The DevOps Handbook"● Crie um pipeline automatizado de CI e CD● Adote o ciclo de vida do DevOps● Experimente ferramentas para o seu contexto
![Page 38: DevOps, por onde começar](https://reader034.vdocuments.pub/reader034/viewer/2022042707/58f11fb81a28ab96598b45e9/html5/thumbnails/38.jpg)
"DevOps é um conjunto de práticas destinadas a reduzir o tempo entre efetuar uma mudança em um sistema e a mudança ser colocada em produção, garantindo alta qualidade."
DevOps a Software Architect’s Perspective