Skip to main content
  • Book
  • © 2019

DevOps in Python

Infrastructure as Python

Apress

Authors:

  • Builds on readers basic familiarity with Python to focus on those parts essential to DevOps?
  • Addresses the growing demand for DevOps specialization among Python developers
  • Based on the author's more than 15 years of experience doing DevOps with Python

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xvi
  2. Installing Python

    • Moshe Zadka
    Pages 1-6
  3. Packaging

    • Moshe Zadka
    Pages 7-27
  4. Interactive Usage

    • Moshe Zadka
    Pages 29-38
  5. OS Automation

    • Moshe Zadka
    Pages 39-50
  6. Testing

    • Moshe Zadka
    Pages 51-70
  7. Text Manipulation

    • Moshe Zadka
    Pages 71-84
  8. Requests

    • Moshe Zadka
    Pages 85-94
  9. Cryptography

    • Moshe Zadka
    Pages 95-110
  10. Paramiko

    • Moshe Zadka
    Pages 111-119
  11. Salt Stack

    • Moshe Zadka
    Pages 121-137
  12. Ansible

    • Moshe Zadka
    Pages 139-145
  13. Docker

    • Moshe Zadka
    Pages 147-150
  14. Amazon Web Services

    • Moshe Zadka
    Pages 151-163
  15. Back Matter

    Pages 165-169

About this book

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.





Reviews

“There is a lot of useful information in this short book. … if you are a Python user looking to get into DevOps, it should prove very useful.” (Eugene Callahan and Yujia Zhang, Computing Reviews, December 23, 2021)

Authors and Affiliations

  • Belmont, USA

    Moshe Zadka

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). 







ted at “Production Engineers”, which is what Facebook calls DevOps. Moshe has been part of the open source community since 1995, made his first core Python contributions in 1998 and is a founding member of the Twisted open source project. He has given tutorials or talks at several recent PyCon conferences and contributed to Expert Twisted (Apress, 2019)


ted at “Production Engineers”, which is what Facebook calls DevOps. Moshe has been part of the open source community since 1995, made his first core Python contributions in 1998 and is a founding member of the Twisted open source project. He has given tutorials or talks at several recent PyCon conferences and contributed to Expert Twisted (Apress, 2019)


Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access