Optimize your software development lifecycle with DevOps! In this project-driven, practical guide, DevOps expert Sujeevan Vijayakumaran will teach you all you need to know about this methodology. Walk through each phase of an IT project-from planning and coding to deployment and monitoring-to see how DevOps tools and techniques help streamline modern application development. Witness the trials of an example company to understand how a DevOps work culture creates calm out of chaos-and use the lessons learned to implement DevOps in your own organization.
Highlights include:
1) CALMS framework
2) Project management
3) Code collaboration
4) Continuous integration and continuous delivery
5) Quality assurance
6) Testing
7) Operations
8) Monitoring
9) Security
10) GitHub
11) GitLab
Highlights:
- CALMS framework
- Project management
- Code collaboration
- Continuous integration and continuous delivery
- Quality assurance
- Testing
- Operations
- Monitoring
- Security
- GitHub
- GitLab
- Jenkins
Inhaltsverzeichnis
1 . . . Introduction . . . 15
1. 1 . . . Culture . . . 16
1. 2 . . . Technology . . . 17
1. 3 . . . My Path to DevOps and to This Book . . . 17
1. 4 . . . Target Audience . . . 19
1. 5 . . . The Structure of the Book . . . 20
1. 6 . . . Feedback . . . 20
1. 7 . . . Thank You! . . . 21
2 . . . What Is DevOps? . . . 23
2. 1 . . . DevOps: The Big Picture . . . 23
2. 2 . . . Misunderstandings about DevOps . . . 36
2. 3 . . . The DevOps Software Development Lifecycle . . . 42
2. 4 . . . Summary . . . 45
3 . . . The Example Company . . . 47
3. 1 . . . nicely-dressed. com . . . 48
3. 2 . . . The Development Model . . . 48
3. 3 . . . The Business Team: Requirements Analysis . . . 49
3. 4 . . . The Architecture Team: Design of the Application . . . 50
3. 5 . . . The Development Teams . . . 50
3. 6 . . . The Quality Assurance Team . . . 52
3. 7 . . . The Operations Team: The Ops in DevOps . . . 53
3. 8 . . . The Infrastructure Team . . . 56
3. 9 . . . The Security Team . . . 57
3. 10 . . . Summary . . . 58
4 . . . Project Management and Planning . . . 61
4. 1 . . . The First Steps: The Agile Mindset . . . 61
4. 2 . . . Project Management for Everyone? . . . 64
4. 3 . . . Summary . . . 72
5 . . . Collaboration when Coding . . . 73
5. 1 . . . Typical Problems with Managing the Source Code . . . 73
5. 2 . . . Improve the Organization of the Code . . . 81
5. 3 . . . There Is No Way around Git . . . 83
5. 4 . . . Code Reviews and Pair Programming . . . 91
5. 5 . . . Inner Sourcing: Sharing Code within the Company . . . 102
5. 6 . . . Summary . . . 111
6 . . . Continuous Integration and the Build Process . . . 113
6. 1 . . . Typical Problems in the Build Process . . . 113
6. 2 . . . Modern Build Management . . . 119
6. 3 . . . Continuous Integration . . . 122
6. 4 . . . The Continuous Integration Server and the Pipelines . . . 126
6. 5 . . . Efficient Pipeline Authoring . . . 132
6. 6 . . . Overview of Continuous Integration Servers . . . 134
6. 7 . . . Summary . . . 152
7 . . . Quality Assurance . . . 153
7. 1 . . . Typical Problems with Testing . . . 153
7. 2 . . . Testing as Part of the DevOps Process . . . 158
7. 3 . . . Summary . . . 171
8 . . . Continuous Delivery and Deployment . . . 173
8. 1 . . . Typical Release Management Problems . . . 173
8. 2 . . . Implementing Continuous Delivery and Deployment . . . 179
8. 3 . . . Build Management for Deployments . . . 191
8. 4 . . . Rollbacks, Canaries, and Feature Flags . . . 198
8. 5 . . . Deployment Targets . . . 205
8. 6 . . . Summary . . . 219
9 . . . Operating the Service . . . 221
9. 1 . . . Typical Problems with Operating Services . . . 221
9. 2 . . . Breaking Up the Highly Coupled Infrastructure Architecture . . . 226
9. 3 . . . Cloud Computing . . . 233
9. 4 . . . Stronger Collaboration between Development and Operations . . . 243
9. 5 . . . Configuration Management: Everything as Code . . . 249
9. 6 . . . Chaos Engineering . . . 258
9. 7 . . . Reliability Engineering . . . 262
9. 8 . . . Summary . . . 265
10 . . . From Monitoring to Observability . . . 267
10. 1 . . . No Visibility at nicely-dressed. com . . . 268
10. 2 . . . With Insight Comes Foresight . . . 275
10. 3 . . . Tools for Monitoring, Observability, and Tracing . . . 282
10. 4 . . . Availability . . . 300
10. 5 . . . Summary . . . 304
11 . . . Security and Compliance . . . 307
11. 1 . . . Security Disrupts the Agile Waterfall . . . 308
11. 2 . . . DevOps with a Separate Security Team . . . 310
11. 3 . . . DevSecOps: Building Security into DevOps . . . 314
11. 4 . . . Tools for Higher Security . . . 321
11. 5 . . . Supply Chain Security . . . 329
11. 6 . . . Compliance . . . 335
11. 7 . . . Summary . . . 345
12 . . . Successfully Implementing the DevOps Transformation . . . 347
12. 1 . . . Introducing a DevOps Culture . . . 347
12. 2 . . . Making DevOps Success Measurable with DORA Metrics . . . 362
12. 3 . . . Value Stream Mapping . . . 368
12. 4 . . . Summary . . . 375
13 . . . DevOps Platforms . . . 377
13. 1 . . . Toolchain Complexity . . . 378
13. 2 . . . DevOps Platforms at a Glance . . . 384
13. 3 . . . Summary . . . 387
14 . . . Beyond Culture and Tools . . . 389
14. 1 . . . The Role of AI in DevOps . . . 389
14. 2 . . . DataOps, MLOps, and AIOps . . . 397
14. 3 . . . DevOps as a Job . . . 399
14. 4 . . . Summary . . . 410
. . . Appendices . . . 411
. . . The Author . . . 411
. . . Index . . . 413