Book description
Much has changed in technology over the past decade. Data is hot, the cloud is ubiquitous, and many organizations need some form of automation. Throughout these transformations, Python has become one of the most popular languages in the world. This practical resource shows you how to use Python for everyday Linux systems administration tasks with today’s most useful DevOps tools, including Docker, Kubernetes, and Terraform.
Learning how to interact and automate with Linux is essential for millions of professionals. Python makes it much easier. With this book, you’ll learn how to develop software and solve problems using containers, as well as how to monitor, instrument, load-test, and operationalize your software. Looking for effective ways to "get stuff done" in Python? This is your guide.
- Python foundations, including a brief introduction to the language
- How to automate text, write command-line tools, and automate the filesystem
- Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing
- Cloud computing, infrastructure as code, Kubernetes, and serverless
- Machine learning operations and data engineering from a DevOps perspective
- Building, deploying, and operationalizing a machine learning project
Publisher resources
Table of contents
- Preface
- 1. Python Essentials for DevOps
- 2. Automating Files and the Filesystem
- 3. Working with the Command Line
- 4. Useful Linux Utilities
- 5. Package Management
- 6. Continuous Integration and Continuous Deployment
- 7. Monitoring and Logging
- 8. Pytest for DevOps
-
9. Cloud Computing
- Cloud Computing Foundations
- Types of Cloud Computing
- Types of Cloud Services
- Infrastructure as Code
- Continuous Delivery
- Virtualization and Containers
- Challenges and Opportunities in Distributed Computing
- Python Concurrency, Performance, and Process Management in the Cloud Era
- Process Management
- Conclusion
- Exercises
- Case Study Questions
-
10. Infrastructure as Code
- A Classification of Infrastructure Automation Tools
- Manual Provisioning
- Automated Infrastructure Provisioning with Terraform
-
Automated Infrastructure Provisioning with Pulumi
- Creating a New Pulumi Python Project for AWS
- Creating Configuration Values for the Staging Stack
- Provisioning an ACM SSL Certificate
- Provisioning a Route 53 Zone and DNS Records
- Provisioning a CloudFront Distribution
- Provisioning a Route 53 DNS Record for the Site URL
- Creating and Deploying a New Stack
- Exercises
-
11. Container Technologies: Docker and Docker Compose
- What Is a Docker Container?
- Creating, Building, Running, and Removing Docker Images and Containers
- Publishing Docker Images to a Docker Registry
- Running a Docker Container with the Same Image on a Different Host
- Running Multiple Docker Containers with Docker Compose
- Porting the docker-compose Services to a New Host and Operating System
- Exercises
-
12. Container Orchestration: Kubernetes
- Short Overview of Kubernetes Concepts
- Using Kompose to Create Kubernetes Manifests from docker-compose.yaml
- Deploying Kubernetes Manifests to a Local Kubernetes Cluster Based on minikube
- Launching a GKE Kubernetes Cluster in GCP with Pulumi
- Deploying the Flask Example Application to GKE
- Installing Prometheus and Grafana Helm Charts
- Destroying the GKE Cluster
- Exercises
- 13. Serverless Technologies
-
14. MLOps and Machine learning Engineering
- What Is Machine Learning?
- Python Machine learning Ecosystem
- Cloud Machine learning Platforms
-
Machine learning Maturity Model
- Machine Learning Key Terminology
- Level 1: Framing, Scope Identification, and Problem Definition
- Level 2: Continuous Delivery of Data
- Level 3: Continuous Delivery of Clean Data
- Level 4: Continuous Delivery of Exploratory Data Analysis
- Level 5: Continuous Delivery of Traditional ML and AutoML
- Level 6: ML Operational Feedback Loop
- Sklearn Flask with Kubernetes and Docker
- Sklearn Flask with Kubernetes and Docker
- Exercises
- Case Study Question
- Learning Assessments
- 15. Data Engineering
- 16. DevOps War Stories and Interviews
- Index
Product information
- Title: Python for DevOps
- Author(s):
- Release date: December 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492057642
You might also like
video
Practical Python for DevOps Engineers LiveLessons
Overview: Practical Python for DevOps Engineers LiveLessons is designed to expand your understanding of concepts and …
book
Hypermodern Python Tooling
Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box …
book
Python Testing with pytest
Do less work when testing your Python code, but be just as expressive, just as elegant, …
book
Python Testing with pytest
Test applications, packages, and libraries large and small with pytest, Python's most powerful testing framework. pytest …