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 ForJunior or intermediate sysadmin who has picked up some bash and Python basics.