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

Automate the automation of IaC with Python

IaC has grown in popularity and in ways that people have never imagined. The most popular IaC framework currently is arguably Terraform. Terraform doesn’t just work on servers and more solid resources of the like, it works on APIs and looser infrastructure as well. Basically, anything that you can use in any major cloud, there is a Terraform API to use it. Terraform is the ultimate automation tool in many ways, and it can be further automated with the help of Python.

Terraform is, of course, written in Go, which is great because Go is a very good complement to Python. One is good where the other lacks and vice versa. While Go is good for singular implementations, Python is great at multiplying the effectiveness of that implementation. Basically, Go is the bullet and Python is the gun, and that is an effective combination. We will use this combination to great effect in this section.

HashiCorp, the creator of Terraform, has created...

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 $19.99/month. Cancel anytime