Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Python for DevOps

You're reading from   Hands-On Python for DevOps Leverage Python's native libraries to streamline your workflow and save time with automation

Arrow left icon
Product type Paperback
Published in Mar 2024
Publisher Packt
ISBN-13 9781835081167
Length 220 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ankur Roy Ankur Roy
Author Profile Icon Ankur Roy
Ankur Roy
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1: Introduction to DevOps and role of Python in DevOps
2. Chapter 1: Introducing DevOps Principles FREE CHAPTER 3. Chapter 2: Talking about Python 4. Chapter 3: The Simplest Ways to Start Using DevOps in Python Immediately 5. Chapter 4: Provisioning Resources 6. Part 2: Sample Implementations of Python in DevOps
7. Chapter 5: Manipulating Resources 8. Chapter 6: Security and DevSecOps with Python 9. Chapter 7: Automating Tasks 10. Chapter 8: Understanding Event-Driven Architecture 11. Chapter 9: Using Python for CI/CD Pipelines 12. Part 3: Let’s Go Further, Let’s Build Bigger
13. Chapter 10: Common DevOps Use Cases in Some of the Biggest Companies in the World 14. Chapter 11: MLOps and DataOps 15. Chapter 12: How Python Integrates with IaC Concepts 16. Chapter 13: The Tools to Take Your DevOps to the Next Level 17. Index 18. Other Books You May Enjoy

Summary

So, that is the chapter, one that was a little more serious than the ones you might have been used to, but this is serious business. IaC is a concept to be taken seriously; it is very powerful and can be the solution to a lot of problems that require the application of DevOps principles.

We initially looked at a very basic application of IaC using Python in SaltStack. It was quite rudimentary but very effective for simple projects. We closed it out by diving into the guts of SaltStack and understanding the logic behind its Python modules.

After that, we looked at the slightly more flexible Ansible and discovered all of the conveniences that it provides as well as the customization possibilities.

Lastly, we looked at Terraform and cdktf, which is used with Python Terraform and resource modules in order to perform Terraform’s resource creation.

All of this has hopefully helped you gain a new perspective on IaC and allowed you to understand its importance in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime