0%

Take advantage of Python to automate complex systems with readable code. This new edition will help you move from operations/system administration into easy-to-learn coding.

You'll start by writing command-line scripts and automating simple DevOps-style tasks followed by creating reliable and fast unit tests designed to avoid incidents caused by buggy automation. You’ll then move on to more advanced cases, like using Jupyter as an auditable remote-control panel and writing Ansible and Salt extensions.

The updated information in this book covers best practices for deploying and updating Python applications. This includes Docker, modern Python packaging, and internal Python package repositories. You'll also see how to use the AWS API, and the Kubernetes API, and how to automate Docker container image building and running. Finally, you'll work with Terraform from Python to allow more flexible templating and customization of environments.

What You'll Learn
  • Understand operating system automation with Python
  • Package Python applications
  • Use Python as a DevOps console
  • Review Cloud automation with Python
Who This Book Is For

DevOps engineer. Site Reliability Engineer, or similar (including Platform, Production, and Systems), and whose organization uses Python.





Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Installing Python
  4. 2. Packaging
  5. 3. Interactive Usage
  6. 4. OS Automation
  7. 5. Testing
  8. 6. Text Manipulation
  9. 7. HTTPX
  10. 8. Cryptography
  11. 9. Paramiko
  12. 10. SaltStack
  13. 11. Ansible
  14. 12. Containers
  15. 13. Amazon Web Services
  16. 14. Kubernetes
  17. 15. Terraform
  18. Back Matter
3.138.174.95