DevOps in Python: Infrastructure as Python

  • 2h 34m
  • Moshe Zadka
  • Apress
  • 2019

Explore and apply best practices for efficient application deployment. This book draws upon author Moshe Zadka's years of Dev Ops experience and focuses on the parts of Python, and the Python ecosystem, that are relevant for DevOps engineers.

You'll start by writing command-line scripts and automating simple DevOps-style tasks. You'll then move on to more advanced cases, like using Jupyter as an auditable remote-control panel, and writing Ansible and Salt extensions. This work also covers how to use the AWS API to manage cloud infrastructure, and how to manage Python programs and environments on remote machines. Python was invented as a systems management language for distributed operating systems, which makes it an ideal tool for DevOps. Assuming a basic understanding of Python concepts, this book is perfect for engineers who want to move from operations/system administration into coding.

What You'll Learn

  • Use third party packages and create new packages
  • Create operating system management and automation code in Python
  • Write testable code, and testing best practices
  • Work with REST APIs for web clients

Who This Book Is For

Junior or intermediate sysadmin who has picked up some bash and Python basics.

About the Author

Moshe Zadka has been part of the open source community since 1995 and has been involved with DevOps since before the term became mainstream. One of two collaborators in the Facebook bootcamp Python class, he made his first core Python contributions in 1998, and is a founding member of the Twisted open source project. He has also given tutorials and talks at several recent PyCon conferences and contributed to Expert Twisted (Apress, 2019).

In this Book

  • Installing Python
  • Packaging
  • Interactive Usage
  • OS Automation
  • Testing
  • Text Manipulation
  • Requests
  • Cryptography
  • Paramiko
  • Salt Stack
  • Ansible
  • Docker
  • Amazon Web Services


Rating 4.5 of 1044 users Rating 4.5 of 1044 users (1044)
Rating 4.3 of 17 users Rating 4.3 of 17 users (17)