Автор: Moshe Zadka
Издательство: Apress
Год: 2022
Формат: True PDF, ePUB
Страниц: 245
Размер: 10 Mb
Язык: English
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